Initializing AMReX (24.06-3-g0a691f6f4804)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-3-g0a691f6f4804) initialized Starting run at 08:15:05 UTC on 2024-06-04. Successfully read inputs file ... Castro git describe: 24.06 AMReX git describe: 24.06-3-g0a691f6f4 Microphysics git describe: 24.06-2-gd928c208 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.046163918 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025752855 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.072696374 [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.060192391 [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.076417151 [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.07905149 [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.050490437 [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.046401946 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.053288075 [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.074453898 [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.077379932 [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.069575643 [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.070082243 [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.044591488 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025342323 seconds Ending run at 08:15:06 UTC on 2024-06-04. Run time = 0.929056378 Run time without initialization = 0.800678112 Average number of zones advanced per microsecond: 3.274 Average number of zones advanced per microsecond per rank: 3.274 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9291 ... 0.9291 ... 0.9291 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2975 0.2975 0.2975 32.02% VisMF::Write(FabArray) 11 0.1796 0.1796 0.1796 19.33% MLCellLinOp::applyBC() 4351 0.08213 0.08213 0.08213 8.84% MLPoisson::Fsmooth() 3280 0.03446 0.03446 0.03446 3.71% FillBoundary_nowait() 3941 0.03129 0.03129 0.03129 3.37% StateData::FillBoundary(geom) 328 0.02728 0.02728 0.02728 2.94% amrex::Dot() 1114 0.02207 0.02207 0.02207 2.38% Castro::normalize_species() 62 0.02193 0.02193 0.02193 2.36% FabArray::norminf() 1061 0.02045 0.02045 0.02045 2.20% Castro::computeTemp() 63 0.01641 0.01641 0.01641 1.77% FabArray::ParallelCopy_nowait() 861 0.01385 0.01385 0.01385 1.49% FabArray::setVal() 1062 0.01375 0.01375 0.01375 1.48% FabArray::Saxpy() 1370 0.01349 0.01349 0.01349 1.45% StateDataPhysBCFunct::() 41 0.01282 0.01282 0.01282 1.38% Castro::enforce_min_density() 62 0.01156 0.01156 0.01156 1.24% amrex::Copy() 472 0.01104 0.01104 0.01104 1.19% MLPoisson::Fapply() 1060 0.01059 0.01059 0.01059 1.14% MLCellLinOp::defineAuxData() 11 0.01052 0.01052 0.01052 1.13% Gravity::fill_multipole_BCs() 11 0.009807 0.009807 0.009807 1.06% FabArray::Xpay() 739 0.008034 0.008034 0.008034 0.86% MLMG::addInterpCorrection() 410 0.007119 0.007119 0.007119 0.77% amrex::average_down 410 0.006241 0.006241 0.006241 0.67% Amr::checkPoint() 3 0.006091 0.006091 0.006091 0.66% Castro::estTimeStep() 21 0.005822 0.005822 0.005822 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005037 0.005037 0.005037 0.54% BndryData::define() 11 0.004111 0.004111 0.004111 0.44% amrex::Add() 82 0.003651 0.003651 0.003651 0.39% Castro::construct_new_gravity_source() 10 0.003467 0.003467 0.003467 0.37% Castro::construct_old_gravity_source() 10 0.002881 0.002881 0.002881 0.31% Amr::writePlotFile() 2 0.002182 0.002182 0.002182 0.23% Castro::enforce_speed_limit() 62 0.001986 0.001986 0.001986 0.21% check_for_negative_density() 10 0.00186 0.00186 0.00186 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001843 0.001843 0.001843 0.20% Castro::reset_internal_energy(Fab) 504 0.001795 0.001795 0.001795 0.19% MLCellLinOp::setLevelBC() 11 0.001633 0.001633 0.001633 0.18% MLCGSolver::bicgstab 82 0.001598 0.001598 0.001598 0.17% Gravity::actual_solve_with_mlmg() 11 0.001546 0.001546 0.001546 0.17% Castro::initData() 1 0.001543 0.001543 0.001543 0.17% FabArray::setDomainBndry() 41 0.001404 0.001404 0.001404 0.15% FabArray::mult() 43 0.001389 0.001389 0.001389 0.15% MLCellLinOp::prepareForSolve() 11 0.001359 0.001359 0.001359 0.15% MultiFab::contains_nan() 20 0.001299 0.001299 0.001299 0.14% MLCellLinOp::smooth() 1640 0.001106 0.001106 0.001106 0.12% MLCellLinOp::compGrad() 11 0.001082 0.001082 0.001082 0.12% MLMG::prepareForSolve() 11 0.0009528 0.0009528 0.0009528 0.10% FabArray::FillBoundary() 3941 0.0008178 0.0008178 0.0008178 0.09% FabArrayBase::getCPC() 1323 0.0007771 0.0007771 0.0007771 0.08% Gravity::get_new_grav_vector() 11 0.0006059 0.0006059 0.0006059 0.07% Gravity::get_old_grav_vector() 10 0.0004797 0.0004797 0.0004797 0.05% MLCellLinOp::apply() 1060 0.0004115 0.0004115 0.0004115 0.04% AmrLevel::FillPatch() 41 0.0004024 0.0004024 0.0004024 0.04% Amr::coarseTimeStep() 10 0.0003797 0.0003797 0.0003797 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003052 0.0003052 0.0003052 0.03% main() 1 0.0002842 0.0002842 0.0002842 0.03% MLCellLinOp::defineBC() 11 0.0002587 0.0002587 0.0002587 0.03% FabArray::ParallelCopy() 861 0.0002499 0.0002499 0.0002499 0.03% FillPatchIterator::Initialize 41 0.0002203 0.0002203 0.0002203 0.02% MLMG::mgVcycle() 82 0.0001987 0.0001987 0.0001987 0.02% Castro::subcycle_advance_ctu() 10 0.0001836 0.0001836 0.0001836 0.02% MLCellLinOp::correctionResidual() 410 0.0001674 0.0001674 0.0001674 0.02% Amr::timeStep() 10 0.0001573 0.0001573 0.0001573 0.02% Gravity::solve_for_phi() 10 0.0001225 0.0001225 0.0001225 0.01% MLMG:computeResOfCorrection() 410 0.0001182 0.0001182 0.0001182 0.01% StateData::checkPoint() 12 0.0001095 0.0001095 0.0001095 0.01% Castro::initialize_advance() 10 8.707e-05 8.707e-05 8.707e-05 0.01% MLMG::actualBottomSolve() 82 8.046e-05 8.046e-05 8.046e-05 0.01% MLMG::mgVcycle_down::0 82 7.571e-05 7.571e-05 7.571e-05 0.01% Castro::clean_state() 62 7.486e-05 7.486e-05 7.486e-05 0.01% MLMG::solve() 11 7.355e-05 7.355e-05 7.355e-05 0.01% MLMG::mgVcycle_down::2 82 7.293e-05 7.293e-05 7.293e-05 0.01% MLMG::mgVcycle_down::1 82 7.253e-05 7.253e-05 7.253e-05 0.01% MLMG::mgVcycle_down::4 82 7.043e-05 7.043e-05 7.043e-05 0.01% MLMG::mgVcycle_down::3 82 7.026e-05 7.026e-05 7.026e-05 0.01% Castro::do_advance_ctu() 10 6.753e-05 6.753e-05 6.753e-05 0.01% Castro::initialize_do_advance() 10 6.717e-05 6.717e-05 6.717e-05 0.01% Castro::post_timestep() 10 6.341e-05 6.341e-05 6.341e-05 0.01% AmrLevel::checkPoint() 3 6.045e-05 6.045e-05 6.045e-05 0.01% MLMG::mgVcycle_up::4 82 5.39e-05 5.39e-05 5.39e-05 0.01% MLMG::oneIter() 82 5.267e-05 5.267e-05 5.267e-05 0.01% Castro::construct_new_source() 50 5.254e-05 5.254e-05 5.254e-05 0.01% Castro::advance() 10 4.816e-05 4.816e-05 4.816e-05 0.01% MLMG::mgVcycle_up::0 82 4.715e-05 4.715e-05 4.715e-05 0.01% Castro::finalize_do_advance() 10 4.711e-05 4.711e-05 4.711e-05 0.01% Castro::do_new_sources() 10 4.663e-05 4.663e-05 4.663e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.644e-05 4.644e-05 4.644e-05 0.00% MLMG::mgVcycle_up::3 82 4.625e-05 4.625e-05 4.625e-05 0.00% MLMG::mgVcycle_up::1 82 4.508e-05 4.508e-05 4.508e-05 0.00% MLMG::mgVcycle_up::2 82 4.468e-05 4.468e-05 4.468e-05 0.00% MLCellLinOp::solutionResidual() 93 4.323e-05 4.323e-05 4.323e-05 0.00% FillPatchSingleLevel 41 3.486e-05 3.486e-05 3.486e-05 0.00% Amr::defBaseLevel() 1 3.313e-05 3.313e-05 3.313e-05 0.00% MLMG::computeResidual() 82 3.302e-05 3.302e-05 3.302e-05 0.00% MLMG::mgVcycle_bottom 82 3.18e-05 3.18e-05 3.18e-05 0.00% MLMG::ResNormInf() 93 2.959e-05 2.959e-05 2.959e-05 0.00% Castro::construct_new_gravity() 10 2.908e-05 2.908e-05 2.908e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.371e-05 2.371e-05 2.371e-05 0.00% MLPoisson::define() 11 2.355e-05 2.355e-05 2.355e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.345e-05 2.345e-05 2.345e-05 0.00% Amr::FinalizeInit() 1 1.958e-05 1.958e-05 1.958e-05 0.00% Castro::do_old_sources() 10 1.85e-05 1.85e-05 1.85e-05 0.00% Castro::construct_old_source() 50 1.804e-05 1.804e-05 1.804e-05 0.00% Castro::apply_source_to_state() 20 1.318e-05 1.318e-05 1.318e-05 0.00% Castro::check_for_nan() 20 1.163e-05 1.163e-05 1.163e-05 0.00% MLMG::computeMLResidual() 11 1.076e-05 1.076e-05 1.076e-05 0.00% Castro::construct_old_gravity() 10 9.687e-06 9.687e-06 9.687e-06 0.00% Gravity::actual_multilevel_solve() 1 8.078e-06 8.078e-06 8.078e-06 0.00% MLMG::getGradSolution() 11 6.668e-06 6.668e-06 6.668e-06 0.00% Castro::computeNewDt() 9 6.656e-06 6.656e-06 6.656e-06 0.00% MLPoisson::prepareForSolve() 11 6.611e-06 6.611e-06 6.611e-06 0.00% Amr::InitializeInit() 1 6.023e-06 6.023e-06 6.023e-06 0.00% Castro::expand_state() 10 5.665e-06 5.665e-06 5.665e-06 0.00% Castro::post_init() 1 4.544e-06 4.544e-06 4.544e-06 0.00% Amr::init() 1 2.623e-06 2.623e-06 2.623e-06 0.00% Castro::post_regrid() 1 1.236e-06 1.236e-06 1.236e-06 0.00% Amr::initialInit() 1 9.98e-07 9.98e-07 9.98e-07 0.00% Other 4752 0.003374 0.003374 0.003374 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9291 0.9291 0.9291 100.00% Amr::coarseTimeStep() 10 0.7751 0.7751 0.7751 83.42% Amr::timeStep() 10 0.6805 0.6805 0.6805 73.24% Castro::advance() 10 0.6696 0.6696 0.6696 72.07% Castro::subcycle_advance_ctu() 10 0.6564 0.6564 0.6564 70.65% Castro::do_advance_ctu() 10 0.6562 0.6562 0.6562 70.63% Castro::construct_ctu_hydro_source() 10 0.3085 0.3085 0.3085 33.20% Gravity::solve_phi_with_mlmg() 11 0.3006 0.3006 0.3006 32.36% Gravity::actual_solve_with_mlmg() 11 0.2903 0.2903 0.2903 31.25% Castro::construct_new_gravity() 10 0.272 0.272 0.272 29.28% MLMG::solve() 11 0.2679 0.2679 0.2679 28.84% Gravity::solve_for_phi() 10 0.2551 0.2551 0.2551 27.46% MLMG::oneIter() 82 0.2522 0.2522 0.2522 27.14% MLMG::mgVcycle() 82 0.2485 0.2485 0.2485 26.75% VisMF::Write(FabArray) 11 0.1796 0.1796 0.1796 19.33% Amr::checkPoint() 3 0.1373 0.1373 0.1373 14.78% AmrLevel::checkPoint() 3 0.1312 0.1312 0.1312 14.13% StateData::checkPoint() 12 0.1312 0.1312 0.1312 14.12% Amr::init() 1 0.1276 0.1276 0.1276 13.74% MLCellLinOp::smooth() 1640 0.124 0.124 0.124 13.35% MLCellLinOp::applyBC() 4351 0.115 0.115 0.115 12.37% MLMG::mgVcycle_bottom 82 0.07467 0.07467 0.07467 8.04% MLMG::actualBottomSolve() 82 0.07464 0.07464 0.07464 8.03% MLCGSolver::bicgstab 82 0.07382 0.07382 0.07382 7.94% Castro::clean_state() 62 0.05784 0.05784 0.05784 6.23% Amr::initialInit() 1 0.05556 0.05556 0.05556 5.98% Amr::writePlotFile() 2 0.05123 0.05123 0.05123 5.51% Amr::FinalizeInit() 1 0.05029 0.05029 0.05029 5.41% AmrLevel::FillPatch() 41 0.05022 0.05022 0.05022 5.41% Castro::post_init() 1 0.04876 0.04876 0.04876 5.25% Gravity::multilevel_solve_for_new_phi() 1 0.04599 0.04599 0.04599 4.95% Gravity::actual_multilevel_solve() 1 0.04597 0.04597 0.04597 4.95% FillPatchIterator::Initialize 41 0.04591 0.04591 0.04591 4.94% FillPatchIterator::FillFromLevel0() 41 0.04429 0.04429 0.04429 4.77% FillPatchSingleLevel 41 0.04424 0.04424 0.04424 4.76% StateDataPhysBCFunct::() 41 0.0401 0.0401 0.0401 4.32% MLCellLinOp::apply() 1060 0.037 0.037 0.037 3.98% MLMG::mgVcycle_down::0 82 0.03519 0.03519 0.03519 3.79% MLPoisson::Fsmooth() 3280 0.03446 0.03446 0.03446 3.71% FabArray::FillBoundary() 3941 0.03284 0.03284 0.03284 3.54% FillBoundary_nowait() 3941 0.03203 0.03203 0.03203 3.45% StateData::FillBoundary(geom) 328 0.02728 0.02728 0.02728 2.94% MLMG::mgVcycle_up::0 82 0.02668 0.02668 0.02668 2.87% Castro::computeTemp() 63 0.02324 0.02324 0.02324 2.50% Castro::initialize_do_advance() 10 0.02245 0.02245 0.02245 2.42% amrex::Dot() 1114 0.02207 0.02207 0.02207 2.38% Castro::normalize_species() 62 0.02193 0.02193 0.02193 2.36% MLMG:computeResOfCorrection() 410 0.02087 0.02087 0.02087 2.25% MLCellLinOp::correctionResidual() 410 0.02075 0.02075 0.02075 2.23% FabArray::norminf() 1061 0.02045 0.02045 0.02045 2.20% Castro::do_old_sources() 10 0.02015 0.02015 0.02015 2.17% Gravity::get_new_grav_vector() 11 0.01927 0.01927 0.01927 2.07% MLPoisson::define() 11 0.01764 0.01764 0.01764 1.90% MLMG::mgVcycle_down::1 82 0.01696 0.01696 0.01696 1.83% MLMG::mgVcycle_down::2 82 0.0158 0.0158 0.0158 1.70% Castro::construct_old_gravity() 10 0.01554 0.01554 0.01554 1.67% Gravity::get_old_grav_vector() 10 0.01553 0.01553 0.01553 1.67% MLMG::mgVcycle_down::3 82 0.01542 0.01542 0.01542 1.66% MLMG::mgVcycle_down::4 82 0.01527 0.01527 0.01527 1.64% FabArray::ParallelCopy() 861 0.01489 0.01489 0.01489 1.60% FabArray::ParallelCopy_nowait() 861 0.01464 0.01464 0.01464 1.58% Castro::do_new_sources() 10 0.01412 0.01412 0.01412 1.52% FabArray::setVal() 1062 0.01375 0.01375 0.01375 1.48% FabArray::Saxpy() 1370 0.01349 0.01349 0.01349 1.45% MLCGSolver::ParallelAllReduce 1832 0.01317 0.01317 0.01317 1.42% MLMG::addInterpCorrection() 410 0.01251 0.01251 0.01251 1.35% Castro::expand_state() 10 0.01246 0.01246 0.01246 1.34% Castro::initialize_advance() 10 0.01245 0.01245 0.01245 1.34% MLMG::mgVcycle_up::1 82 0.0123 0.0123 0.0123 1.32% MLMG::mgVcycle_up::4 82 0.01224 0.01224 0.01224 1.32% MLMG::mgVcycle_up::2 82 0.01199 0.01199 0.01199 1.29% MLCellLinOp::defineAuxData() 11 0.01196 0.01196 0.01196 1.29% MLMG::mgVcycle_up::3 82 0.01178 0.01178 0.01178 1.27% amrex::average_down 410 0.01163 0.01163 0.01163 1.25% Castro::enforce_min_density() 62 0.01156 0.01156 0.01156 1.24% amrex::Copy() 472 0.01104 0.01104 0.01104 1.19% Castro::post_timestep() 10 0.01077 0.01077 0.01077 1.16% MLPoisson::Fapply() 1060 0.01059 0.01059 0.01059 1.14% Gravity::fill_multipole_BCs() 11 0.01005 0.01005 0.01005 1.08% FabArray::Xpay() 739 0.008034 0.008034 0.008034 0.86% MLCellLinOp::solutionResidual() 93 0.00789 0.00789 0.00789 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006833 0.006833 0.006833 0.74% MLMG::computeResidual() 82 0.006619 0.006619 0.006619 0.71% Castro::estTimeStep() 21 0.005822 0.005822 0.005822 0.63% MLCellLinOp::defineBC() 11 0.005415 0.005415 0.005415 0.58% Amr::InitializeInit() 1 0.00527 0.00527 0.00527 0.57% Amr::defBaseLevel() 1 0.005264 0.005264 0.005264 0.57% MLMG::prepareForSolve() 11 0.005257 0.005257 0.005257 0.57% BndryData::define() 11 0.005157 0.005157 0.005157 0.56% Castro::initData() 1 0.004562 0.004562 0.004562 0.49% amrex::Add() 82 0.003651 0.003651 0.003651 0.39% Castro::construct_new_source() 50 0.00352 0.00352 0.00352 0.38% Castro::construct_new_gravity_source() 10 0.003467 0.003467 0.003467 0.37% Castro::construct_old_source() 50 0.002899 0.002899 0.002899 0.31% Castro::construct_old_gravity_source() 10 0.002881 0.002881 0.002881 0.31% Castro::finalize_do_advance() 10 0.00245 0.00245 0.00245 0.26% Castro::computeNewDt() 9 0.002439 0.002439 0.002439 0.26% MLMG::ResNormInf() 93 0.002209 0.002209 0.002209 0.24% Castro::enforce_speed_limit() 62 0.001986 0.001986 0.001986 0.21% Castro::apply_source_to_state() 20 0.001884 0.001884 0.001884 0.20% check_for_negative_density() 10 0.00186 0.00186 0.00186 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001843 0.001843 0.001843 0.20% Castro::reset_internal_energy(Fab) 504 0.001795 0.001795 0.001795 0.19% MLCellLinOp::setLevelBC() 11 0.001633 0.001633 0.001633 0.18% MLMG::getGradSolution() 11 0.001612 0.001612 0.001612 0.17% MLCellLinOp::compGrad() 11 0.001606 0.001606 0.001606 0.17% FabArrayBase::getCPC() 1323 0.001433 0.001433 0.001433 0.15% FabArray::setDomainBndry() 41 0.001404 0.001404 0.001404 0.15% FabArray::mult() 43 0.001389 0.001389 0.001389 0.15% MLPoisson::prepareForSolve() 11 0.001366 0.001366 0.001366 0.15% MLCellLinOp::prepareForSolve() 11 0.001359 0.001359 0.001359 0.15% MLMG::computeMLResidual() 11 0.001315 0.001315 0.001315 0.14% Castro::check_for_nan() 20 0.00131 0.00131 0.00131 0.14% MultiFab::contains_nan() 20 0.001299 0.001299 0.001299 0.14% Castro::post_regrid() 1 0.001209 0.001209 0.001209 0.13% Other 4752 0.008119 0.008119 0.008119 0.87% -------------------------------------------------------------------------------------------- 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 5610 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 1050 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1538 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3547 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 215 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2091 B 2048 KiB Gravity::solve_for_phi() 80 80 561 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 324 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 3056 B 480 KiB VisMF::Write(FabArray) 656 656 3344 B 320 KiB Castro::normalize_species() 62 62 7690 B 320 KiB amrex::average_down 1067 1067 1593 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1157 B 257 KiB amrex::Dot() 1360 1360 3507 B 160 KiB FabArray::norminf() 1143 1143 3400 B 160 KiB check_for_negative_density() 10 10 314 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3462 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 293 B 9648 B MLCellLinOp::applyBC() 8702 8702 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3921 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 365 B 1248 B MLCGSolver::bicgstab 410 410 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 556 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 424 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3462 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 293 B 9648 B MLCellLinOp::applyBC() 4351 4351 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3921 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 295 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): 12049 Free GPU global memory (MB): 2105 [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 (24.06-3-g0a691f6f4804) finalized Initializing AMReX (24.06-3-g0a691f6f4804)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-3-g0a691f6f4804) initialized Starting run at 08:15:06 UTC on 2024-06-04. Successfully read inputs file ... Castro git describe: 24.06 AMReX git describe: 24.06-3-g0a691f6f4 Microphysics git describe: 24.06-2-gd928c208 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.513664182 Restart time = 0.072868359 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.070114247 [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.051062523 [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.076050052 [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.076635834 [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.070213168 [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.066005102 seconds Ending run at 08:15:07 UTC on 2024-06-04. Run time = 0.484033156 Run time without initialization = 0.410501762 Average number of zones advanced per microsecond: 3.193 Average number of zones advanced per microsecond per rank: 3.193 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4841 ... 0.4841 ... 0.4841 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1475 0.1475 0.1475 30.48% VisMF::Read() 3 0.06168 0.06168 0.06168 12.74% Amr::writePlotFile() 1 0.04004 0.04004 0.04004 8.27% MLCellLinOp::applyBC() 1910 0.036 0.036 0.036 7.44% VisMF::Write(FabArray) 1 0.02579 0.02579 0.02579 5.33% MLPoisson::Fsmooth() 1440 0.01495 0.01495 0.01495 3.09% FillBoundary_nowait() 1730 0.01313 0.01313 0.01313 2.71% StateData::FillBoundary(geom) 160 0.01308 0.01308 0.01308 2.70% Castro::normalize_species() 30 0.01108 0.01108 0.01108 2.29% amrex::Dot() 484 0.009356 0.009356 0.009356 1.93% FabArray::norminf() 465 0.008803 0.008803 0.008803 1.82% Castro::computeTemp() 30 0.007987 0.007987 0.007987 1.65% FabArray::setVal() 501 0.006715 0.006715 0.006715 1.39% Castro::enforce_min_density() 30 0.006309 0.006309 0.006309 1.30% FabArray::ParallelCopy_nowait() 380 0.006257 0.006257 0.006257 1.29% FabArray::Saxpy() 597 0.005916 0.005916 0.005916 1.22% MLCellLinOp::defineAuxData() 6 0.005688 0.005688 0.005688 1.17% amrex::Copy() 221 0.00553 0.00553 0.00553 1.14% Gravity::fill_multipole_BCs() 6 0.005256 0.005256 0.005256 1.09% StateDataPhysBCFunct::() 20 0.005054 0.005054 0.005054 1.04% Amr::restart() 1 0.00479 0.00479 0.00479 0.99% MLPoisson::Fapply() 464 0.004552 0.004552 0.004552 0.94% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.73% MLMG::addInterpCorrection() 180 0.003164 0.003164 0.003164 0.65% Castro::estTimeStep() 10 0.002795 0.002795 0.002795 0.58% amrex::average_down 180 0.002759 0.002759 0.002759 0.57% BndryData::define() 6 0.002245 0.002245 0.002245 0.46% Castro::reset_internal_energy(MultiFab) 30 0.002233 0.002233 0.002233 0.46% Castro::construct_new_gravity_source() 5 0.001729 0.001729 0.001729 0.36% amrex::Add() 36 0.001557 0.001557 0.001557 0.32% Castro::construct_old_gravity_source() 5 0.00146 0.00146 0.00146 0.30% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009989 0.0009989 0.0009989 0.21% Castro::enforce_speed_limit() 30 0.0009603 0.0009603 0.0009603 0.20% check_for_negative_density() 5 0.000929 0.000929 0.000929 0.19% MLCellLinOp::setLevelBC() 6 0.0008974 0.0008974 0.0008974 0.19% Castro::reset_internal_energy(Fab) 240 0.0008642 0.0008642 0.0008642 0.18% Gravity::actual_solve_with_mlmg() 6 0.0008592 0.0008592 0.0008592 0.18% MLCellLinOp::prepareForSolve() 6 0.0008007 0.0008007 0.0008007 0.17% FabArray::setDomainBndry() 20 0.0007155 0.0007155 0.0007155 0.15% FabArray::mult() 22 0.0006977 0.0006977 0.0006977 0.14% MLCGSolver::bicgstab 36 0.0006956 0.0006956 0.0006956 0.14% MLCellLinOp::compGrad() 6 0.0006069 0.0006069 0.0006069 0.13% MLMG::prepareForSolve() 6 0.0005569 0.0005569 0.0005569 0.12% MLCellLinOp::smooth() 720 0.0004923 0.0004923 0.0004923 0.10% FabArrayBase::getCPC() 632 0.0003841 0.0003841 0.0003841 0.08% FabArray::FillBoundary() 1730 0.0003689 0.0003689 0.0003689 0.08% Gravity::get_old_grav_vector() 5 0.0003174 0.0003174 0.0003174 0.07% main() 1 0.0002778 0.0002778 0.0002778 0.06% Gravity::get_new_grav_vector() 5 0.0002648 0.0002648 0.0002648 0.05% AmrLevel::FillPatch() 20 0.0002013 0.0002013 0.0002013 0.04% MLCellLinOp::apply() 464 0.0001855 0.0001855 0.0001855 0.04% Amr::coarseTimeStep() 5 0.0001527 0.0001527 0.0001527 0.03% MLCellLinOp::defineBC() 6 0.0001433 0.0001433 0.0001433 0.03% MLCGSolver::ParallelAllReduce 798 0.0001289 0.0001289 0.0001289 0.03% Castro::subcycle_advance_ctu() 5 0.000122 0.000122 0.000122 0.03% FabArray::ParallelCopy() 380 0.0001114 0.0001114 0.0001114 0.02% FillPatchIterator::Initialize 20 0.0001085 0.0001085 0.0001085 0.02% Castro::do_advance_ctu() 5 0.0001012 0.0001012 0.0001012 0.02% MLMG::mgVcycle() 36 9.161e-05 9.161e-05 9.161e-05 0.02% Amr::timeStep() 5 8.591e-05 8.591e-05 8.591e-05 0.02% AmrLevel::restart() 1 7.47e-05 7.47e-05 7.47e-05 0.02% MLCellLinOp::correctionResidual() 180 7.38e-05 7.38e-05 7.38e-05 0.02% Castro::initialize_do_advance() 5 7.057e-05 7.057e-05 7.057e-05 0.01% Gravity::update_max_rhs() 6 6.433e-05 6.433e-05 6.433e-05 0.01% Castro::advance() 5 6.233e-05 6.233e-05 6.233e-05 0.01% StateData::restartDoit() 4 6.182e-05 6.182e-05 6.182e-05 0.01% Castro::construct_new_source() 25 6.036e-05 6.036e-05 6.036e-05 0.01% MLMG:computeResOfCorrection() 180 5.028e-05 5.028e-05 5.028e-05 0.01% Gravity::solve_for_phi() 5 5.003e-05 5.003e-05 5.003e-05 0.01% Castro::finalize_do_advance() 5 4.373e-05 4.373e-05 4.373e-05 0.01% MLMG::solve() 6 3.91e-05 3.91e-05 3.91e-05 0.01% Castro::initialize_advance() 5 3.733e-05 3.733e-05 3.733e-05 0.01% Castro::post_timestep() 5 3.644e-05 3.644e-05 3.644e-05 0.01% MLMG::actualBottomSolve() 36 3.643e-05 3.643e-05 3.643e-05 0.01% MLMG::mgVcycle_down::0 36 3.461e-05 3.461e-05 3.461e-05 0.01% MLMG::mgVcycle_down::1 36 3.295e-05 3.295e-05 3.295e-05 0.01% Castro::clean_state() 30 3.281e-05 3.281e-05 3.281e-05 0.01% MLMG::mgVcycle_down::2 36 3.174e-05 3.174e-05 3.174e-05 0.01% MLMG::mgVcycle_down::4 36 3.064e-05 3.064e-05 3.064e-05 0.01% MLMG::mgVcycle_down::3 36 2.848e-05 2.848e-05 2.848e-05 0.01% Castro::construct_old_source() 25 2.839e-05 2.839e-05 2.839e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.556e-05 2.556e-05 2.556e-05 0.01% MLMG::mgVcycle_up::4 36 2.499e-05 2.499e-05 2.499e-05 0.01% MLMG::oneIter() 36 2.429e-05 2.429e-05 2.429e-05 0.01% MLPoisson::define() 6 2.335e-05 2.335e-05 2.335e-05 0.00% Castro::post_restart() 1 2.199e-05 2.199e-05 2.199e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.166e-05 2.166e-05 2.166e-05 0.00% MLMG::mgVcycle_up::3 36 2.099e-05 2.099e-05 2.099e-05 0.00% MLCellLinOp::solutionResidual() 42 2.092e-05 2.092e-05 2.092e-05 0.00% MLMG::mgVcycle_up::0 36 1.971e-05 1.971e-05 1.971e-05 0.00% MLMG::mgVcycle_up::2 36 1.889e-05 1.889e-05 1.889e-05 0.00% MLMG::mgVcycle_up::1 36 1.781e-05 1.781e-05 1.781e-05 0.00% FillPatchSingleLevel 20 1.659e-05 1.659e-05 1.659e-05 0.00% MLMG::ResNormInf() 42 1.552e-05 1.552e-05 1.552e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.394e-05 1.394e-05 1.394e-05 0.00% MLMG::mgVcycle_bottom 36 1.374e-05 1.374e-05 1.374e-05 0.00% MLMG::computeResidual() 36 1.328e-05 1.328e-05 1.328e-05 0.00% Castro::construct_new_gravity() 5 1.202e-05 1.202e-05 1.202e-05 0.00% Castro::do_old_sources() 5 1.096e-05 1.096e-05 1.096e-05 0.00% Castro::do_new_sources() 5 9.786e-06 9.786e-06 9.786e-06 0.00% Castro::expand_state() 5 8.981e-06 8.981e-06 8.981e-06 0.00% Gravity::actual_multilevel_solve() 1 8.815e-06 8.815e-06 8.815e-06 0.00% MLMG::getGradSolution() 6 8.193e-06 8.193e-06 8.193e-06 0.00% Castro::apply_source_to_state() 10 6.132e-06 6.132e-06 6.132e-06 0.00% Castro::construct_old_gravity() 5 5.084e-06 5.084e-06 5.084e-06 0.00% MLMG::computeMLResidual() 6 4.423e-06 4.423e-06 4.423e-06 0.00% MLPoisson::prepareForSolve() 6 3.591e-06 3.591e-06 3.591e-06 0.00% Castro::computeNewDt() 5 3.492e-06 3.492e-06 3.492e-06 0.00% Amr::init() 1 9.2e-07 9.2e-07 9.2e-07 0.00% Other 2170 0.002574 0.002574 0.002574 0.53% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.484 0.484 0.484 100.00% Amr::coarseTimeStep() 5 0.3442 0.3442 0.3442 71.11% Amr::timeStep() 5 0.3421 0.3421 0.3421 70.68% Castro::advance() 5 0.3369 0.3369 0.3369 69.60% Castro::subcycle_advance_ctu() 5 0.329 0.329 0.329 67.97% Castro::do_advance_ctu() 5 0.3289 0.3289 0.3289 67.94% Castro::construct_ctu_hydro_source() 5 0.1545 0.1545 0.1545 31.92% Castro::construct_new_gravity() 5 0.1373 0.1373 0.1373 28.36% Gravity::solve_phi_with_mlmg() 6 0.1344 0.1344 0.1344 27.77% Gravity::solve_for_phi() 5 0.1292 0.1292 0.1292 26.69% Gravity::actual_solve_with_mlmg() 6 0.1289 0.1289 0.1289 26.63% MLMG::solve() 6 0.1166 0.1166 0.1166 24.09% MLMG::oneIter() 36 0.1087 0.1087 0.1087 22.46% MLMG::mgVcycle() 36 0.1071 0.1071 0.1071 22.14% Amr::init() 1 0.07292 0.07292 0.07292 15.06% Amr::restart() 1 0.07292 0.07292 0.07292 15.06% Amr::writePlotFile() 1 0.0661 0.0661 0.0661 13.65% AmrLevel::restart() 1 0.06205 0.06205 0.06205 12.82% StateData::restartDoit() 4 0.06197 0.06197 0.06197 12.80% VisMF::Read() 3 0.06168 0.06168 0.06168 12.74% MLCellLinOp::smooth() 720 0.05345 0.05345 0.05345 11.04% MLCellLinOp::applyBC() 1910 0.04984 0.04984 0.04984 10.30% MLMG::mgVcycle_bottom 36 0.03195 0.03195 0.03195 6.60% MLMG::actualBottomSolve() 36 0.03194 0.03194 0.03194 6.60% MLCGSolver::bicgstab 36 0.03156 0.03156 0.03156 6.52% Castro::clean_state() 30 0.02946 0.02946 0.02946 6.09% VisMF::Write(FabArray) 1 0.02579 0.02579 0.02579 5.33% AmrLevel::FillPatch() 20 0.02318 0.02318 0.02318 4.79% FillPatchIterator::Initialize 20 0.02106 0.02106 0.02106 4.35% FillPatchIterator::FillFromLevel0() 20 0.02023 0.02023 0.02023 4.18% FillPatchSingleLevel 20 0.02021 0.02021 0.02021 4.18% StateDataPhysBCFunct::() 20 0.01813 0.01813 0.01813 3.75% MLCellLinOp::apply() 464 0.01627 0.01627 0.01627 3.36% MLMG::mgVcycle_down::0 36 0.01521 0.01521 0.01521 3.14% MLPoisson::Fsmooth() 1440 0.01495 0.01495 0.01495 3.09% FabArray::FillBoundary() 1730 0.01383 0.01383 0.01383 2.86% FillBoundary_nowait() 1730 0.01346 0.01346 0.01346 2.78% StateData::FillBoundary(geom) 160 0.01308 0.01308 0.01308 2.70% MLMG::mgVcycle_up::0 36 0.01138 0.01138 0.01138 2.35% Castro::initialize_do_advance() 5 0.01136 0.01136 0.01136 2.35% Castro::computeTemp() 30 0.01108 0.01108 0.01108 2.29% Castro::normalize_species() 30 0.01108 0.01108 0.01108 2.29% MLPoisson::define() 6 0.009651 0.009651 0.009651 1.99% Castro::do_old_sources() 5 0.009499 0.009499 0.009499 1.96% amrex::Dot() 484 0.009356 0.009356 0.009356 1.93% MLMG:computeResOfCorrection() 180 0.009047 0.009047 0.009047 1.87% MLCellLinOp::correctionResidual() 180 0.008997 0.008997 0.008997 1.86% FabArray::norminf() 465 0.008803 0.008803 0.008803 1.82% Gravity::get_new_grav_vector() 5 0.007978 0.007978 0.007978 1.65% Castro::construct_old_gravity() 5 0.007769 0.007769 0.007769 1.60% Gravity::get_old_grav_vector() 5 0.007764 0.007764 0.007764 1.60% Castro::initialize_advance() 5 0.007525 0.007525 0.007525 1.55% MLMG::mgVcycle_down::1 36 0.007444 0.007444 0.007444 1.54% Castro::do_new_sources() 5 0.007 0.007 0.007 1.45% MLMG::mgVcycle_down::2 36 0.00686 0.00686 0.00686 1.42% FabArray::ParallelCopy() 380 0.006759 0.006759 0.006759 1.40% FabArray::setVal() 501 0.006715 0.006715 0.006715 1.39% MLMG::mgVcycle_down::3 36 0.006677 0.006677 0.006677 1.38% FabArray::ParallelCopy_nowait() 380 0.006648 0.006648 0.006648 1.37% MLMG::mgVcycle_down::4 36 0.006589 0.006589 0.006589 1.36% MLCellLinOp::defineAuxData() 6 0.006506 0.006506 0.006506 1.34% Castro::enforce_min_density() 30 0.006309 0.006309 0.006309 1.30% Castro::expand_state() 5 0.006197 0.006197 0.006197 1.28% FabArray::Saxpy() 597 0.005916 0.005916 0.005916 1.22% Castro::post_restart() 1 0.005889 0.005889 0.005889 1.22% MLCGSolver::ParallelAllReduce 798 0.005633 0.005633 0.005633 1.16% amrex::Copy() 221 0.00553 0.00553 0.00553 1.14% Gravity::multilevel_solve_for_new_phi() 1 0.005511 0.005511 0.005511 1.14% MLMG::addInterpCorrection() 180 0.005499 0.005499 0.005499 1.14% Gravity::actual_multilevel_solve() 1 0.005485 0.005485 0.005485 1.13% Gravity::fill_multipole_BCs() 6 0.005383 0.005383 0.005383 1.11% MLMG::mgVcycle_up::4 36 0.005327 0.005327 0.005327 1.10% MLMG::mgVcycle_up::1 36 0.005311 0.005311 0.005311 1.10% MLMG::mgVcycle_up::2 36 0.005198 0.005198 0.005198 1.07% Castro::post_timestep() 5 0.005136 0.005136 0.005136 1.06% amrex::average_down 180 0.005121 0.005121 0.005121 1.06% MLMG::mgVcycle_up::3 36 0.005115 0.005115 0.005115 1.06% MLPoisson::Fapply() 464 0.004552 0.004552 0.004552 0.94% MLCellLinOp::solutionResidual() 42 0.003726 0.003726 0.003726 0.77% FabArray::Xpay() 325 0.003534 0.003534 0.003534 0.73% Castro::reset_internal_energy(MultiFab) 30 0.003097 0.003097 0.003097 0.64% MLCellLinOp::defineBC() 6 0.002986 0.002986 0.002986 0.62% MLMG::prepareForSolve() 6 0.002961 0.002961 0.002961 0.61% MLMG::computeResidual() 36 0.0029 0.0029 0.0029 0.60% BndryData::define() 6 0.002843 0.002843 0.002843 0.59% Castro::estTimeStep() 10 0.002795 0.002795 0.002795 0.58% Castro::computeNewDt() 5 0.001934 0.001934 0.001934 0.40% Castro::construct_new_source() 25 0.001789 0.001789 0.001789 0.37% Castro::construct_new_gravity_source() 5 0.001729 0.001729 0.001729 0.36% amrex::Add() 36 0.001557 0.001557 0.001557 0.32% Castro::construct_old_source() 25 0.001489 0.001489 0.001489 0.31% Castro::construct_old_gravity_source() 5 0.00146 0.00146 0.00146 0.30% MLMG::ResNormInf() 42 0.001006 0.001006 0.001006 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009989 0.0009989 0.0009989 0.21% Castro::apply_source_to_state() 10 0.0009642 0.0009642 0.0009642 0.20% Castro::enforce_speed_limit() 30 0.0009603 0.0009603 0.0009603 0.20% check_for_negative_density() 5 0.000929 0.000929 0.000929 0.19% MLMG::getGradSolution() 6 0.0009134 0.0009134 0.0009134 0.19% Castro::finalize_do_advance() 5 0.0009088 0.0009088 0.0009088 0.19% MLCellLinOp::compGrad() 6 0.0009052 0.0009052 0.0009052 0.19% MLCellLinOp::setLevelBC() 6 0.0008974 0.0008974 0.0008974 0.19% Castro::reset_internal_energy(Fab) 240 0.0008642 0.0008642 0.0008642 0.18% MLMG::computeMLResidual() 6 0.0008443 0.0008443 0.0008443 0.17% FabArrayBase::getCPC() 632 0.000808 0.000808 0.000808 0.17% MLPoisson::prepareForSolve() 6 0.0008043 0.0008043 0.0008043 0.17% MLCellLinOp::prepareForSolve() 6 0.0008007 0.0008007 0.0008007 0.17% Gravity::update_max_rhs() 6 0.0007285 0.0007285 0.0007285 0.15% FabArray::setDomainBndry() 20 0.0007155 0.0007155 0.0007155 0.15% FabArray::mult() 22 0.0006977 0.0006977 0.0006977 0.14% Other 2170 0.004486 0.004486 0.004486 0.93% -------------------------------------------------------------------------------------------- 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 10 MiB 9037 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 956 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1576 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 6522 KiB 14 MiB MLMG::prepareForSolve() 361 361 2956 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 166 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 168 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6510 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 17 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2997 B 2048 KiB Gravity::solve_for_phi() 40 40 545 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 23 KiB 2048 KiB BndryData::define() 576 576 272 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 175 KiB 671 KiB Castro::estTimeStep() 10 10 2756 B 480 KiB VisMF::Write(FabArray) 112 112 1149 B 320 KiB Castro::normalize_species() 30 30 7457 B 320 KiB amrex::average_down 469 469 1309 B 257 KiB MLMG::addInterpCorrection() 468 468 973 B 257 KiB amrex::Dot() 592 592 2857 B 160 KiB FabArray::norminf() 501 501 2813 B 160 KiB check_for_negative_density() 5 5 308 B 160 KiB MultiFab::max() 6 6 67 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 2863 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 233 B 9648 B MLCellLinOp::applyBC() 3820 3820 185 B 9344 B amrex::Copy() 56 56 5843 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 306 B 1248 B MLCGSolver::bicgstab 180 180 78 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1075 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 75 KiB 8192 KiB VisMF::Write(FabArray) 120 120 149 KiB 3584 KiB VisMF::Read() 24 24 194 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2863 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 233 B 9648 B MLCellLinOp::applyBC() 1910 1910 184 B 9328 B amrex::Copy() 56 56 5843 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2567 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 36 B 2544 B MLMG::prepareForSolve() 7 7 777 B 1648 B amrex::average_down 37 37 474 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 20 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): 12049 Free GPU global memory (MB): 2105 [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 (24.06-3-g0a691f6f4804) finalized