Initializing AMReX (v2024-42-g7437aa17d36f)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-42-g7437aa17d36f) initialized Starting run at 11:28:51 UTC on 2024-03-28. Successfully read inputs file ... Castro git describe: 24.03-37-g6b90dd1c0 AMReX git describe: v2024-42-g7437aa17d Microphysics git describe: 24.03-23-g3112c13a 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.044013017 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024488409 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.068978356 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.069379468 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.070253392 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.06872008 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.061000217 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.059771482 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.06674758 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.068938302 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.062300442 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.062923504 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.062933333 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.042913137 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024205455 seconds Ending run at 11:28:52 UTC on 2024-03-28. Run time = 0.909261848 Run time without initialization = 0.789728397 Average number of zones advanced per microsecond: 3.319 Average number of zones advanced per microsecond per rank: 3.319 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9093 ... 0.9093 ... 0.9093 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2920 0.2920 0.2920 32.12% VisMF::Write(FabArray) 11 0.1853 0.1853 0.1853 20.37% MLCellLinOp::applyBC() 4298 0.07874 0.07874 0.07874 8.66% MLPoisson::Fsmooth() 3240 0.03244 0.03244 0.03244 3.57% FillBoundary_nowait() 3893 0.03068 0.03068 0.03068 3.37% StateData::FillBoundary(geom) 328 0.02651 0.02651 0.02651 2.92% amrex::Dot() 1100 0.02044 0.02044 0.02044 2.25% FabArray::norminf() 1048 0.0191 0.0191 0.0191 2.10% Castro::normalize_species() 62 0.01893 0.01893 0.01893 2.08% Castro::computeTemp() 63 0.01498 0.01498 0.01498 1.65% FabArray::ParallelCopy_nowait() 851 0.01327 0.01327 0.01327 1.46% FabArray::setVal() 1054 0.01317 0.01317 0.01317 1.45% FabArray::Saxpy() 1353 0.01264 0.01264 0.01264 1.39% StateDataPhysBCFunct::() 41 0.01119 0.01119 0.01119 1.23% amrex::Copy() 469 0.01082 0.01082 0.01082 1.19% Castro::enforce_min_density() 62 0.01055 0.01055 0.01055 1.16% MLCellLinOp::defineAuxData() 11 0.01029 0.01029 0.01029 1.13% MLPoisson::Fapply() 1047 0.009896 0.009896 0.009896 1.09% Gravity::fill_multipole_BCs() 11 0.009342 0.009342 0.009342 1.03% FabArray::Xpay() 730 0.007619 0.007619 0.007619 0.84% Amr::checkPoint() 3 0.007445 0.007445 0.007445 0.82% MLMG::addInterpCorrection() 405 0.006815 0.006815 0.006815 0.75% Castro::estTimeStep() 21 0.006045 0.006045 0.006045 0.66% amrex::average_down 405 0.005993 0.005993 0.005993 0.66% Castro::reset_internal_energy(MultiFab) 63 0.005283 0.005283 0.005283 0.58% BndryData::define() 11 0.00388 0.00388 0.00388 0.43% amrex::Add() 81 0.003593 0.003593 0.003593 0.40% Castro::construct_new_gravity_source() 10 0.003482 0.003482 0.003482 0.38% Castro::construct_old_gravity_source() 10 0.002991 0.002991 0.002991 0.33% Castro::enforce_speed_limit() 62 0.002548 0.002548 0.002548 0.28% Amr::writePlotFile() 2 0.002193 0.002193 0.002193 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001804 0.001804 0.001804 0.20% check_for_negative_density() 10 0.001647 0.001647 0.001647 0.18% Castro::reset_internal_energy(Fab) 504 0.001639 0.001639 0.001639 0.18% MLCellLinOp::setLevelBC() 11 0.001542 0.001542 0.001542 0.17% MLCGSolver::bicgstab 81 0.001537 0.001537 0.001537 0.17% Gravity::actual_solve_with_mlmg() 11 0.001527 0.001527 0.001527 0.17% Castro::initData() 1 0.001442 0.001442 0.001442 0.16% FabArray::mult() 43 0.001382 0.001382 0.001382 0.15% FabArray::setDomainBndry() 41 0.001357 0.001357 0.001357 0.15% MLCellLinOp::prepareForSolve() 11 0.001307 0.001307 0.001307 0.14% MultiFab::contains_nan() 20 0.001258 0.001258 0.001258 0.14% MLCellLinOp::smooth() 1620 0.001125 0.001125 0.001125 0.12% MLCellLinOp::compGrad() 11 0.001054 0.001054 0.001054 0.12% MLMG::prepareForSolve() 11 0.0009416 0.0009416 0.0009416 0.10% FabArray::FillBoundary() 3893 0.0007916 0.0007916 0.0007916 0.09% FabArrayBase::getCPC() 1313 0.0007885 0.0007885 0.0007885 0.09% FabArrayBase::CPC::define() 454 0.0006544 0.0006544 0.0006544 0.07% FabArrayBase::getFB() 3893 0.0006245 0.0006245 0.0006245 0.07% Gravity::get_new_grav_vector() 11 0.000609 0.000609 0.000609 0.07% Amr::InitAmr() 1 0.0005217 0.0005217 0.0005217 0.06% Gravity::get_old_grav_vector() 10 0.0005024 0.0005024 0.0005024 0.06% AmrLevel::FillPatch() 41 0.0004258 0.0004258 0.0004258 0.05% MLCellLinOp::apply() 1047 0.0004216 0.0004216 0.0004216 0.05% MultiFab::max() 11 0.0003498 0.0003498 0.0003498 0.04% Amr::coarseTimeStep() 10 0.0003272 0.0003272 0.0003272 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003168 0.0003168 0.0003168 0.03% main() 1 0.0003114 0.0003114 0.0003114 0.03% MLCellLinOp::defineBC() 11 0.000255 0.000255 0.000255 0.03% FabArray::ParallelCopy() 851 0.0002534 0.0002534 0.0002534 0.03% FillPatchIterator::Initialize 41 0.0002253 0.0002253 0.0002253 0.02% MLMG::mgVcycle() 81 0.000215 0.000215 0.000215 0.02% Castro::subcycle_advance_ctu() 10 0.0001787 0.0001787 0.0001787 0.02% MLLinOp::defineGrids() 11 0.0001739 0.0001739 0.0001739 0.02% Castro::create_source_corrector() 10 0.0001717 0.0001717 0.0001717 0.02% StateData::checkPoint() 12 0.0001691 0.0001691 0.0001691 0.02% MLCellLinOp::correctionResidual() 405 0.000164 0.000164 0.000164 0.02% Amr::timeStep() 10 0.0001617 0.0001617 0.0001617 0.02% Gravity::update_max_rhs() 11 0.0001429 0.0001429 0.0001429 0.02% Castro::advance() 10 0.0001172 0.0001172 0.0001172 0.01% Gravity::solve_for_phi() 10 0.0001117 0.0001117 0.0001117 0.01% MLMG:computeResOfCorrection() 405 0.0001094 0.0001094 0.0001094 0.01% Castro::Castro() 1 9.174e-05 9.174e-05 9.174e-05 0.01% Castro::initialize_advance() 10 9.073e-05 9.073e-05 9.073e-05 0.01% FabArrayBase::FB::FB() 56 8.746e-05 8.746e-05 8.746e-05 0.01% MLMG::actualBottomSolve() 81 8.285e-05 8.285e-05 8.285e-05 0.01% AmrLevel::checkPoint() 3 7.918e-05 7.918e-05 7.918e-05 0.01% Castro::construct_new_source() 50 7.586e-05 7.586e-05 7.586e-05 0.01% MLMG::solve() 11 7.54e-05 7.54e-05 7.54e-05 0.01% Castro::clean_state() 62 7.357e-05 7.357e-05 7.357e-05 0.01% MLMG::mgVcycle_down::0 81 7.186e-05 7.186e-05 7.186e-05 0.01% Castro::finalize_advance() 10 6.97e-05 6.97e-05 6.97e-05 0.01% Castro::initialize_do_advance() 10 6.908e-05 6.908e-05 6.908e-05 0.01% Castro::enforce_consistent_e() 1 6.715e-05 6.715e-05 6.715e-05 0.01% MLMG::mgVcycle_down::2 81 6.439e-05 6.439e-05 6.439e-05 0.01% MLMG::mgVcycle_down::1 81 6.374e-05 6.374e-05 6.374e-05 0.01% MLMG::mgVcycle_down::4 81 6.128e-05 6.128e-05 6.128e-05 0.01% MLMG::mgVcycle_down::3 81 5.794e-05 5.794e-05 5.794e-05 0.01% MLMG::mgVcycle_up::4 81 5.407e-05 5.407e-05 5.407e-05 0.01% MLMG::oneIter() 81 5.336e-05 5.336e-05 5.336e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.174e-05 5.174e-05 5.174e-05 0.01% MLMG::mgVcycle_up::0 81 4.791e-05 4.791e-05 4.791e-05 0.01% Castro::finalize_do_advance() 10 4.771e-05 4.771e-05 4.771e-05 0.01% Castro::do_new_sources() 10 4.677e-05 4.677e-05 4.677e-05 0.01% MLCellLinOp::solutionResidual() 92 4.639e-05 4.639e-05 4.639e-05 0.01% Castro::do_advance_ctu() 10 4.56e-05 4.56e-05 4.56e-05 0.01% MLMG::mgVcycle_up::3 81 4.536e-05 4.536e-05 4.536e-05 0.00% MLMG::mgVcycle_up::1 81 4.265e-05 4.265e-05 4.265e-05 0.00% MLMG::mgVcycle_up::2 81 4.124e-05 4.124e-05 4.124e-05 0.00% StateData::define() 4 3.84e-05 3.84e-05 3.84e-05 0.00% Castro::swap_state_time_levels() 10 3.778e-05 3.778e-05 3.778e-05 0.00% Amr::defBaseLevel() 1 3.678e-05 3.678e-05 3.678e-05 0.00% FillPatchSingleLevel 41 3.633e-05 3.633e-05 3.633e-05 0.00% Amr::writeSmallPlotFile() 1 3.485e-05 3.485e-05 3.485e-05 0.00% Castro::do_old_sources() 10 3.137e-05 3.137e-05 3.137e-05 0.00% Castro::initMFs() 1 3.069e-05 3.069e-05 3.069e-05 0.00% MLMG::computeResidual() 81 3.069e-05 3.069e-05 3.069e-05 0.00% MLMG::mgVcycle_bottom 81 3.055e-05 3.055e-05 3.055e-05 0.00% MLMG::ResNormInf() 92 2.861e-05 2.861e-05 2.861e-05 0.00% makeSFC 55 2.746e-05 2.746e-05 2.746e-05 0.00% Castro::buildMetrics() 1 2.664e-05 2.664e-05 2.664e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.389e-05 2.389e-05 2.389e-05 0.00% Castro::construct_new_gravity() 10 2.382e-05 2.382e-05 2.382e-05 0.00% MLPoisson::define() 11 2.175e-05 2.175e-05 2.175e-05 0.00% Castro::construct_old_source() 50 2.065e-05 2.065e-05 2.065e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.939e-05 1.939e-05 1.939e-05 0.00% Amr::FinalizeInit() 1 1.891e-05 1.891e-05 1.891e-05 0.00% MLLinOp::define() 11 1.817e-05 1.817e-05 1.817e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.688e-05 1.688e-05 1.688e-05 0.00% DistributionMapping::Distribute() 56 1.657e-05 1.657e-05 1.657e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.414e-05 1.414e-05 1.414e-05 0.00% Castro::computeNewDt() 9 1.373e-05 1.373e-05 1.373e-05 0.00% Castro::apply_source_to_state() 20 1.253e-05 1.253e-05 1.253e-05 0.00% Castro::check_for_nan() 20 1.245e-05 1.245e-05 1.245e-05 0.00% Gravity::swapTimeLevels() 10 1.134e-05 1.134e-05 1.134e-05 0.00% AmrLevel::checkPointPost() 3 9.915e-06 9.915e-06 9.915e-06 0.00% Amr::initSubcycle() 1 9.276e-06 9.276e-06 9.276e-06 0.00% Castro::construct_old_gravity() 10 9.254e-06 9.254e-06 9.254e-06 0.00% MLMG::computeMLResidual() 11 8.829e-06 8.829e-06 8.829e-06 0.00% Castro::post_init() 1 8.47e-06 8.47e-06 8.47e-06 0.00% Gravity::actual_multilevel_solve() 1 8.185e-06 8.185e-06 8.185e-06 0.00% Amr::InitializeInit() 1 8.159e-06 8.159e-06 8.159e-06 0.00% Castro::post_timestep() 10 7.919e-06 7.919e-06 7.919e-06 0.00% MLPoisson::prepareForSolve() 11 7.674e-06 7.674e-06 7.674e-06 0.00% MLMG::getGradSolution() 11 6.526e-06 6.526e-06 6.526e-06 0.00% Castro::expand_state() 10 5.664e-06 5.664e-06 5.664e-06 0.00% Castro::retry_advance_ctu() 10 4.947e-06 4.947e-06 4.947e-06 0.00% Gravity::set_mass_offset() 11 4.289e-06 4.289e-06 4.289e-06 0.00% MLMG::MLRhsNormInf() 11 3.968e-06 3.968e-06 3.968e-06 0.00% MLMG::MLResNormInf() 11 3.61e-06 3.61e-06 3.61e-06 0.00% Castro::FluxRegCrseInit 10 3.261e-06 3.261e-06 3.261e-06 0.00% Castro::computeInitialDt() 2 3.028e-06 3.028e-06 3.028e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.015e-06 3.015e-06 3.015e-06 0.00% Amr::init() 1 2.735e-06 2.735e-06 2.735e-06 0.00% AmrLevel::checkPointPre() 3 2.695e-06 2.695e-06 2.695e-06 0.00% Castro::FluxRegFineAdd() 10 2.283e-06 2.283e-06 2.283e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.976e-06 1.976e-06 1.976e-06 0.00% Castro::post_regrid() 1 1.365e-06 1.365e-06 1.365e-06 0.00% Amr::initialInit() 1 1.029e-06 1.029e-06 1.029e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9093 0.9093 0.9093 100.00% Amr::coarseTimeStep() 10 0.7653 0.7653 0.7653 84.16% Amr::timeStep() 10 0.6587 0.6587 0.6587 72.45% Castro::advance() 10 0.6483 0.6483 0.6483 71.29% Castro::subcycle_advance_ctu() 10 0.6339 0.6339 0.6339 69.71% Castro::do_advance_ctu() 10 0.6337 0.6337 0.6337 69.69% Castro::construct_ctu_hydro_source() 10 0.302 0.302 0.302 33.22% Gravity::solve_phi_with_mlmg() 11 0.2866 0.2866 0.2866 31.52% Gravity::actual_solve_with_mlmg() 11 0.2768 0.2768 0.2768 30.44% Castro::construct_new_gravity() 10 0.2614 0.2614 0.2614 28.75% MLMG::solve() 11 0.255 0.255 0.255 28.04% Gravity::solve_for_phi() 10 0.2456 0.2456 0.2456 27.01% MLMG::oneIter() 81 0.2399 0.2399 0.2399 26.39% MLMG::mgVcycle() 81 0.2363 0.2363 0.2363 25.99% VisMF::Write(FabArray) 11 0.1853 0.1853 0.1853 20.37% Amr::checkPoint() 3 0.1468 0.1468 0.1468 16.15% AmrLevel::checkPoint() 3 0.1394 0.1394 0.1394 15.33% StateData::checkPoint() 12 0.1393 0.1393 0.1393 15.32% MLCellLinOp::smooth() 1620 0.1191 0.1191 0.1191 13.10% Amr::init() 1 0.1189 0.1189 0.1189 13.07% MLCellLinOp::applyBC() 4298 0.1109 0.1109 0.1109 12.20% MLMG::mgVcycle_bottom 81 0.06974 0.06974 0.06974 7.67% MLMG::actualBottomSolve() 81 0.06971 0.06971 0.06971 7.67% MLCGSolver::bicgstab 81 0.06892 0.06892 0.06892 7.58% Castro::clean_state() 62 0.05316 0.05316 0.05316 5.85% Amr::initialInit() 1 0.05022 0.05022 0.05022 5.52% Amr::writePlotFile() 2 0.04885 0.04885 0.04885 5.37% AmrLevel::FillPatch() 41 0.04778 0.04778 0.04778 5.25% Amr::FinalizeInit() 1 0.04521 0.04521 0.04521 4.97% Castro::post_init() 1 0.04372 0.04372 0.04372 4.81% FillPatchIterator::Initialize 41 0.04347 0.04347 0.04347 4.78% FillPatchIterator::FillFromLevel0() 41 0.04189 0.04189 0.04189 4.61% FillPatchSingleLevel 41 0.04184 0.04184 0.04184 4.60% Gravity::multilevel_solve_for_new_phi() 1 0.04144 0.04144 0.04144 4.56% Gravity::actual_multilevel_solve() 1 0.04142 0.04142 0.04142 4.55% StateDataPhysBCFunct::() 41 0.03769 0.03769 0.03769 4.15% MLCellLinOp::apply() 1047 0.03523 0.03523 0.03523 3.87% MLMG::mgVcycle_down::0 81 0.03419 0.03419 0.03419 3.76% MLPoisson::Fsmooth() 3240 0.03244 0.03244 0.03244 3.57% FabArray::FillBoundary() 3893 0.03218 0.03218 0.03218 3.54% FillBoundary_nowait() 3893 0.03139 0.03139 0.03139 3.45% StateData::FillBoundary(geom) 328 0.02651 0.02651 0.02651 2.92% MLMG::mgVcycle_up::0 81 0.02594 0.02594 0.02594 2.85% Castro::computeTemp() 63 0.0219 0.0219 0.0219 2.41% Castro::initialize_do_advance() 10 0.02082 0.02082 0.02082 2.29% amrex::Dot() 1100 0.02044 0.02044 0.02044 2.25% MLMG:computeResOfCorrection() 405 0.01994 0.01994 0.01994 2.19% MLCellLinOp::correctionResidual() 405 0.01983 0.01983 0.01983 2.18% FabArray::norminf() 1048 0.0191 0.0191 0.0191 2.10% Castro::normalize_species() 62 0.01893 0.01893 0.01893 2.08% Castro::do_old_sources() 10 0.01866 0.01866 0.01866 2.05% Gravity::get_new_grav_vector() 11 0.01765 0.01765 0.01765 1.94% MLPoisson::define() 11 0.01713 0.01713 0.01713 1.88% MLMG::mgVcycle_down::1 81 0.01616 0.01616 0.01616 1.78% Castro::construct_old_gravity() 10 0.01557 0.01557 0.01557 1.71% Gravity::get_old_grav_vector() 10 0.01556 0.01556 0.01556 1.71% MLMG::mgVcycle_down::2 81 0.01498 0.01498 0.01498 1.65% MLMG::mgVcycle_down::3 81 0.01462 0.01462 0.01462 1.61% MLMG::mgVcycle_down::4 81 0.01453 0.01453 0.01453 1.60% FabArray::ParallelCopy() 851 0.01434 0.01434 0.01434 1.58% FabArray::ParallelCopy_nowait() 851 0.01408 0.01408 0.01408 1.55% Castro::initialize_advance() 10 0.01363 0.01363 0.01363 1.50% FabArray::setVal() 1054 0.01317 0.01317 0.01317 1.45% FabArray::Saxpy() 1353 0.01264 0.01264 0.01264 1.39% MLCGSolver::ParallelAllReduce 1809 0.01232 0.01232 0.01232 1.35% MLMG::addInterpCorrection() 405 0.01192 0.01192 0.01192 1.31% Castro::do_new_sources() 10 0.01183 0.01183 0.01183 1.30% Castro::expand_state() 10 0.01175 0.01175 0.01175 1.29% MLCellLinOp::defineAuxData() 11 0.01174 0.01174 0.01174 1.29% MLMG::mgVcycle_up::1 81 0.01168 0.01168 0.01168 1.28% MLMG::mgVcycle_up::4 81 0.01162 0.01162 0.01162 1.28% MLMG::mgVcycle_up::2 81 0.01139 0.01139 0.01139 1.25% MLMG::mgVcycle_up::3 81 0.01123 0.01123 0.01123 1.23% amrex::average_down 405 0.01112 0.01112 0.01112 1.22% amrex::Copy() 469 0.01082 0.01082 0.01082 1.19% Castro::enforce_min_density() 62 0.01055 0.01055 0.01055 1.16% Castro::post_timestep() 10 0.01032 0.01032 0.01032 1.14% MLPoisson::Fapply() 1047 0.009896 0.009896 0.009896 1.09% Gravity::fill_multipole_BCs() 11 0.00958 0.00958 0.00958 1.05% FabArray::Xpay() 730 0.007619 0.007619 0.007619 0.84% MLCellLinOp::solutionResidual() 92 0.007542 0.007542 0.007542 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006923 0.006923 0.006923 0.76% MLMG::computeResidual() 81 0.006302 0.006302 0.006302 0.69% Castro::estTimeStep() 21 0.006045 0.006045 0.006045 0.66% MLCellLinOp::defineBC() 11 0.00512 0.00512 0.00512 0.56% MLMG::prepareForSolve() 11 0.005046 0.005046 0.005046 0.55% Amr::InitializeInit() 1 0.005011 0.005011 0.005011 0.55% Amr::defBaseLevel() 1 0.005002 0.005002 0.005002 0.55% BndryData::define() 11 0.004865 0.004865 0.004865 0.53% Castro::initData() 1 0.004315 0.004315 0.004315 0.47% amrex::Add() 81 0.003593 0.003593 0.003593 0.40% Castro::construct_new_source() 50 0.003558 0.003558 0.003558 0.39% Castro::construct_new_gravity_source() 10 0.003482 0.003482 0.003482 0.38% Castro::construct_old_source() 50 0.003011 0.003011 0.003011 0.33% Castro::construct_old_gravity_source() 10 0.002991 0.002991 0.002991 0.33% Castro::computeNewDt() 9 0.002698 0.002698 0.002698 0.30% Castro::enforce_speed_limit() 62 0.002548 0.002548 0.002548 0.28% Castro::finalize_do_advance() 10 0.002424 0.002424 0.002424 0.27% MLMG::ResNormInf() 92 0.002128 0.002128 0.002128 0.23% Castro::apply_source_to_state() 20 0.001883 0.001883 0.001883 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001804 0.001804 0.001804 0.20% check_for_negative_density() 10 0.001647 0.001647 0.001647 0.18% Castro::reset_internal_energy(Fab) 504 0.001639 0.001639 0.001639 0.18% MLMG::getGradSolution() 11 0.00156 0.00156 0.00156 0.17% MLCellLinOp::compGrad() 11 0.001553 0.001553 0.001553 0.17% MLCellLinOp::setLevelBC() 11 0.001542 0.001542 0.001542 0.17% FabArrayBase::getCPC() 1313 0.001443 0.001443 0.001443 0.16% FabArray::mult() 43 0.001382 0.001382 0.001382 0.15% FabArray::setDomainBndry() 41 0.001357 0.001357 0.001357 0.15% MLPoisson::prepareForSolve() 11 0.001315 0.001315 0.001315 0.14% MLCellLinOp::prepareForSolve() 11 0.001307 0.001307 0.001307 0.14% MLMG::computeMLResidual() 11 0.001279 0.001279 0.001279 0.14% Castro::check_for_nan() 20 0.00127 0.00127 0.00127 0.14% MultiFab::contains_nan() 20 0.001258 0.001258 0.001258 0.14% Castro::post_regrid() 1 0.001195 0.001195 0.001195 0.13% Gravity::update_max_rhs() 11 0.001045 0.001045 0.001045 0.11% Castro::computeInitialDt() 2 0.0009872 0.0009872 0.0009872 0.11% FabArrayBase::getFB() 3893 0.000712 0.000712 0.000712 0.08% FabArrayBase::CPC::define() 454 0.0006544 0.0006544 0.0006544 0.07% Castro::finalize_advance() 10 0.0006202 0.0006202 0.0006202 0.07% Castro::Castro() 1 0.0005917 0.0005917 0.0005917 0.07% Amr::InitAmr() 1 0.0005309 0.0005309 0.0005309 0.06% Gravity::swapTimeLevels() 10 0.0004767 0.0004767 0.0004767 0.05% MultiFab::max() 11 0.0003498 0.0003498 0.0003498 0.04% MLMG::MLResNormInf() 11 0.0003232 0.0003232 0.0003232 0.04% Castro::buildMetrics() 1 0.0003007 0.0003007 0.0003007 0.03% MLLinOp::define() 11 0.0002511 0.0002511 0.0002511 0.03% MLLinOp::defineGrids() 11 0.0002329 0.0002329 0.0002329 0.03% MLMG::MLRhsNormInf() 11 0.0002278 0.0002278 0.0002278 0.03% Castro::create_source_corrector() 10 0.0001717 0.0001717 0.0001717 0.02% FabArrayBase::FB::FB() 56 8.746e-05 8.746e-05 8.746e-05 0.01% Castro::enforce_consistent_e() 1 6.715e-05 6.715e-05 6.715e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.702e-05 5.702e-05 5.702e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.528e-05 5.528e-05 5.528e-05 0.01% makeSFC 55 4.288e-05 4.288e-05 4.288e-05 0.00% StateData::define() 4 3.84e-05 3.84e-05 3.84e-05 0.00% Castro::swap_state_time_levels() 10 3.778e-05 3.778e-05 3.778e-05 0.00% Amr::writeSmallPlotFile() 1 3.485e-05 3.485e-05 3.485e-05 0.00% Castro::initMFs() 1 3.069e-05 3.069e-05 3.069e-05 0.00% DistributionMapping::Distribute() 56 1.657e-05 1.657e-05 1.657e-05 0.00% AmrLevel::checkPointPost() 3 9.915e-06 9.915e-06 9.915e-06 0.00% Amr::initSubcycle() 1 9.276e-06 9.276e-06 9.276e-06 0.00% Castro::retry_advance_ctu() 10 4.947e-06 4.947e-06 4.947e-06 0.00% Gravity::set_mass_offset() 11 4.289e-06 4.289e-06 4.289e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.167e-06 4.167e-06 4.167e-06 0.00% Castro::FluxRegCrseInit 10 3.261e-06 3.261e-06 3.261e-06 0.00% AmrLevel::checkPointPre() 3 2.695e-06 2.695e-06 2.695e-06 0.00% Castro::FluxRegFineAdd() 10 2.283e-06 2.283e-06 2.283e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.976e-06 1.976e-06 1.976e-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 5285 KiB 9037 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 1019 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1496 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3449 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 201 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2216 B 2048 KiB Gravity::solve_for_phi() 80 80 552 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 315 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 201 KiB 671 KiB Castro::estTimeStep() 21 21 3235 B 480 KiB VisMF::Write(FabArray) 656 656 3368 B 320 KiB Castro::normalize_species() 62 62 6777 B 320 KiB amrex::average_down 1054 1054 1569 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1133 B 257 KiB amrex::Dot() 1343 1343 3319 B 160 KiB FabArray::norminf() 1129 1129 3240 B 160 KiB check_for_negative_density() 10 10 290 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 59 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3366 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 295 B 9648 B MLCellLinOp::applyBC() 8596 8596 215 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3916 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 355 B 1248 B MLCGSolver::bicgstab 405 405 91 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 634 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 418 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3366 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 295 B 9648 B MLCellLinOp::applyBC() 4298 4298 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3916 B 6144 B Gravity::get_new_grav_vector() 3 3 2903 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 2976 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 287 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 1129 1129 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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 (v2024-42-g7437aa17d36f) finalized Initializing AMReX (v2024-42-g7437aa17d36f)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-42-g7437aa17d36f) initialized Starting run at 11:28:52 UTC on 2024-03-28. Successfully read inputs file ... Castro git describe: 24.03-37-g6b90dd1c0 AMReX git describe: v2024-42-g7437aa17d Microphysics git describe: 24.03-23-g3112c13a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.517628916 Restart time = 0.072463598 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.068461724 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.053950065 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.072566115 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.071432529 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.056358437 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027219151 seconds Ending run at 11:28:53 UTC on 2024-03-28. Run time = 0.423490494 Run time without initialization = 0.350423312 Average number of zones advanced per microsecond: 3.740 Average number of zones advanced per microsecond per rank: 3.740 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4235 ... 0.4235 ... 0.4235 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1331 0.1331 0.1331 31.43% VisMF::Read() 3 0.06122 0.06122 0.06122 14.46% MLCellLinOp::applyBC() 1910 0.03534 0.03534 0.03534 8.34% VisMF::Write(FabArray) 1 0.02444 0.02444 0.02444 5.77% MLPoisson::Fsmooth() 1440 0.0145 0.0145 0.0145 3.42% FillBoundary_nowait() 1730 0.013 0.013 0.013 3.07% StateData::FillBoundary(geom) 160 0.01279 0.01279 0.01279 3.02% Castro::normalize_species() 30 0.0109 0.0109 0.0109 2.57% amrex::Dot() 484 0.00902 0.00902 0.00902 2.13% FabArray::norminf() 465 0.008518 0.008518 0.008518 2.01% Castro::computeTemp() 30 0.006727 0.006727 0.006727 1.59% FabArray::setVal() 501 0.006518 0.006518 0.006518 1.54% FabArray::ParallelCopy_nowait() 380 0.006113 0.006113 0.006113 1.44% FabArray::Saxpy() 597 0.005765 0.005765 0.005765 1.36% MLCellLinOp::defineAuxData() 6 0.005571 0.005571 0.005571 1.32% amrex::Copy() 221 0.005434 0.005434 0.005434 1.28% Gravity::fill_multipole_BCs() 6 0.005092 0.005092 0.005092 1.20% Castro::enforce_min_density() 30 0.005015 0.005015 0.005015 1.18% Amr::restart() 1 0.004917 0.004917 0.004917 1.16% MLPoisson::Fapply() 464 0.004411 0.004411 0.004411 1.04% StateDataPhysBCFunct::() 20 0.004226 0.004226 0.004226 1.00% FabArray::Xpay() 325 0.00342 0.00342 0.00342 0.81% MLMG::addInterpCorrection() 180 0.003099 0.003099 0.003099 0.73% amrex::average_down 180 0.002699 0.002699 0.002699 0.64% Amr::writePlotFile() 1 0.002624 0.002624 0.002624 0.62% Castro::estTimeStep() 10 0.00255 0.00255 0.00255 0.60% BndryData::define() 6 0.002121 0.002121 0.002121 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002019 0.002019 0.002019 0.48% Castro::construct_new_gravity_source() 5 0.001676 0.001676 0.001676 0.40% amrex::Add() 36 0.001549 0.001549 0.001549 0.37% Castro::construct_old_gravity_source() 5 0.001518 0.001518 0.001518 0.36% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009989 0.0009989 0.0009989 0.24% Castro::reset_internal_energy(Fab) 240 0.0009467 0.0009467 0.0009467 0.22% check_for_negative_density() 5 0.0008606 0.0008606 0.0008606 0.20% MLCellLinOp::setLevelBC() 6 0.000855 0.000855 0.000855 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008292 0.0008292 0.0008292 0.20% Castro::finalize_do_advance() 5 0.0008206 0.0008206 0.0008206 0.19% MLCellLinOp::prepareForSolve() 6 0.0007431 0.0007431 0.0007431 0.18% FabArray::mult() 22 0.0007056 0.0007056 0.0007056 0.17% FabArray::setDomainBndry() 20 0.0007007 0.0007007 0.0007007 0.17% MLCGSolver::bicgstab 36 0.0006925 0.0006925 0.0006925 0.16% MultiFab::contains_nan() 10 0.000681 0.000681 0.000681 0.16% Castro::subcycle_advance_ctu() 5 0.0006622 0.0006622 0.0006622 0.16% MLCellLinOp::compGrad() 6 0.0005981 0.0005981 0.0005981 0.14% MLMG::prepareForSolve() 6 0.000552 0.000552 0.000552 0.13% MLCellLinOp::smooth() 720 0.0004974 0.0004974 0.0004974 0.12% Castro::enforce_speed_limit() 30 0.0004626 0.0004626 0.0004626 0.11% Amr::InitAmr() 1 0.0004397 0.0004397 0.0004397 0.10% FabArrayBase::CPC::define() 244 0.0004205 0.0004205 0.0004205 0.10% FabArrayBase::getCPC() 632 0.0003835 0.0003835 0.0003835 0.09% FabArray::FillBoundary() 1730 0.0003439 0.0003439 0.0003439 0.08% Gravity::get_old_grav_vector() 5 0.0002871 0.0002871 0.0002871 0.07% main() 1 0.0002632 0.0002632 0.0002632 0.06% FabArrayBase::getFB() 1730 0.0002595 0.0002595 0.0002595 0.06% Gravity::get_new_grav_vector() 5 0.0002328 0.0002328 0.0002328 0.05% MultiFab::max() 6 0.0002175 0.0002175 0.0002175 0.05% AmrLevel::FillPatch() 20 0.0002063 0.0002063 0.0002063 0.05% MLCellLinOp::apply() 464 0.0001921 0.0001921 0.0001921 0.05% Castro::construct_new_source() 25 0.0001661 0.0001661 0.0001661 0.04% Amr::coarseTimeStep() 5 0.0001606 0.0001606 0.0001606 0.04% MLCellLinOp::defineBC() 6 0.0001464 0.0001464 0.0001464 0.03% MLCGSolver::ParallelAllReduce 798 0.0001412 0.0001412 0.0001412 0.03% FabArray::ParallelCopy() 380 0.0001127 0.0001127 0.0001127 0.03% FillPatchIterator::Initialize 20 0.0001115 0.0001115 0.0001115 0.03% MLLinOp::defineGrids() 6 0.0001059 0.0001059 0.0001059 0.03% Amr::timeStep() 5 8.824e-05 8.824e-05 8.824e-05 0.02% MLMG::mgVcycle() 36 8.378e-05 8.378e-05 8.378e-05 0.02% Castro::create_source_corrector() 5 8.342e-05 8.342e-05 8.342e-05 0.02% Gravity::update_max_rhs() 6 7.511e-05 7.511e-05 7.511e-05 0.02% MLCellLinOp::correctionResidual() 180 7.172e-05 7.172e-05 7.172e-05 0.02% AmrLevel::restart() 1 6.968e-05 6.968e-05 6.968e-05 0.02% StateData::restartDoit() 4 6.958e-05 6.958e-05 6.958e-05 0.02% FabArrayBase::FB::FB() 26 5.835e-05 5.835e-05 5.835e-05 0.01% Castro::advance() 5 5.629e-05 5.629e-05 5.629e-05 0.01% Gravity::solve_for_phi() 5 5.32e-05 5.32e-05 5.32e-05 0.01% Castro::initialize_do_advance() 5 5.158e-05 5.158e-05 5.158e-05 0.01% MLMG:computeResOfCorrection() 180 4.83e-05 4.83e-05 4.83e-05 0.01% Castro::initialize_advance() 5 3.779e-05 3.779e-05 3.779e-05 0.01% MLMG::actualBottomSolve() 36 3.729e-05 3.729e-05 3.729e-05 0.01% Castro::clean_state() 30 3.536e-05 3.536e-05 3.536e-05 0.01% Castro::construct_old_source() 25 3.509e-05 3.509e-05 3.509e-05 0.01% MLMG::mgVcycle_down::0 36 3.296e-05 3.296e-05 3.296e-05 0.01% Castro::finalize_advance() 5 3.238e-05 3.238e-05 3.238e-05 0.01% MLMG::solve() 6 3.222e-05 3.222e-05 3.222e-05 0.01% Amr::writeSmallPlotFile() 1 3.2e-05 3.2e-05 3.2e-05 0.01% MLMG::mgVcycle_down::1 36 3.03e-05 3.03e-05 3.03e-05 0.01% Castro::buildMetrics() 1 2.851e-05 2.851e-05 2.851e-05 0.01% MLMG::mgVcycle_down::2 36 2.82e-05 2.82e-05 2.82e-05 0.01% Castro::post_restart() 1 2.77e-05 2.77e-05 2.77e-05 0.01% Castro::post_timestep() 5 2.752e-05 2.752e-05 2.752e-05 0.01% MLMG::mgVcycle_down::4 36 2.672e-05 2.672e-05 2.672e-05 0.01% MLMG::mgVcycle_up::4 36 2.577e-05 2.577e-05 2.577e-05 0.01% MLMG::mgVcycle_down::3 36 2.573e-05 2.573e-05 2.573e-05 0.01% Castro::swap_state_time_levels() 5 2.53e-05 2.53e-05 2.53e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.439e-05 2.439e-05 2.439e-05 0.01% Castro::do_advance_ctu() 5 2.405e-05 2.405e-05 2.405e-05 0.01% Castro::initMFs() 1 2.388e-05 2.388e-05 2.388e-05 0.01% MLMG::oneIter() 36 2.365e-05 2.365e-05 2.365e-05 0.01% MLMG::mgVcycle_up::0 36 2.159e-05 2.159e-05 2.159e-05 0.01% MLMG::mgVcycle_up::3 36 2.12e-05 2.12e-05 2.12e-05 0.01% MLMG::mgVcycle_up::2 36 2.03e-05 2.03e-05 2.03e-05 0.00% MLCellLinOp::solutionResidual() 42 1.956e-05 1.956e-05 1.956e-05 0.00% MLMG::mgVcycle_up::1 36 1.94e-05 1.94e-05 1.94e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.717e-05 1.717e-05 1.717e-05 0.00% MLMG::ResNormInf() 42 1.689e-05 1.689e-05 1.689e-05 0.00% FillPatchSingleLevel 20 1.593e-05 1.593e-05 1.593e-05 0.00% makeSFC 30 1.59e-05 1.59e-05 1.59e-05 0.00% MLPoisson::define() 6 1.539e-05 1.539e-05 1.539e-05 0.00% MLMG::mgVcycle_bottom 36 1.477e-05 1.477e-05 1.477e-05 0.00% MLMG::computeResidual() 36 1.399e-05 1.399e-05 1.399e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.372e-05 1.372e-05 1.372e-05 0.00% MLLinOp::define() 6 1.268e-05 1.268e-05 1.268e-05 0.00% Castro::construct_new_gravity() 5 1.252e-05 1.252e-05 1.252e-05 0.00% Castro::do_old_sources() 5 1.198e-05 1.198e-05 1.198e-05 0.00% Castro::do_new_sources() 5 1.107e-05 1.107e-05 1.107e-05 0.00% MLMG::getGradSolution() 6 1.042e-05 1.042e-05 1.042e-05 0.00% DistributionMapping::Distribute() 31 9.784e-06 9.784e-06 9.784e-06 0.00% Amr::initSubcycle() 1 9.357e-06 9.357e-06 9.357e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.91e-06 7.91e-06 7.91e-06 0.00% Gravity::actual_multilevel_solve() 1 7.822e-06 7.822e-06 7.822e-06 0.00% Castro::check_for_nan() 10 7.125e-06 7.125e-06 7.125e-06 0.00% Castro::apply_source_to_state() 10 6.496e-06 6.496e-06 6.496e-06 0.00% Castro::construct_old_gravity() 5 4.99e-06 4.99e-06 4.99e-06 0.00% MLMG::computeMLResidual() 6 4.466e-06 4.466e-06 4.466e-06 0.00% Gravity::swapTimeLevels() 5 4.389e-06 4.389e-06 4.389e-06 0.00% MLPoisson::prepareForSolve() 6 4.189e-06 4.189e-06 4.189e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.891e-06 3.891e-06 3.891e-06 0.00% Castro::computeNewDt() 5 3.764e-06 3.764e-06 3.764e-06 0.00% Castro::expand_state() 5 3.182e-06 3.182e-06 3.182e-06 0.00% Castro::retry_advance_ctu() 5 2.815e-06 2.815e-06 2.815e-06 0.00% MLMG::MLResNormInf() 6 2.404e-06 2.404e-06 2.404e-06 0.00% Gravity::set_mass_offset() 6 2.305e-06 2.305e-06 2.305e-06 0.00% MLMG::MLRhsNormInf() 6 2.219e-06 2.219e-06 2.219e-06 0.00% Castro::FluxRegCrseInit 5 1.478e-06 1.478e-06 1.478e-06 0.00% Castro::FluxRegFineAdd() 5 1.168e-06 1.168e-06 1.168e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.089e-06 1.089e-06 1.089e-06 0.00% Amr::init() 1 8.59e-07 8.59e-07 8.59e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4235 0.4235 0.4235 99.99% Amr::coarseTimeStep() 5 0.3229 0.3229 0.3229 76.25% Amr::timeStep() 5 0.3211 0.3211 0.3211 75.82% Castro::advance() 5 0.3168 0.3168 0.3168 74.81% Castro::subcycle_advance_ctu() 5 0.3089 0.3089 0.3089 72.94% Castro::do_advance_ctu() 5 0.3082 0.3082 0.3082 72.78% Castro::construct_ctu_hydro_source() 5 0.1389 0.1389 0.1389 32.80% Castro::construct_new_gravity() 5 0.1337 0.1337 0.1337 31.58% Gravity::solve_phi_with_mlmg() 6 0.1311 0.1311 0.1311 30.96% Gravity::solve_for_phi() 5 0.1259 0.1259 0.1259 29.73% Gravity::actual_solve_with_mlmg() 6 0.1258 0.1258 0.1258 29.70% MLMG::solve() 6 0.1138 0.1138 0.1138 26.87% MLMG::oneIter() 36 0.1062 0.1062 0.1062 25.07% MLMG::mgVcycle() 36 0.1046 0.1046 0.1046 24.70% Amr::init() 1 0.07251 0.07251 0.07251 17.12% Amr::restart() 1 0.07251 0.07251 0.07251 17.12% AmrLevel::restart() 1 0.06159 0.06159 0.06159 14.54% StateData::restartDoit() 4 0.06151 0.06151 0.06151 14.52% VisMF::Read() 3 0.06122 0.06122 0.06122 14.46% MLCellLinOp::smooth() 720 0.05244 0.05244 0.05244 12.38% MLCellLinOp::applyBC() 1910 0.049 0.049 0.049 11.57% MLMG::mgVcycle_bottom 36 0.03101 0.03101 0.03101 7.32% MLMG::actualBottomSolve() 36 0.03099 0.03099 0.03099 7.32% MLCGSolver::bicgstab 36 0.03064 0.03064 0.03064 7.23% Amr::writePlotFile() 1 0.02732 0.02732 0.02732 6.45% Castro::clean_state() 30 0.02611 0.02611 0.02611 6.16% VisMF::Write(FabArray) 1 0.02444 0.02444 0.02444 5.77% AmrLevel::FillPatch() 20 0.02204 0.02204 0.02204 5.20% FillPatchIterator::Initialize 20 0.01992 0.01992 0.01992 4.70% FillPatchIterator::FillFromLevel0() 20 0.01911 0.01911 0.01911 4.51% FillPatchSingleLevel 20 0.01909 0.01909 0.01909 4.51% StateDataPhysBCFunct::() 20 0.01702 0.01702 0.01702 4.02% MLCellLinOp::apply() 464 0.01587 0.01587 0.01587 3.75% MLMG::mgVcycle_down::0 36 0.01503 0.01503 0.01503 3.55% MLPoisson::Fsmooth() 1440 0.0145 0.0145 0.0145 3.42% FabArray::FillBoundary() 1730 0.01366 0.01366 0.01366 3.22% FillBoundary_nowait() 1730 0.01331 0.01331 0.01331 3.14% StateData::FillBoundary(geom) 160 0.01279 0.01279 0.01279 3.02% MLMG::mgVcycle_up::0 36 0.01125 0.01125 0.01125 2.66% Castro::normalize_species() 30 0.0109 0.0109 0.0109 2.57% Castro::initialize_do_advance() 5 0.01005 0.01005 0.01005 2.37% Castro::computeTemp() 30 0.009693 0.009693 0.009693 2.29% MLPoisson::define() 6 0.009404 0.009404 0.009404 2.22% Castro::do_old_sources() 5 0.009129 0.009129 0.009129 2.16% amrex::Dot() 484 0.00902 0.00902 0.00902 2.13% MLMG:computeResOfCorrection() 180 0.008811 0.008811 0.008811 2.08% MLCellLinOp::correctionResidual() 180 0.008763 0.008763 0.008763 2.07% FabArray::norminf() 465 0.008518 0.008518 0.008518 2.01% Gravity::get_new_grav_vector() 5 0.007697 0.007697 0.007697 1.82% Castro::construct_old_gravity() 5 0.007568 0.007568 0.007568 1.79% Gravity::get_old_grav_vector() 5 0.007563 0.007563 0.007563 1.79% Castro::initialize_advance() 5 0.007555 0.007555 0.007555 1.78% MLMG::mgVcycle_down::1 36 0.007301 0.007301 0.007301 1.72% MLMG::mgVcycle_down::2 36 0.006655 0.006655 0.006655 1.57% FabArray::ParallelCopy() 380 0.006629 0.006629 0.006629 1.57% Castro::do_new_sources() 5 0.006612 0.006612 0.006612 1.56% FabArray::setVal() 501 0.006518 0.006518 0.006518 1.54% FabArray::ParallelCopy_nowait() 380 0.006516 0.006516 0.006516 1.54% MLMG::mgVcycle_down::3 36 0.006466 0.006466 0.006466 1.53% MLMG::mgVcycle_down::4 36 0.006417 0.006417 0.006417 1.52% MLCellLinOp::defineAuxData() 6 0.006391 0.006391 0.006391 1.51% Castro::post_restart() 1 0.005818 0.005818 0.005818 1.37% FabArray::Saxpy() 597 0.005765 0.005765 0.005765 1.36% MLCGSolver::ParallelAllReduce 798 0.005458 0.005458 0.005458 1.29% Castro::expand_state() 5 0.005447 0.005447 0.005447 1.29% Gravity::multilevel_solve_for_new_phi() 1 0.005437 0.005437 0.005437 1.28% amrex::Copy() 221 0.005434 0.005434 0.005434 1.28% Gravity::actual_multilevel_solve() 1 0.00542 0.00542 0.00542 1.28% MLMG::addInterpCorrection() 180 0.005372 0.005372 0.005372 1.27% Gravity::fill_multipole_BCs() 6 0.005213 0.005213 0.005213 1.23% MLMG::mgVcycle_up::1 36 0.005204 0.005204 0.005204 1.23% MLMG::mgVcycle_up::4 36 0.005164 0.005164 0.005164 1.22% MLMG::mgVcycle_up::2 36 0.005073 0.005073 0.005073 1.20% Castro::enforce_min_density() 30 0.005015 0.005015 0.005015 1.18% amrex::average_down 180 0.005 0.005 0.005 1.18% MLMG::mgVcycle_up::3 36 0.004966 0.004966 0.004966 1.17% MLPoisson::Fapply() 464 0.004411 0.004411 0.004411 1.04% Castro::post_timestep() 5 0.004196 0.004196 0.004196 0.99% MLCellLinOp::solutionResidual() 42 0.003596 0.003596 0.003596 0.85% FabArray::Xpay() 325 0.00342 0.00342 0.00342 0.81% Castro::reset_internal_energy(MultiFab) 30 0.002966 0.002966 0.002966 0.70% MLMG::prepareForSolve() 6 0.002854 0.002854 0.002854 0.67% MLCellLinOp::defineBC() 6 0.002846 0.002846 0.002846 0.67% MLMG::computeResidual() 36 0.0028 0.0028 0.0028 0.66% BndryData::define() 6 0.0027 0.0027 0.0027 0.64% Castro::estTimeStep() 10 0.00255 0.00255 0.00255 0.60% Castro::construct_new_source() 25 0.001842 0.001842 0.001842 0.43% Castro::finalize_do_advance() 5 0.001729 0.001729 0.001729 0.41% Castro::construct_new_gravity_source() 5 0.001676 0.001676 0.001676 0.40% Castro::computeNewDt() 5 0.001646 0.001646 0.001646 0.39% Castro::construct_old_source() 25 0.001553 0.001553 0.001553 0.37% amrex::Add() 36 0.001549 0.001549 0.001549 0.37% Castro::construct_old_gravity_source() 5 0.001518 0.001518 0.001518 0.36% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009989 0.0009989 0.0009989 0.24% MLMG::ResNormInf() 42 0.0009901 0.0009901 0.0009901 0.23% Castro::apply_source_to_state() 10 0.0009706 0.0009706 0.0009706 0.23% Castro::reset_internal_energy(Fab) 240 0.0009467 0.0009467 0.0009467 0.22% MLMG::getGradSolution() 6 0.000889 0.000889 0.000889 0.21% MLCellLinOp::compGrad() 6 0.0008786 0.0008786 0.0008786 0.21% check_for_negative_density() 5 0.0008606 0.0008606 0.0008606 0.20% MLCellLinOp::setLevelBC() 6 0.000855 0.000855 0.000855 0.20% MLMG::computeMLResidual() 6 0.0008142 0.0008142 0.0008142 0.19% FabArrayBase::getCPC() 632 0.000804 0.000804 0.000804 0.19% MLPoisson::prepareForSolve() 6 0.0007473 0.0007473 0.0007473 0.18% MLCellLinOp::prepareForSolve() 6 0.0007431 0.0007431 0.0007431 0.18% Gravity::update_max_rhs() 6 0.0007372 0.0007372 0.0007372 0.17% FabArray::mult() 22 0.0007056 0.0007056 0.0007056 0.17% FabArray::setDomainBndry() 20 0.0007007 0.0007007 0.0007007 0.17% Castro::check_for_nan() 10 0.0006881 0.0006881 0.0006881 0.16% MultiFab::contains_nan() 10 0.000681 0.000681 0.000681 0.16% Castro::enforce_speed_limit() 30 0.0004626 0.0004626 0.0004626 0.11% Amr::InitAmr() 1 0.000449 0.000449 0.000449 0.11% FabArrayBase::CPC::define() 244 0.0004205 0.0004205 0.0004205 0.10% FabArrayBase::getFB() 1730 0.0003178 0.0003178 0.0003178 0.08% Castro::finalize_advance() 5 0.000306 0.000306 0.000306 0.07% Gravity::swapTimeLevels() 5 0.0002476 0.0002476 0.0002476 0.06% MultiFab::max() 6 0.0002175 0.0002175 0.0002175 0.05% MLMG::MLResNormInf() 6 0.0001949 0.0001949 0.0001949 0.05% Castro::buildMetrics() 1 0.000162 0.000162 0.000162 0.04% MLLinOp::define() 6 0.0001519 0.0001519 0.0001519 0.04% MLLinOp::defineGrids() 6 0.0001392 0.0001392 0.0001392 0.03% MLMG::MLRhsNormInf() 6 0.0001217 0.0001217 0.0001217 0.03% Castro::create_source_corrector() 5 8.342e-05 8.342e-05 8.342e-05 0.02% FabArrayBase::FB::FB() 26 5.835e-05 5.835e-05 5.835e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.217e-05 3.217e-05 3.217e-05 0.01% Amr::writeSmallPlotFile() 1 3.2e-05 3.2e-05 3.2e-05 0.01% Castro::swap_state_time_levels() 5 2.53e-05 2.53e-05 2.53e-05 0.01% makeSFC 30 2.426e-05 2.426e-05 2.426e-05 0.01% Castro::initMFs() 1 2.388e-05 2.388e-05 2.388e-05 0.01% DistributionMapping::Distribute() 31 9.784e-06 9.784e-06 9.784e-06 0.00% Amr::initSubcycle() 1 9.357e-06 9.357e-06 9.357e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.317e-06 5.317e-06 5.317e-06 0.00% Castro::retry_advance_ctu() 5 2.815e-06 2.815e-06 2.815e-06 0.00% Gravity::set_mass_offset() 6 2.305e-06 2.305e-06 2.305e-06 0.00% Castro::FluxRegCrseInit 5 1.478e-06 1.478e-06 1.478e-06 0.00% Castro::FluxRegFineAdd() 5 1.168e-06 1.168e-06 1.168e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.089e-06 1.089e-06 1.089e-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 12 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1013 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1709 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 6376 KiB 14 MiB MLMG::prepareForSolve() 361 361 3298 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 185 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6362 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3452 B 2048 KiB Gravity::solve_for_phi() 40 40 607 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 304 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 195 KiB 671 KiB Castro::estTimeStep() 10 10 2840 B 480 KiB VisMF::Write(FabArray) 112 112 1278 B 320 KiB Castro::normalize_species() 30 30 8382 B 320 KiB amrex::average_down 469 469 1385 B 257 KiB MLMG::addInterpCorrection() 468 468 1094 B 257 KiB amrex::Dot() 592 592 3133 B 160 KiB FabArray::norminf() 501 501 3093 B 160 KiB check_for_negative_density() 5 5 325 B 160 KiB MultiFab::max() 6 6 80 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3194 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 3820 3820 208 B 9344 B amrex::Copy() 56 56 5813 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 34 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 341 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1260 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 160 KiB 3584 KiB VisMF::Read() 24 24 220 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3194 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 1910 1910 206 B 9328 B amrex::Copy() 56 56 5813 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2494 B 3072 B StateData::FillBoundary(geom) 960 960 34 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 792 B 1648 B amrex::average_down 37 37 457 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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 (v2024-42-g7437aa17d36f) finalized