Initializing AMReX (24.02-7-g798ca3356d16)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-7-g798ca3356d16) initialized Starting run at 09:40:27 UTC on 2024-02-09. Successfully read inputs file ... Castro git describe: 24.02-5-gf4cd7a9a0 AMReX git describe: 24.02-7-g798ca3356 Microphysics git describe: 24.02-11-g348ca2f5 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.044804334 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024835015 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.065144478 [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.072462882 [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.075721541 [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.06623696 [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.064740035 [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.045000944 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.052886248 [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.072595331 [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.076032717 [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.065258703 [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.06888933 [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.043772868 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025360426 seconds Ending run at 09:40:28 UTC on 2024-02-09. Run time = 0.920319116 Run time without initialization = 0.794807391 Average number of zones advanced per microsecond: 3.298 Average number of zones advanced per microsecond per rank: 3.298 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9204 ... 0.9204 ... 0.9204 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2943 0.2943 0.2943 31.98% VisMF::Write(FabArray) 11 0.1753 0.1753 0.1753 19.05% MLCellLinOp::applyBC() 4351 0.08252 0.08252 0.08252 8.97% MLPoisson::Fsmooth() 3280 0.03397 0.03397 0.03397 3.69% FillBoundary_nowait() 3941 0.03163 0.03163 0.03163 3.44% StateData::FillBoundary(geom) 328 0.02697 0.02697 0.02697 2.93% amrex::Dot() 1114 0.02171 0.02171 0.02171 2.36% Castro::normalize_species() 62 0.02122 0.02122 0.02122 2.31% FabArray::norminf() 1061 0.02042 0.02042 0.02042 2.22% Castro::computeTemp() 63 0.01722 0.01722 0.01722 1.87% FabArray::ParallelCopy_nowait() 861 0.01378 0.01378 0.01378 1.50% FabArray::setVal() 1062 0.01353 0.01353 0.01353 1.47% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.45% Castro::enforce_min_density() 62 0.01217 0.01217 0.01217 1.32% StateDataPhysBCFunct::() 41 0.01152 0.01152 0.01152 1.25% amrex::Copy() 472 0.01086 0.01086 0.01086 1.18% MLCellLinOp::defineAuxData() 11 0.01067 0.01067 0.01067 1.16% MLPoisson::Fapply() 1060 0.01048 0.01048 0.01048 1.14% Gravity::fill_multipole_BCs() 11 0.009009 0.009009 0.009009 0.98% FabArray::Xpay() 739 0.008052 0.008052 0.008052 0.87% MLMG::addInterpCorrection() 410 0.007093 0.007093 0.007093 0.77% amrex::average_down 410 0.006233 0.006233 0.006233 0.68% Castro::estTimeStep() 21 0.006179 0.006179 0.006179 0.67% Amr::checkPoint() 3 0.005807 0.005807 0.005807 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005365 0.005365 0.005365 0.58% BndryData::define() 11 0.004148 0.004148 0.004148 0.45% amrex::Add() 82 0.00369 0.00369 0.00369 0.40% Castro::construct_new_gravity_source() 10 0.00352 0.00352 0.00352 0.38% Castro::construct_old_gravity_source() 10 0.002938 0.002938 0.002938 0.32% Amr::writePlotFile() 2 0.002141 0.002141 0.002141 0.23% Castro::enforce_speed_limit() 62 0.002014 0.002014 0.002014 0.22% check_for_negative_density() 10 0.0019 0.0019 0.0019 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001831 0.001831 0.001831 0.20% MLCGSolver::bicgstab 82 0.001725 0.001725 0.001725 0.19% MLCellLinOp::setLevelBC() 11 0.001641 0.001641 0.001641 0.18% Castro::reset_internal_energy(Fab) 504 0.001624 0.001624 0.001624 0.18% Gravity::actual_solve_with_mlmg() 11 0.001604 0.001604 0.001604 0.17% Castro::initData() 1 0.001569 0.001569 0.001569 0.17% FabArray::setDomainBndry() 41 0.001385 0.001385 0.001385 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLCellLinOp::prepareForSolve() 11 0.00136 0.00136 0.00136 0.15% MultiFab::contains_nan() 20 0.001314 0.001314 0.001314 0.14% MLCellLinOp::smooth() 1640 0.001174 0.001174 0.001174 0.13% MLCellLinOp::compGrad() 11 0.00111 0.00111 0.00111 0.12% MLMG::prepareForSolve() 11 0.0009993 0.0009993 0.0009993 0.11% FabArray::FillBoundary() 3941 0.0008503 0.0008503 0.0008503 0.09% FabArrayBase::getCPC() 1323 0.0007903 0.0007903 0.0007903 0.09% FabArrayBase::CPC::define() 454 0.0006694 0.0006694 0.0006694 0.07% Gravity::get_new_grav_vector() 11 0.0006306 0.0006306 0.0006306 0.07% FabArrayBase::getFB() 3941 0.0006185 0.0006185 0.0006185 0.07% Amr::InitAmr() 1 0.0005599 0.0005599 0.0005599 0.06% Gravity::get_old_grav_vector() 10 0.0004875 0.0004875 0.0004875 0.05% MLCellLinOp::apply() 1060 0.0004413 0.0004413 0.0004413 0.05% AmrLevel::FillPatch() 41 0.0004095 0.0004095 0.0004095 0.04% Amr::coarseTimeStep() 10 0.0003683 0.0003683 0.0003683 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003618 0.0003618 0.0003618 0.04% MultiFab::max() 11 0.0003356 0.0003356 0.0003356 0.04% main() 1 0.0002989 0.0002989 0.0002989 0.03% MLCellLinOp::defineBC() 11 0.0002972 0.0002972 0.0002972 0.03% FabArray::ParallelCopy() 861 0.0002493 0.0002493 0.0002493 0.03% FillPatchIterator::Initialize 41 0.0002105 0.0002105 0.0002105 0.02% MLMG::mgVcycle() 82 0.000188 0.000188 0.000188 0.02% MLCellLinOp::correctionResidual() 410 0.0001845 0.0001845 0.0001845 0.02% Castro::subcycle_advance_ctu() 10 0.0001811 0.0001811 0.0001811 0.02% Castro::create_source_corrector() 10 0.0001787 0.0001787 0.0001787 0.02% MLLinOp::defineGrids() 11 0.0001721 0.0001721 0.0001721 0.02% Amr::timeStep() 10 0.0001646 0.0001646 0.0001646 0.02% StateData::checkPoint() 12 0.0001342 0.0001342 0.0001342 0.01% Gravity::update_max_rhs() 11 0.0001294 0.0001294 0.0001294 0.01% MLMG:computeResOfCorrection() 410 0.0001243 0.0001243 0.0001243 0.01% Gravity::solve_for_phi() 10 0.0001191 0.0001191 0.0001191 0.01% Castro::advance() 10 9.57e-05 9.57e-05 9.57e-05 0.01% FabArrayBase::FB::FB() 56 9.31e-05 9.31e-05 9.31e-05 0.01% MLMG::actualBottomSolve() 82 9.023e-05 9.023e-05 9.023e-05 0.01% MLMG::mgVcycle_down::0 82 8.862e-05 8.862e-05 8.862e-05 0.01% Castro::Castro() 1 8.718e-05 8.718e-05 8.718e-05 0.01% MLMG::mgVcycle_down::1 82 8.255e-05 8.255e-05 8.255e-05 0.01% MLMG::mgVcycle_down::2 82 7.978e-05 7.978e-05 7.978e-05 0.01% Castro::initialize_advance() 10 7.95e-05 7.95e-05 7.95e-05 0.01% AmrLevel::checkPoint() 3 7.803e-05 7.803e-05 7.803e-05 0.01% MLMG::mgVcycle_down::4 82 7.563e-05 7.563e-05 7.563e-05 0.01% MLMG::mgVcycle_down::3 82 7.307e-05 7.307e-05 7.307e-05 0.01% Castro::clean_state() 62 7.277e-05 7.277e-05 7.277e-05 0.01% Castro::construct_new_source() 50 7.055e-05 7.055e-05 7.055e-05 0.01% MLMG::solve() 11 7.004e-05 7.004e-05 7.004e-05 0.01% Castro::enforce_consistent_e() 1 6.699e-05 6.699e-05 6.699e-05 0.01% Castro::finalize_advance() 10 6.202e-05 6.202e-05 6.202e-05 0.01% MLMG::mgVcycle_up::4 82 6.154e-05 6.154e-05 6.154e-05 0.01% Castro::initialize_do_advance() 10 5.99e-05 5.99e-05 5.99e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.898e-05 5.898e-05 5.898e-05 0.01% MLMG::oneIter() 82 5.284e-05 5.284e-05 5.284e-05 0.01% MLMG::mgVcycle_up::0 82 5.259e-05 5.259e-05 5.259e-05 0.01% MLCellLinOp::solutionResidual() 93 5.238e-05 5.238e-05 5.238e-05 0.01% MLMG::mgVcycle_up::3 82 5.175e-05 5.175e-05 5.175e-05 0.01% Castro::do_new_sources() 10 5.085e-05 5.085e-05 5.085e-05 0.01% Castro::do_advance_ctu() 10 5.007e-05 5.007e-05 5.007e-05 0.01% MLMG::mgVcycle_up::1 82 4.968e-05 4.968e-05 4.968e-05 0.01% MLMG::mgVcycle_up::2 82 4.941e-05 4.941e-05 4.941e-05 0.01% Castro::finalize_do_advance() 10 4.248e-05 4.248e-05 4.248e-05 0.00% Castro::post_timestep() 10 4.232e-05 4.232e-05 4.232e-05 0.00% MLMG::ResNormInf() 93 3.944e-05 3.944e-05 3.944e-05 0.00% FillPatchSingleLevel 41 3.873e-05 3.873e-05 3.873e-05 0.00% StateData::define() 4 3.662e-05 3.662e-05 3.662e-05 0.00% Castro::swap_state_time_levels() 10 3.53e-05 3.53e-05 3.53e-05 0.00% MLMG::mgVcycle_bottom 82 3.391e-05 3.391e-05 3.391e-05 0.00% MLMG::computeResidual() 82 3.378e-05 3.378e-05 3.378e-05 0.00% Amr::writeSmallPlotFile() 1 3.345e-05 3.345e-05 3.345e-05 0.00% Castro::initMFs() 1 3.09e-05 3.09e-05 3.09e-05 0.00% Castro::construct_new_gravity() 10 3.04e-05 3.04e-05 3.04e-05 0.00% Amr::defBaseLevel() 1 2.8e-05 2.8e-05 2.8e-05 0.00% makeSFC 55 2.78e-05 2.78e-05 2.78e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.445e-05 2.445e-05 2.445e-05 0.00% Castro::buildMetrics() 1 2.407e-05 2.407e-05 2.407e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.342e-05 2.342e-05 2.342e-05 0.00% Castro::do_old_sources() 10 2.168e-05 2.168e-05 2.168e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.082e-05 2.082e-05 2.082e-05 0.00% Amr::FinalizeInit() 1 2.051e-05 2.051e-05 2.051e-05 0.00% MLPoisson::define() 11 2.032e-05 2.032e-05 2.032e-05 0.00% Castro::construct_old_source() 50 1.817e-05 1.817e-05 1.817e-05 0.00% DistributionMapping::Distribute() 56 1.752e-05 1.752e-05 1.752e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.403e-05 1.403e-05 1.403e-05 0.00% Castro::check_for_nan() 20 1.322e-05 1.322e-05 1.322e-05 0.00% MLPoisson::prepareForSolve() 11 1.226e-05 1.226e-05 1.226e-05 0.00% Castro::construct_old_gravity() 10 1.169e-05 1.169e-05 1.169e-05 0.00% Castro::apply_source_to_state() 20 1.105e-05 1.105e-05 1.105e-05 0.00% MLLinOp::define() 11 1.091e-05 1.091e-05 1.091e-05 0.00% Gravity::swapTimeLevels() 10 9.878e-06 9.878e-06 9.878e-06 0.00% MLMG::computeMLResidual() 11 9.646e-06 9.646e-06 9.646e-06 0.00% Castro::post_init() 1 9.069e-06 9.069e-06 9.069e-06 0.00% Amr::initSubcycle() 1 8.814e-06 8.814e-06 8.814e-06 0.00% Gravity::actual_multilevel_solve() 1 8.549e-06 8.549e-06 8.549e-06 0.00% MLMG::getGradSolution() 11 6.337e-06 6.337e-06 6.337e-06 0.00% Castro::computeNewDt() 9 5.974e-06 5.974e-06 5.974e-06 0.00% Castro::expand_state() 10 5.834e-06 5.834e-06 5.834e-06 0.00% AmrLevel::checkPointPost() 3 5.515e-06 5.515e-06 5.515e-06 0.00% Amr::InitializeInit() 1 5.017e-06 5.017e-06 5.017e-06 0.00% Castro::retry_advance_ctu() 10 4.519e-06 4.519e-06 4.519e-06 0.00% MLMG::MLRhsNormInf() 11 4.31e-06 4.31e-06 4.31e-06 0.00% Gravity::set_mass_offset() 11 4.091e-06 4.091e-06 4.091e-06 0.00% MLMG::MLResNormInf() 11 3.703e-06 3.703e-06 3.703e-06 0.00% Castro::computeInitialDt() 2 3.67e-06 3.67e-06 3.67e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.363e-06 3.363e-06 3.363e-06 0.00% Castro::FluxRegCrseInit 10 3.086e-06 3.086e-06 3.086e-06 0.00% Castro::FluxRegFineAdd() 10 2.375e-06 2.375e-06 2.375e-06 0.00% AmrLevel::checkPointPre() 3 2.304e-06 2.304e-06 2.304e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.116e-06 2.116e-06 2.116e-06 0.00% Amr::init() 1 2.114e-06 2.114e-06 2.114e-06 0.00% Castro::post_regrid() 1 1.266e-06 1.266e-06 1.266e-06 0.00% Amr::initialInit() 1 9.63e-07 9.63e-07 9.63e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9203 0.9203 0.9203 100.00% Amr::coarseTimeStep() 10 0.7692 0.7692 0.7692 83.58% Amr::timeStep() 10 0.6764 0.6764 0.6764 73.49% Castro::advance() 10 0.6663 0.6663 0.6663 72.39% Castro::subcycle_advance_ctu() 10 0.6516 0.6516 0.6516 70.80% Castro::do_advance_ctu() 10 0.6514 0.6514 0.6514 70.78% Castro::construct_ctu_hydro_source() 10 0.3061 0.3061 0.3061 33.25% Gravity::solve_phi_with_mlmg() 11 0.3001 0.3001 0.3001 32.61% Gravity::actual_solve_with_mlmg() 11 0.2906 0.2906 0.2906 31.58% Castro::construct_new_gravity() 10 0.271 0.271 0.271 29.45% MLMG::solve() 11 0.2679 0.2679 0.2679 29.10% Gravity::solve_for_phi() 10 0.2547 0.2547 0.2547 27.67% MLMG::oneIter() 82 0.2521 0.2521 0.2521 27.39% MLMG::mgVcycle() 82 0.2483 0.2483 0.2483 26.98% VisMF::Write(FabArray) 11 0.1753 0.1753 0.1753 19.05% Amr::checkPoint() 3 0.1337 0.1337 0.1337 14.53% AmrLevel::checkPoint() 3 0.1279 0.1279 0.1279 13.90% StateData::checkPoint() 12 0.1278 0.1278 0.1278 13.89% Amr::init() 1 0.1248 0.1248 0.1248 13.56% MLCellLinOp::smooth() 1640 0.1243 0.1243 0.1243 13.50% MLCellLinOp::applyBC() 4351 0.1157 0.1157 0.1157 12.57% MLMG::mgVcycle_bottom 82 0.07427 0.07427 0.07427 8.07% MLMG::actualBottomSolve() 82 0.07424 0.07424 0.07424 8.07% MLCGSolver::bicgstab 82 0.0734 0.0734 0.0734 7.98% Castro::clean_state() 62 0.05866 0.05866 0.05866 6.37% Amr::initialInit() 1 0.05507 0.05507 0.05507 5.98% Amr::writePlotFile() 2 0.05032 0.05032 0.05032 5.47% Amr::FinalizeInit() 1 0.04967 0.04967 0.04967 5.40% AmrLevel::FillPatch() 41 0.04853 0.04853 0.04853 5.27% Castro::post_init() 1 0.04822 0.04822 0.04822 5.24% Gravity::multilevel_solve_for_new_phi() 1 0.04584 0.04584 0.04584 4.98% Gravity::actual_multilevel_solve() 1 0.04582 0.04582 0.04582 4.98% FillPatchIterator::Initialize 41 0.04424 0.04424 0.04424 4.81% FillPatchIterator::FillFromLevel0() 41 0.04265 0.04265 0.04265 4.63% FillPatchSingleLevel 41 0.04259 0.04259 0.04259 4.63% StateDataPhysBCFunct::() 41 0.03849 0.03849 0.03849 4.18% MLCellLinOp::apply() 1060 0.03701 0.03701 0.03701 4.02% MLMG::mgVcycle_down::0 82 0.03549 0.03549 0.03549 3.86% MLPoisson::Fsmooth() 3280 0.03397 0.03397 0.03397 3.69% FabArray::FillBoundary() 3941 0.03319 0.03319 0.03319 3.61% FillBoundary_nowait() 3941 0.03234 0.03234 0.03234 3.51% StateData::FillBoundary(geom) 328 0.02697 0.02697 0.02697 2.93% MLMG::mgVcycle_up::0 82 0.0267 0.0267 0.0267 2.90% Castro::computeTemp() 63 0.02421 0.02421 0.02421 2.63% Castro::initialize_do_advance() 10 0.02204 0.02204 0.02204 2.39% amrex::Dot() 1114 0.02171 0.02171 0.02171 2.36% Castro::normalize_species() 62 0.02122 0.02122 0.02122 2.31% MLMG:computeResOfCorrection() 410 0.02092 0.02092 0.02092 2.27% MLCellLinOp::correctionResidual() 410 0.02079 0.02079 0.02079 2.26% FabArray::norminf() 1061 0.02042 0.02042 0.02042 2.22% Castro::do_old_sources() 10 0.01924 0.01924 0.01924 2.09% Gravity::get_new_grav_vector() 11 0.01822 0.01822 0.01822 1.98% MLPoisson::define() 11 0.01788 0.01788 0.01788 1.94% MLMG::mgVcycle_down::1 82 0.01695 0.01695 0.01695 1.84% MLMG::mgVcycle_down::2 82 0.01583 0.01583 0.01583 1.72% Castro::construct_old_gravity() 10 0.01552 0.01552 0.01552 1.69% Gravity::get_old_grav_vector() 10 0.01551 0.01551 0.01551 1.69% MLMG::mgVcycle_down::3 82 0.01541 0.01541 0.01541 1.67% MLMG::mgVcycle_down::4 82 0.01529 0.01529 0.01529 1.66% FabArray::ParallelCopy() 861 0.01482 0.01482 0.01482 1.61% FabArray::ParallelCopy_nowait() 861 0.01458 0.01458 0.01458 1.58% Castro::do_new_sources() 10 0.01414 0.01414 0.01414 1.54% Castro::initialize_advance() 10 0.01402 0.01402 0.01402 1.52% FabArray::setVal() 1062 0.01353 0.01353 0.01353 1.47% FabArray::Saxpy() 1370 0.01333 0.01333 0.01333 1.45% MLCGSolver::ParallelAllReduce 1832 0.01308 0.01308 0.01308 1.42% MLMG::addInterpCorrection() 410 0.01243 0.01243 0.01243 1.35% MLMG::mgVcycle_up::1 82 0.01226 0.01226 0.01226 1.33% MLMG::mgVcycle_up::4 82 0.01223 0.01223 0.01223 1.33% Castro::enforce_min_density() 62 0.01217 0.01217 0.01217 1.32% MLCellLinOp::defineAuxData() 11 0.01212 0.01212 0.01212 1.32% Castro::expand_state() 10 0.01203 0.01203 0.01203 1.31% MLMG::mgVcycle_up::2 82 0.01198 0.01198 0.01198 1.30% MLMG::mgVcycle_up::3 82 0.01175 0.01175 0.01175 1.28% amrex::average_down 410 0.01166 0.01166 0.01166 1.27% amrex::Copy() 472 0.01086 0.01086 0.01086 1.18% MLPoisson::Fapply() 1060 0.01048 0.01048 0.01048 1.14% Castro::post_timestep() 10 0.009961 0.009961 0.009961 1.08% Gravity::fill_multipole_BCs() 11 0.009244 0.009244 0.009244 1.00% FabArray::Xpay() 739 0.008052 0.008052 0.008052 0.87% MLCellLinOp::solutionResidual() 93 0.007863 0.007863 0.007863 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006989 0.006989 0.006989 0.76% MLMG::computeResidual() 82 0.006534 0.006534 0.006534 0.71% Castro::estTimeStep() 21 0.006179 0.006179 0.006179 0.67% MLCellLinOp::defineBC() 11 0.005491 0.005491 0.005491 0.60% Amr::InitializeInit() 1 0.005408 0.005408 0.005408 0.59% Amr::defBaseLevel() 1 0.005403 0.005403 0.005403 0.59% MLMG::prepareForSolve() 11 0.005293 0.005293 0.005293 0.58% BndryData::define() 11 0.005194 0.005194 0.005194 0.56% Castro::initData() 1 0.00476 0.00476 0.00476 0.52% amrex::Add() 82 0.00369 0.00369 0.00369 0.40% Castro::construct_new_source() 50 0.003591 0.003591 0.003591 0.39% Castro::construct_new_gravity_source() 10 0.00352 0.00352 0.00352 0.38% Castro::construct_old_source() 50 0.002956 0.002956 0.002956 0.32% Castro::construct_old_gravity_source() 10 0.002938 0.002938 0.002938 0.32% Castro::computeNewDt() 9 0.002758 0.002758 0.002758 0.30% Castro::finalize_do_advance() 10 0.002403 0.002403 0.002403 0.26% MLMG::ResNormInf() 93 0.00227 0.00227 0.00227 0.25% Castro::enforce_speed_limit() 62 0.002014 0.002014 0.002014 0.22% check_for_negative_density() 10 0.0019 0.0019 0.0019 0.21% Castro::apply_source_to_state() 20 0.001871 0.001871 0.001871 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001831 0.001831 0.001831 0.20% MLCellLinOp::setLevelBC() 11 0.001641 0.001641 0.001641 0.18% Castro::reset_internal_energy(Fab) 504 0.001624 0.001624 0.001624 0.18% MLMG::getGradSolution() 11 0.001622 0.001622 0.001622 0.18% MLCellLinOp::compGrad() 11 0.001615 0.001615 0.001615 0.18% FabArrayBase::getCPC() 1323 0.00146 0.00146 0.00146 0.16% FabArray::setDomainBndry() 41 0.001385 0.001385 0.001385 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLMG::computeMLResidual() 11 0.001373 0.001373 0.001373 0.15% MLPoisson::prepareForSolve() 11 0.001372 0.001372 0.001372 0.15% MLCellLinOp::prepareForSolve() 11 0.00136 0.00136 0.00136 0.15% Castro::check_for_nan() 20 0.001327 0.001327 0.001327 0.14% MultiFab::contains_nan() 20 0.001314 0.001314 0.001314 0.14% Castro::post_regrid() 1 0.001144 0.001144 0.001144 0.12% Castro::computeInitialDt() 2 0.001069 0.001069 0.001069 0.12% Gravity::update_max_rhs() 11 0.001 0.001 0.001 0.11% FabArrayBase::getFB() 3941 0.0007116 0.0007116 0.0007116 0.08% FabArrayBase::CPC::define() 454 0.0006694 0.0006694 0.0006694 0.07% Castro::finalize_advance() 10 0.0005927 0.0005927 0.0005927 0.06% Amr::InitAmr() 1 0.0005688 0.0005688 0.0005688 0.06% Castro::Castro() 1 0.0005539 0.0005539 0.0005539 0.06% Gravity::swapTimeLevels() 10 0.0004537 0.0004537 0.0004537 0.05% MLMG::MLResNormInf() 11 0.0003417 0.0003417 0.0003417 0.04% MultiFab::max() 11 0.0003356 0.0003356 0.0003356 0.04% Castro::buildMetrics() 1 0.0002642 0.0002642 0.0002642 0.03% MLLinOp::define() 11 0.0002433 0.0002433 0.0002433 0.03% MLMG::MLRhsNormInf() 11 0.0002374 0.0002374 0.0002374 0.03% MLLinOp::defineGrids() 11 0.0002324 0.0002324 0.0002324 0.03% Castro::create_source_corrector() 10 0.0001787 0.0001787 0.0001787 0.02% FabArrayBase::FB::FB() 56 9.31e-05 9.31e-05 9.31e-05 0.01% Castro::enforce_consistent_e() 1 6.699e-05 6.699e-05 6.699e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.816e-05 5.816e-05 5.816e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.743e-05 5.743e-05 5.743e-05 0.01% makeSFC 55 4.413e-05 4.413e-05 4.413e-05 0.00% StateData::define() 4 3.662e-05 3.662e-05 3.662e-05 0.00% Castro::swap_state_time_levels() 10 3.53e-05 3.53e-05 3.53e-05 0.00% Amr::writeSmallPlotFile() 1 3.345e-05 3.345e-05 3.345e-05 0.00% Castro::initMFs() 1 3.09e-05 3.09e-05 3.09e-05 0.00% DistributionMapping::Distribute() 56 1.752e-05 1.752e-05 1.752e-05 0.00% Amr::initSubcycle() 1 8.814e-06 8.814e-06 8.814e-06 0.00% AmrLevel::checkPointPost() 3 5.515e-06 5.515e-06 5.515e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.549e-06 4.549e-06 4.549e-06 0.00% Castro::retry_advance_ctu() 10 4.519e-06 4.519e-06 4.519e-06 0.00% Gravity::set_mass_offset() 11 4.091e-06 4.091e-06 4.091e-06 0.00% Castro::FluxRegCrseInit 10 3.086e-06 3.086e-06 3.086e-06 0.00% Castro::FluxRegFineAdd() 10 2.375e-06 2.375e-06 2.375e-06 0.00% AmrLevel::checkPointPre() 3 2.304e-06 2.304e-06 2.304e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.116e-06 2.116e-06 2.116e-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 86 MiB 9042 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 1024 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1525 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7620 KiB 14 MiB MLMG::prepareForSolve() 660 660 3579 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7514 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2107 B 2048 KiB Gravity::solve_for_phi() 80 80 566 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 327 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 208 KiB 671 KiB Castro::estTimeStep() 21 21 3273 B 480 KiB VisMF::Write(FabArray) 656 656 3375 B 320 KiB Castro::normalize_species() 62 62 7509 B 320 KiB amrex::average_down 1067 1067 1255 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1153 B 257 KiB amrex::Dot() 1360 1360 3487 B 160 KiB FabArray::norminf() 1143 1143 3431 B 160 KiB check_for_negative_density() 10 10 325 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3493 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 8702 8702 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3945 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 369 B 1248 B MLCGSolver::bicgstab 410 410 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 506 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 416 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3493 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 4351 4351 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3945 B 6144 B Gravity::get_new_grav_vector() 3 3 2889 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 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 298 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 10 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): 2189 [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 (24.02-7-g798ca3356d16) finalized Initializing AMReX (24.02-7-g798ca3356d16)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-7-g798ca3356d16) initialized Starting run at 09:40:29 UTC on 2024-02-09. Successfully read inputs file ... Castro git describe: 24.02-5-gf4cd7a9a0 AMReX git describe: 24.02-7-g798ca3356 Microphysics git describe: 24.02-11-g348ca2f5 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.514860243 Restart time = 0.087971813 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.068865203 [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.048702968 [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.069848296 [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.07583055 [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.077173268 [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.028221102 seconds Ending run at 09:40:29 UTC on 2024-02-09. Run time = 0.45778991 Run time without initialization = 0.369108006 Average number of zones advanced per microsecond: 3.551 Average number of zones advanced per microsecond per rank: 3.551 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4578 ... 0.4578 ... 0.4578 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1393 0.1393 0.1393 30.42% VisMF::Read() 3 0.05927 0.05927 0.05927 12.95% MLCellLinOp::applyBC() 1910 0.03614 0.03614 0.03614 7.89% VisMF::Write(FabArray) 1 0.02561 0.02561 0.02561 5.59% Amr::restart() 1 0.02187 0.02187 0.02187 4.78% MLPoisson::Fsmooth() 1440 0.01952 0.01952 0.01952 4.26% FillBoundary_nowait() 1730 0.01411 0.01411 0.01411 3.08% StateData::FillBoundary(geom) 160 0.0129 0.0129 0.0129 2.82% Castro::normalize_species() 30 0.009471 0.009471 0.009471 2.07% amrex::Dot() 484 0.009315 0.009315 0.009315 2.03% FabArray::norminf() 465 0.008707 0.008707 0.008707 1.90% Castro::computeTemp() 30 0.007551 0.007551 0.007551 1.65% FabArray::setVal() 501 0.006602 0.006602 0.006602 1.44% FabArray::ParallelCopy_nowait() 380 0.006229 0.006229 0.006229 1.36% Castro::enforce_min_density() 30 0.00618 0.00618 0.00618 1.35% FabArray::Saxpy() 597 0.005917 0.005917 0.005917 1.29% MLCellLinOp::defineAuxData() 6 0.005668 0.005668 0.005668 1.24% Gravity::fill_multipole_BCs() 6 0.005614 0.005614 0.005614 1.23% amrex::Copy() 221 0.005436 0.005436 0.005436 1.19% StateDataPhysBCFunct::() 20 0.005149 0.005149 0.005149 1.12% MLPoisson::Fapply() 464 0.004556 0.004556 0.004556 1.00% FabArray::Xpay() 325 0.003538 0.003538 0.003538 0.77% MLMG::addInterpCorrection() 180 0.003174 0.003174 0.003174 0.69% Castro::estTimeStep() 10 0.003133 0.003133 0.003133 0.68% amrex::average_down 180 0.002763 0.002763 0.002763 0.60% Amr::writePlotFile() 1 0.002454 0.002454 0.002454 0.54% BndryData::define() 6 0.002222 0.002222 0.002222 0.49% Castro::enforce_speed_limit() 30 0.002182 0.002182 0.002182 0.48% Castro::reset_internal_energy(MultiFab) 30 0.002095 0.002095 0.002095 0.46% Castro::construct_new_gravity_source() 5 0.001759 0.001759 0.001759 0.38% amrex::Add() 36 0.001592 0.001592 0.001592 0.35% Castro::construct_old_gravity_source() 5 0.001458 0.001458 0.001458 0.32% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009845 0.0009845 0.0009845 0.22% check_for_negative_density() 5 0.0009553 0.0009553 0.0009553 0.21% MLCellLinOp::setLevelBC() 6 0.0008925 0.0008925 0.0008925 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008875 0.0008875 0.0008875 0.19% Castro::reset_internal_energy(Fab) 240 0.0008667 0.0008667 0.0008667 0.19% MLCGSolver::bicgstab 36 0.0007595 0.0007595 0.0007595 0.17% MLCellLinOp::prepareForSolve() 6 0.0007549 0.0007549 0.0007549 0.16% FabArray::setDomainBndry() 20 0.0007198 0.0007198 0.0007198 0.16% FabArray::mult() 22 0.0006905 0.0006905 0.0006905 0.15% MultiFab::contains_nan() 10 0.0006547 0.0006547 0.0006547 0.14% MLCellLinOp::compGrad() 6 0.0006263 0.0006263 0.0006263 0.14% MLMG::prepareForSolve() 6 0.0005701 0.0005701 0.0005701 0.12% MLCellLinOp::smooth() 720 0.0005377 0.0005377 0.0005377 0.12% Amr::InitAmr() 1 0.0005282 0.0005282 0.0005282 0.12% FabArrayBase::CPC::define() 244 0.0004163 0.0004163 0.0004163 0.09% FabArrayBase::getCPC() 632 0.0003855 0.0003855 0.0003855 0.08% FabArray::FillBoundary() 1730 0.0003731 0.0003731 0.0003731 0.08% Gravity::get_old_grav_vector() 5 0.000324 0.000324 0.000324 0.07% main() 1 0.0002891 0.0002891 0.0002891 0.06% Gravity::get_new_grav_vector() 5 0.0002723 0.0002723 0.0002723 0.06% FabArrayBase::getFB() 1730 0.0002723 0.0002723 0.0002723 0.06% MultiFab::max() 6 0.0002072 0.0002072 0.0002072 0.05% AmrLevel::FillPatch() 20 0.0001993 0.0001993 0.0001993 0.04% Amr::coarseTimeStep() 5 0.0001962 0.0001962 0.0001962 0.04% MLCellLinOp::apply() 464 0.0001956 0.0001956 0.0001956 0.04% MLCellLinOp::defineBC() 6 0.0001589 0.0001589 0.0001589 0.03% MLCGSolver::ParallelAllReduce 798 0.0001542 0.0001542 0.0001542 0.03% FabArray::ParallelCopy() 380 0.0001087 0.0001087 0.0001087 0.02% Castro::create_source_corrector() 5 0.0001063 0.0001063 0.0001063 0.02% Amr::timeStep() 5 0.0001044 0.0001044 0.0001044 0.02% FillPatchIterator::Initialize 20 0.0001032 0.0001032 0.0001032 0.02% Castro::subcycle_advance_ctu() 5 9.966e-05 9.966e-05 9.966e-05 0.02% MLLinOp::defineGrids() 6 9.164e-05 9.164e-05 9.164e-05 0.02% MLMG::mgVcycle() 36 8.499e-05 8.499e-05 8.499e-05 0.02% MLCellLinOp::correctionResidual() 180 8.303e-05 8.303e-05 8.303e-05 0.02% Castro::do_advance_ctu() 5 8.259e-05 8.259e-05 8.259e-05 0.02% AmrLevel::restart() 1 7.408e-05 7.408e-05 7.408e-05 0.02% Castro::initialize_do_advance() 5 6.681e-05 6.681e-05 6.681e-05 0.01% Gravity::update_max_rhs() 6 6.434e-05 6.434e-05 6.434e-05 0.01% StateData::restartDoit() 4 6.39e-05 6.39e-05 6.39e-05 0.01% FabArrayBase::FB::FB() 26 6.234e-05 6.234e-05 6.234e-05 0.01% Castro::advance() 5 6.016e-05 6.016e-05 6.016e-05 0.01% Gravity::solve_for_phi() 5 5.997e-05 5.997e-05 5.997e-05 0.01% MLMG:computeResOfCorrection() 180 5.559e-05 5.559e-05 5.559e-05 0.01% Castro::finalize_do_advance() 5 4.922e-05 4.922e-05 4.922e-05 0.01% MLMG::actualBottomSolve() 36 4.117e-05 4.117e-05 4.117e-05 0.01% MLMG::mgVcycle_down::0 36 3.851e-05 3.851e-05 3.851e-05 0.01% MLMG::mgVcycle_down::1 36 3.695e-05 3.695e-05 3.695e-05 0.01% Castro::initialize_advance() 5 3.64e-05 3.64e-05 3.64e-05 0.01% MLMG::solve() 6 3.47e-05 3.47e-05 3.47e-05 0.01% MLMG::mgVcycle_down::2 36 3.435e-05 3.435e-05 3.435e-05 0.01% MLMG::mgVcycle_down::4 36 3.408e-05 3.408e-05 3.408e-05 0.01% MLMG::mgVcycle_down::3 36 3.298e-05 3.298e-05 3.298e-05 0.01% Castro::post_timestep() 5 3.294e-05 3.294e-05 3.294e-05 0.01% Castro::clean_state() 30 3.278e-05 3.278e-05 3.278e-05 0.01% Castro::finalize_advance() 5 3.199e-05 3.199e-05 3.199e-05 0.01% Castro::buildMetrics() 1 2.983e-05 2.983e-05 2.983e-05 0.01% Castro::do_new_sources() 5 2.952e-05 2.952e-05 2.952e-05 0.01% Castro::post_restart() 1 2.857e-05 2.857e-05 2.857e-05 0.01% Amr::writeSmallPlotFile() 1 2.833e-05 2.833e-05 2.833e-05 0.01% MLMG::mgVcycle_up::4 36 2.796e-05 2.796e-05 2.796e-05 0.01% Castro::construct_old_source() 25 2.74e-05 2.74e-05 2.74e-05 0.01% Castro::initMFs() 1 2.7e-05 2.7e-05 2.7e-05 0.01% Castro::construct_new_source() 25 2.695e-05 2.695e-05 2.695e-05 0.01% MLMG::mgVcycle_up::1 36 2.485e-05 2.485e-05 2.485e-05 0.01% MLCellLinOp::solutionResidual() 42 2.447e-05 2.447e-05 2.447e-05 0.01% MLMG::mgVcycle_up::0 36 2.347e-05 2.347e-05 2.347e-05 0.01% MLMG::mgVcycle_up::3 36 2.334e-05 2.334e-05 2.334e-05 0.01% Castro::swap_state_time_levels() 5 2.315e-05 2.315e-05 2.315e-05 0.01% MLMG::oneIter() 36 2.308e-05 2.308e-05 2.308e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.197e-05 2.197e-05 2.197e-05 0.00% MLMG::mgVcycle_up::2 36 2.16e-05 2.16e-05 2.16e-05 0.00% MLMG::ResNormInf() 42 2.058e-05 2.058e-05 2.058e-05 0.00% Castro::construct_new_gravity() 5 1.849e-05 1.849e-05 1.849e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.678e-05 1.678e-05 1.678e-05 0.00% MLMG::mgVcycle_bottom 36 1.628e-05 1.628e-05 1.628e-05 0.00% FillPatchSingleLevel 20 1.523e-05 1.523e-05 1.523e-05 0.00% MLMG::computeResidual() 36 1.456e-05 1.456e-05 1.456e-05 0.00% makeSFC 30 1.415e-05 1.415e-05 1.415e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.342e-05 1.342e-05 1.342e-05 0.00% MLPoisson::define() 6 1.341e-05 1.341e-05 1.341e-05 0.00% Castro::do_old_sources() 5 1.11e-05 1.11e-05 1.11e-05 0.00% DistributionMapping::Distribute() 31 1.019e-05 1.019e-05 1.019e-05 0.00% Amr::initSubcycle() 1 9.627e-06 9.627e-06 9.627e-06 0.00% MLPoisson::prepareForSolve() 6 8.326e-06 8.326e-06 8.326e-06 0.00% Gravity::actual_multilevel_solve() 1 8.305e-06 8.305e-06 8.305e-06 0.00% Castro::check_for_nan() 10 7.564e-06 7.564e-06 7.564e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.238e-06 7.238e-06 7.238e-06 0.00% Castro::construct_old_gravity() 5 6.573e-06 6.573e-06 6.573e-06 0.00% MLLinOp::define() 6 6.274e-06 6.274e-06 6.274e-06 0.00% Castro::apply_source_to_state() 10 6.111e-06 6.111e-06 6.111e-06 0.00% Gravity::swapTimeLevels() 5 4.582e-06 4.582e-06 4.582e-06 0.00% MLMG::computeMLResidual() 6 4.157e-06 4.157e-06 4.157e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.7e-06 3.7e-06 3.7e-06 0.00% Castro::computeNewDt() 5 3.452e-06 3.452e-06 3.452e-06 0.00% MLMG::getGradSolution() 6 3.363e-06 3.363e-06 3.363e-06 0.00% MLMG::MLResNormInf() 6 2.765e-06 2.765e-06 2.765e-06 0.00% Castro::expand_state() 5 2.729e-06 2.729e-06 2.729e-06 0.00% MLMG::MLRhsNormInf() 6 2.332e-06 2.332e-06 2.332e-06 0.00% Castro::retry_advance_ctu() 5 2.173e-06 2.173e-06 2.173e-06 0.00% Gravity::set_mass_offset() 6 2.112e-06 2.112e-06 2.112e-06 0.00% Castro::FluxRegCrseInit 5 1.624e-06 1.624e-06 1.624e-06 0.00% Castro::FluxRegFineAdd() 5 1.405e-06 1.405e-06 1.405e-06 0.00% Amr::init() 1 1.012e-06 1.012e-06 1.012e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.005e-06 1.005e-06 1.005e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4578 0.4578 0.4578 100.00% Amr::coarseTimeStep() 5 0.3406 0.3406 0.3406 74.40% Amr::timeStep() 5 0.3384 0.3384 0.3384 73.92% Castro::advance() 5 0.3326 0.3326 0.3326 72.65% Castro::subcycle_advance_ctu() 5 0.3248 0.3248 0.3248 70.94% Castro::do_advance_ctu() 5 0.3247 0.3247 0.3247 70.92% Castro::construct_ctu_hydro_source() 5 0.1453 0.1453 0.1453 31.74% Castro::construct_new_gravity() 5 0.1429 0.1429 0.1429 31.21% Gravity::solve_phi_with_mlmg() 6 0.1405 0.1405 0.1405 30.69% Gravity::solve_for_phi() 5 0.1348 0.1348 0.1348 29.44% Gravity::actual_solve_with_mlmg() 6 0.1346 0.1346 0.1346 29.41% MLMG::solve() 6 0.1224 0.1224 0.1224 26.73% MLMG::oneIter() 36 0.1146 0.1146 0.1146 25.04% MLMG::mgVcycle() 36 0.113 0.113 0.113 24.68% Amr::init() 1 0.08802 0.08802 0.08802 19.23% Amr::restart() 1 0.08802 0.08802 0.08802 19.23% AmrLevel::restart() 1 0.05962 0.05962 0.05962 13.02% StateData::restartDoit() 4 0.05954 0.05954 0.05954 13.01% VisMF::Read() 3 0.05927 0.05927 0.05927 12.95% MLCellLinOp::smooth() 720 0.05922 0.05922 0.05922 12.94% MLCellLinOp::applyBC() 1910 0.05095 0.05095 0.05095 11.13% MLMG::mgVcycle_bottom 36 0.03186 0.03186 0.03186 6.96% MLMG::actualBottomSolve() 36 0.03185 0.03185 0.03185 6.96% MLCGSolver::bicgstab 36 0.03148 0.03148 0.03148 6.88% Castro::clean_state() 30 0.02838 0.02838 0.02838 6.20% Amr::writePlotFile() 1 0.02832 0.02832 0.02832 6.19% VisMF::Write(FabArray) 1 0.02561 0.02561 0.02561 5.59% AmrLevel::FillPatch() 20 0.02305 0.02305 0.02305 5.03% FillPatchIterator::Initialize 20 0.02094 0.02094 0.02094 4.57% FillPatchIterator::FillFromLevel0() 20 0.02011 0.02011 0.02011 4.39% FillPatchSingleLevel 20 0.02009 0.02009 0.02009 4.39% MLPoisson::Fsmooth() 1440 0.01952 0.01952 0.01952 4.26% StateDataPhysBCFunct::() 20 0.01805 0.01805 0.01805 3.94% MLCellLinOp::apply() 464 0.01626 0.01626 0.01626 3.55% MLMG::mgVcycle_down::0 36 0.01566 0.01566 0.01566 3.42% FabArray::FillBoundary() 1730 0.01482 0.01482 0.01482 3.24% FillBoundary_nowait() 1730 0.01444 0.01444 0.01444 3.15% StateData::FillBoundary(geom) 160 0.0129 0.0129 0.0129 2.82% MLMG::mgVcycle_up::0 36 0.01187 0.01187 0.01187 2.59% Castro::initialize_do_advance() 5 0.01086 0.01086 0.01086 2.37% Castro::computeTemp() 30 0.01051 0.01051 0.01051 2.30% Castro::do_old_sources() 5 0.009977 0.009977 0.009977 2.18% MLMG::mgVcycle_up::2 36 0.009865 0.009865 0.009865 2.15% MLPoisson::define() 6 0.009566 0.009566 0.009566 2.09% Castro::normalize_species() 30 0.009471 0.009471 0.009471 2.07% amrex::Dot() 484 0.009315 0.009315 0.009315 2.03% MLMG:computeResOfCorrection() 180 0.009161 0.009161 0.009161 2.00% MLCellLinOp::correctionResidual() 180 0.009105 0.009105 0.009105 1.99% FabArray::norminf() 465 0.008707 0.008707 0.008707 1.90% Gravity::get_new_grav_vector() 5 0.007963 0.007963 0.007963 1.74% MLMG::mgVcycle_down::1 36 0.0077 0.0077 0.0077 1.68% Castro::construct_old_gravity() 5 0.007613 0.007613 0.007613 1.66% Gravity::get_old_grav_vector() 5 0.007606 0.007606 0.007606 1.66% Castro::initialize_advance() 5 0.007449 0.007449 0.007449 1.63% MLMG::mgVcycle_down::2 36 0.006886 0.006886 0.006886 1.50% FabArray::ParallelCopy() 380 0.00675 0.00675 0.00675 1.47% MLMG::mgVcycle_down::3 36 0.006659 0.006659 0.006659 1.45% FabArray::ParallelCopy_nowait() 380 0.006641 0.006641 0.006641 1.45% MLMG::mgVcycle_down::4 36 0.00662 0.00662 0.00662 1.45% FabArray::setVal() 501 0.006602 0.006602 0.006602 1.44% MLCellLinOp::defineAuxData() 6 0.006455 0.006455 0.006455 1.41% Castro::post_restart() 1 0.006335 0.006335 0.006335 1.38% Castro::do_new_sources() 5 0.006333 0.006333 0.006333 1.38% Castro::enforce_min_density() 30 0.00618 0.00618 0.00618 1.35% Castro::expand_state() 5 0.006 0.006 0.006 1.31% Gravity::multilevel_solve_for_new_phi() 1 0.005966 0.005966 0.005966 1.30% Gravity::actual_multilevel_solve() 1 0.005949 0.005949 0.005949 1.30% FabArray::Saxpy() 597 0.005917 0.005917 0.005917 1.29% Gravity::fill_multipole_BCs() 6 0.005741 0.005741 0.005741 1.25% Castro::post_timestep() 5 0.005698 0.005698 0.005698 1.24% MLCGSolver::ParallelAllReduce 798 0.005668 0.005668 0.005668 1.24% MLMG::addInterpCorrection() 180 0.005539 0.005539 0.005539 1.21% amrex::Copy() 221 0.005436 0.005436 0.005436 1.19% MLMG::mgVcycle_up::1 36 0.00541 0.00541 0.00541 1.18% MLMG::mgVcycle_up::4 36 0.005312 0.005312 0.005312 1.16% amrex::average_down 180 0.005123 0.005123 0.005123 1.12% MLMG::mgVcycle_up::3 36 0.005068 0.005068 0.005068 1.11% MLPoisson::Fapply() 464 0.004556 0.004556 0.004556 1.00% MLCellLinOp::solutionResidual() 42 0.003639 0.003639 0.003639 0.79% FabArray::Xpay() 325 0.003538 0.003538 0.003538 0.77% Castro::estTimeStep() 10 0.003133 0.003133 0.003133 0.68% MLCellLinOp::defineBC() 6 0.002969 0.002969 0.002969 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002962 0.002962 0.002962 0.65% MLMG::prepareForSolve() 6 0.002911 0.002911 0.002911 0.64% MLMG::computeResidual() 36 0.002839 0.002839 0.002839 0.62% BndryData::define() 6 0.00281 0.00281 0.00281 0.61% Castro::enforce_speed_limit() 30 0.002182 0.002182 0.002182 0.48% Castro::computeNewDt() 5 0.002 0.002 0.002 0.44% Castro::construct_new_source() 25 0.001786 0.001786 0.001786 0.39% Castro::construct_new_gravity_source() 5 0.001759 0.001759 0.001759 0.38% amrex::Add() 36 0.001592 0.001592 0.001592 0.35% Castro::construct_old_source() 25 0.001485 0.001485 0.001485 0.32% Castro::construct_old_gravity_source() 5 0.001458 0.001458 0.001458 0.32% Castro::finalize_do_advance() 5 0.001186 0.001186 0.001186 0.26% MLMG::ResNormInf() 42 0.001031 0.001031 0.001031 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009845 0.0009845 0.0009845 0.22% Castro::apply_source_to_state() 10 0.0009629 0.0009629 0.0009629 0.21% check_for_negative_density() 5 0.0009553 0.0009553 0.0009553 0.21% MLMG::getGradSolution() 6 0.0009123 0.0009123 0.0009123 0.20% MLCellLinOp::compGrad() 6 0.0009089 0.0009089 0.0009089 0.20% MLCellLinOp::setLevelBC() 6 0.0008925 0.0008925 0.0008925 0.19% Castro::reset_internal_energy(Fab) 240 0.0008667 0.0008667 0.0008667 0.19% MLMG::computeMLResidual() 6 0.0008186 0.0008186 0.0008186 0.18% FabArrayBase::getCPC() 632 0.0008018 0.0008018 0.0008018 0.18% MLPoisson::prepareForSolve() 6 0.0007632 0.0007632 0.0007632 0.17% MLCellLinOp::prepareForSolve() 6 0.0007549 0.0007549 0.0007549 0.16% FabArray::setDomainBndry() 20 0.0007198 0.0007198 0.0007198 0.16% Gravity::update_max_rhs() 6 0.0007094 0.0007094 0.0007094 0.15% FabArray::mult() 22 0.0006905 0.0006905 0.0006905 0.15% Castro::check_for_nan() 10 0.0006623 0.0006623 0.0006623 0.14% MultiFab::contains_nan() 10 0.0006547 0.0006547 0.0006547 0.14% Amr::InitAmr() 1 0.0005378 0.0005378 0.0005378 0.12% FabArrayBase::CPC::define() 244 0.0004163 0.0004163 0.0004163 0.09% FabArrayBase::getFB() 1730 0.0003346 0.0003346 0.0003346 0.07% Castro::finalize_advance() 5 0.0003003 0.0003003 0.0003003 0.07% Gravity::swapTimeLevels() 5 0.0002366 0.0002366 0.0002366 0.05% MultiFab::max() 6 0.0002072 0.0002072 0.0002072 0.05% MLMG::MLResNormInf() 6 0.0001921 0.0001921 0.0001921 0.04% Castro::buildMetrics() 1 0.0001582 0.0001582 0.0001582 0.03% MLMG::MLRhsNormInf() 6 0.0001338 0.0001338 0.0001338 0.03% MLLinOp::define() 6 0.0001291 0.0001291 0.0001291 0.03% MLLinOp::defineGrids() 6 0.0001228 0.0001228 0.0001228 0.03% Castro::create_source_corrector() 5 0.0001063 0.0001063 0.0001063 0.02% FabArrayBase::FB::FB() 26 6.234e-05 6.234e-05 6.234e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.018e-05 3.018e-05 3.018e-05 0.01% Amr::writeSmallPlotFile() 1 2.833e-05 2.833e-05 2.833e-05 0.01% Castro::initMFs() 1 2.7e-05 2.7e-05 2.7e-05 0.01% Castro::swap_state_time_levels() 5 2.315e-05 2.315e-05 2.315e-05 0.01% makeSFC 30 2.294e-05 2.294e-05 2.294e-05 0.01% DistributionMapping::Distribute() 31 1.019e-05 1.019e-05 1.019e-05 0.00% Amr::initSubcycle() 1 9.627e-06 9.627e-06 9.627e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.108e-06 5.108e-06 5.108e-06 0.00% Castro::retry_advance_ctu() 5 2.173e-06 2.173e-06 2.173e-06 0.00% Gravity::set_mass_offset() 6 2.112e-06 2.112e-06 2.112e-06 0.00% Castro::FluxRegCrseInit 5 1.624e-06 1.624e-06 1.624e-06 0.00% Castro::FluxRegFineAdd() 5 1.405e-06 1.405e-06 1.405e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.005e-06 1.005e-06 1.005e-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 179 MiB 9042 MiB Castro::initMFs() 48 48 55 MiB 68 MiB Castro::swap_state_time_levels() 32 32 44 MiB 55 MiB StateData::restartDoit() 32 32 50 MiB 55 MiB FillPatchIterator::Initialize 160 160 1002 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1651 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6216 KiB 14 MiB MLMG::prepareForSolve() 361 361 3282 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 172 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6203 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3080 B 2048 KiB Gravity::solve_for_phi() 40 40 601 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 302 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 193 KiB 671 KiB Castro::estTimeStep() 10 10 3243 B 480 KiB VisMF::Write(FabArray) 112 112 2214 B 320 KiB Castro::normalize_species() 30 30 6729 B 320 KiB amrex::average_down 469 469 1079 B 257 KiB MLMG::addInterpCorrection() 468 468 1037 B 257 KiB amrex::Dot() 592 592 3000 B 160 KiB FabArray::norminf() 501 501 2934 B 160 KiB check_for_negative_density() 5 5 335 B 160 KiB MultiFab::max() 6 6 70 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3184 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 270 B 9648 B MLCellLinOp::applyBC() 3820 3820 195 B 9344 B amrex::Copy() 56 56 5404 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 339 B 1248 B MLCGSolver::bicgstab 180 180 82 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1092 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 147 KiB 3584 KiB VisMF::Read() 24 24 195 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3184 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 270 B 9648 B MLCellLinOp::applyBC() 1910 1910 194 B 9328 B amrex::Copy() 56 56 5404 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2436 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 493 B 1296 B amrex::average_down 37 37 197 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 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): 2189 [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 (24.02-7-g798ca3356d16) finalized