Initializing AMReX (24.05-23-g8c5d761fe7a6)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-23-g8c5d761fe7a6) initialized Starting run at 09:05:51 UTC on 2024-05-22. Successfully read inputs file ... Castro git describe: 24.05-12-g105bb7768 AMReX git describe: 24.05-23-g8c5d761fe Microphysics git describe: 24.05-9-gd99de4ab 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.045482348 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025461695 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.064063463 [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.065134223 [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.082196005 [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.074825261 [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.066480896 [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.045292109 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.051490583 [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.075379049 [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.074788991 [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.065601225 [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.06904663 [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.043848744 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025341959 seconds Ending run at 09:05:52 UTC on 2024-05-22. Run time = 0.930465566 Run time without initialization = 0.804177304 Average number of zones advanced per microsecond: 3.260 Average number of zones advanced per microsecond per rank: 3.260 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9305 ... 0.9305 ... 0.9305 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2984 0.2984 0.2984 32.07% VisMF::Write(FabArray) 11 0.1769 0.1769 0.1769 19.01% MLCellLinOp::applyBC() 4351 0.08814 0.08814 0.08814 9.47% MLPoisson::Fsmooth() 3280 0.03408 0.03408 0.03408 3.66% FillBoundary_nowait() 3941 0.03131 0.03131 0.03131 3.36% StateData::FillBoundary(geom) 328 0.02654 0.02654 0.02654 2.85% Castro::normalize_species() 62 0.02188 0.02188 0.02188 2.35% amrex::Dot() 1114 0.02185 0.02185 0.02185 2.35% FabArray::norminf() 1061 0.02019 0.02019 0.02019 2.17% Castro::computeTemp() 63 0.01663 0.01663 0.01663 1.79% FabArray::ParallelCopy_nowait() 861 0.01387 0.01387 0.01387 1.49% FabArray::setVal() 1062 0.01363 0.01363 0.01363 1.46% FabArray::Saxpy() 1370 0.0133 0.0133 0.0133 1.43% StateDataPhysBCFunct::() 41 0.01209 0.01209 0.01209 1.30% amrex::Copy() 472 0.01101 0.01101 0.01101 1.18% Castro::enforce_min_density() 62 0.01087 0.01087 0.01087 1.17% MLPoisson::Fapply() 1060 0.01053 0.01053 0.01053 1.13% MLCellLinOp::defineAuxData() 11 0.01039 0.01039 0.01039 1.12% Gravity::fill_multipole_BCs() 11 0.00965 0.00965 0.00965 1.04% FabArray::Xpay() 739 0.007986 0.007986 0.007986 0.86% MLMG::addInterpCorrection() 410 0.007122 0.007122 0.007122 0.77% amrex::average_down 410 0.006284 0.006284 0.006284 0.68% Amr::checkPoint() 3 0.005992 0.005992 0.005992 0.64% Castro::estTimeStep() 21 0.005699 0.005699 0.005699 0.61% Castro::reset_internal_energy(MultiFab) 63 0.00517 0.00517 0.00517 0.56% BndryData::define() 11 0.004076 0.004076 0.004076 0.44% amrex::Add() 82 0.00362 0.00362 0.00362 0.39% Castro::construct_new_gravity_source() 10 0.003376 0.003376 0.003376 0.36% Castro::enforce_speed_limit() 62 0.00312 0.00312 0.00312 0.34% Castro::construct_old_gravity_source() 10 0.002813 0.002813 0.002813 0.30% Amr::writePlotFile() 2 0.002151 0.002151 0.002151 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001811 0.001811 0.001811 0.19% check_for_negative_density() 10 0.00176 0.00176 0.00176 0.19% Castro::reset_internal_energy(Fab) 504 0.001759 0.001759 0.001759 0.19% MLCellLinOp::setLevelBC() 11 0.001617 0.001617 0.001617 0.17% MLCGSolver::bicgstab 82 0.001604 0.001604 0.001604 0.17% Gravity::actual_solve_with_mlmg() 11 0.001549 0.001549 0.001549 0.17% Castro::initData() 1 0.001548 0.001548 0.001548 0.17% FabArray::mult() 43 0.001385 0.001385 0.001385 0.15% FabArray::setDomainBndry() 41 0.001384 0.001384 0.001384 0.15% MLCellLinOp::prepareForSolve() 11 0.001318 0.001318 0.001318 0.14% MultiFab::contains_nan() 20 0.001284 0.001284 0.001284 0.14% MLCellLinOp::compGrad() 11 0.00113 0.00113 0.00113 0.12% MLCellLinOp::smooth() 1640 0.001082 0.001082 0.001082 0.12% MLMG::prepareForSolve() 11 0.0009567 0.0009567 0.0009567 0.10% FabArray::FillBoundary() 3941 0.0008271 0.0008271 0.0008271 0.09% FabArrayBase::getCPC() 1323 0.000823 0.000823 0.000823 0.09% Gravity::get_new_grav_vector() 11 0.0006074 0.0006074 0.0006074 0.07% Gravity::get_old_grav_vector() 10 0.0004798 0.0004798 0.0004798 0.05% MLCellLinOp::apply() 1060 0.0004308 0.0004308 0.0004308 0.05% AmrLevel::FillPatch() 41 0.0004048 0.0004048 0.0004048 0.04% Amr::coarseTimeStep() 10 0.000334 0.000334 0.000334 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003118 0.0003118 0.0003118 0.03% main() 1 0.000294 0.000294 0.000294 0.03% MLCellLinOp::defineBC() 11 0.0002576 0.0002576 0.0002576 0.03% FabArray::ParallelCopy() 861 0.0002476 0.0002476 0.0002476 0.03% FillPatchIterator::Initialize 41 0.0002163 0.0002163 0.0002163 0.02% MLMG::mgVcycle() 82 0.0002099 0.0002099 0.0002099 0.02% Castro::subcycle_advance_ctu() 10 0.0001927 0.0001927 0.0001927 0.02% MLCellLinOp::correctionResidual() 410 0.0001705 0.0001705 0.0001705 0.02% Amr::timeStep() 10 0.0001511 0.0001511 0.0001511 0.02% Castro::advance() 10 0.0001307 0.0001307 0.0001307 0.01% MLMG:computeResOfCorrection() 410 0.0001141 0.0001141 0.0001141 0.01% Castro::construct_new_source() 50 0.000109 0.000109 0.000109 0.01% StateData::checkPoint() 12 0.0001087 0.0001087 0.0001087 0.01% Gravity::solve_for_phi() 10 0.0001067 0.0001067 0.0001067 0.01% MLMG::actualBottomSolve() 82 8.266e-05 8.266e-05 8.266e-05 0.01% Castro::initialize_advance() 10 7.752e-05 7.752e-05 7.752e-05 0.01% MLMG::mgVcycle_down::0 82 7.629e-05 7.629e-05 7.629e-05 0.01% MLMG::solve() 11 7.338e-05 7.338e-05 7.338e-05 0.01% Castro::clean_state() 62 7.105e-05 7.105e-05 7.105e-05 0.01% MLMG::mgVcycle_down::1 82 6.766e-05 6.766e-05 6.766e-05 0.01% MLMG::mgVcycle_down::2 82 6.654e-05 6.654e-05 6.654e-05 0.01% MLMG::mgVcycle_down::4 82 6.586e-05 6.586e-05 6.586e-05 0.01% MLMG::mgVcycle_down::3 82 6.224e-05 6.224e-05 6.224e-05 0.01% MLMG::oneIter() 82 6.113e-05 6.113e-05 6.113e-05 0.01% AmrLevel::checkPoint() 3 6.003e-05 6.003e-05 6.003e-05 0.01% Castro::initialize_do_advance() 10 5.857e-05 5.857e-05 5.857e-05 0.01% Castro::do_new_sources() 10 5.536e-05 5.536e-05 5.536e-05 0.01% MLMG::mgVcycle_up::4 82 5.459e-05 5.459e-05 5.459e-05 0.01% MLMG::mgVcycle_up::0 82 4.955e-05 4.955e-05 4.955e-05 0.01% Castro::do_advance_ctu() 10 4.745e-05 4.745e-05 4.745e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.712e-05 4.712e-05 4.712e-05 0.01% MLCellLinOp::solutionResidual() 93 4.663e-05 4.663e-05 4.663e-05 0.01% MLMG::mgVcycle_up::3 82 4.615e-05 4.615e-05 4.615e-05 0.00% MLMG::mgVcycle_up::2 82 4.542e-05 4.542e-05 4.542e-05 0.00% MLMG::mgVcycle_up::1 82 4.497e-05 4.497e-05 4.497e-05 0.00% Castro::finalize_do_advance() 10 4.343e-05 4.343e-05 4.343e-05 0.00% MLMG::mgVcycle_bottom 82 4.16e-05 4.16e-05 4.16e-05 0.00% FillPatchSingleLevel 41 3.652e-05 3.652e-05 3.652e-05 0.00% Amr::defBaseLevel() 1 3.333e-05 3.333e-05 3.333e-05 0.00% MLMG::computeResidual() 82 3.249e-05 3.249e-05 3.249e-05 0.00% MLMG::ResNormInf() 93 3.093e-05 3.093e-05 3.093e-05 0.00% Castro::construct_new_gravity() 10 2.535e-05 2.535e-05 2.535e-05 0.00% MLPoisson::define() 11 2.524e-05 2.524e-05 2.524e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.24e-05 2.24e-05 2.24e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.167e-05 2.167e-05 2.167e-05 0.00% Castro::do_old_sources() 10 2.013e-05 2.013e-05 2.013e-05 0.00% Castro::construct_old_source() 50 1.904e-05 1.904e-05 1.904e-05 0.00% Amr::FinalizeInit() 1 1.789e-05 1.789e-05 1.789e-05 0.00% Castro::check_for_nan() 20 1.141e-05 1.141e-05 1.141e-05 0.00% Castro::apply_source_to_state() 20 1.14e-05 1.14e-05 1.14e-05 0.00% Castro::construct_old_gravity() 10 1.059e-05 1.059e-05 1.059e-05 0.00% Castro::post_timestep() 10 8.988e-06 8.988e-06 8.988e-06 0.00% MLMG::computeMLResidual() 11 8.937e-06 8.937e-06 8.937e-06 0.00% Gravity::actual_multilevel_solve() 1 8.463e-06 8.463e-06 8.463e-06 0.00% MLPoisson::prepareForSolve() 11 6.55e-06 6.55e-06 6.55e-06 0.00% Castro::computeNewDt() 9 6.258e-06 6.258e-06 6.258e-06 0.00% MLMG::getGradSolution() 11 5.938e-06 5.938e-06 5.938e-06 0.00% Castro::expand_state() 10 5.659e-06 5.659e-06 5.659e-06 0.00% Amr::InitializeInit() 1 5.56e-06 5.56e-06 5.56e-06 0.00% Castro::post_init() 1 3.992e-06 3.992e-06 3.992e-06 0.00% Amr::init() 1 3.033e-06 3.033e-06 3.033e-06 0.00% Amr::initialInit() 1 1.052e-06 1.052e-06 1.052e-06 0.00% Other 4753 0.003384 0.003384 0.003384 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9305 0.9305 0.9305 100.00% Amr::coarseTimeStep() 10 0.7786 0.7786 0.7786 83.67% Amr::timeStep() 10 0.6855 0.6855 0.6855 73.67% Castro::advance() 10 0.6752 0.6752 0.6752 72.57% Castro::subcycle_advance_ctu() 10 0.6611 0.6611 0.6611 71.04% Castro::do_advance_ctu() 10 0.6609 0.6609 0.6609 71.02% Castro::construct_ctu_hydro_source() 10 0.3096 0.3096 0.3096 33.27% Gravity::solve_phi_with_mlmg() 11 0.3052 0.3052 0.3052 32.79% Gravity::actual_solve_with_mlmg() 11 0.295 0.295 0.295 31.71% Castro::construct_new_gravity() 10 0.2766 0.2766 0.2766 29.73% MLMG::solve() 11 0.2728 0.2728 0.2728 29.31% Gravity::solve_for_phi() 10 0.2599 0.2599 0.2599 27.93% MLMG::oneIter() 82 0.2572 0.2572 0.2572 27.64% MLMG::mgVcycle() 82 0.2535 0.2535 0.2535 27.24% VisMF::Write(FabArray) 11 0.1769 0.1769 0.1769 19.01% Amr::checkPoint() 3 0.1348 0.1348 0.1348 14.49% MLCellLinOp::smooth() 1640 0.1298 0.1298 0.1298 13.95% AmrLevel::checkPoint() 3 0.1288 0.1288 0.1288 13.84% StateData::checkPoint() 12 0.1287 0.1287 0.1287 13.84% Amr::init() 1 0.1256 0.1256 0.1256 13.49% MLCellLinOp::applyBC() 4351 0.121 0.121 0.121 13.00% MLMG::mgVcycle_bottom 82 0.07399 0.07399 0.07399 7.95% MLMG::actualBottomSolve() 82 0.07395 0.07395 0.07395 7.95% MLCGSolver::bicgstab 82 0.07312 0.07312 0.07312 7.86% Castro::clean_state() 62 0.05856 0.05856 0.05856 6.29% Amr::initialInit() 1 0.05446 0.05446 0.05446 5.85% Amr::writePlotFile() 2 0.05095 0.05095 0.05095 5.48% Amr::FinalizeInit() 1 0.04917 0.04917 0.04917 5.28% AmrLevel::FillPatch() 41 0.04871 0.04871 0.04871 5.23% Castro::post_init() 1 0.04803 0.04803 0.04803 5.16% Gravity::multilevel_solve_for_new_phi() 1 0.0457 0.0457 0.0457 4.91% Gravity::actual_multilevel_solve() 1 0.04568 0.04568 0.04568 4.91% FillPatchIterator::Initialize 41 0.04441 0.04441 0.04441 4.77% FillPatchIterator::FillFromLevel0() 41 0.04281 0.04281 0.04281 4.60% FillPatchSingleLevel 41 0.04276 0.04276 0.04276 4.60% StateDataPhysBCFunct::() 41 0.03863 0.03863 0.03863 4.15% MLCellLinOp::apply() 1060 0.03678 0.03678 0.03678 3.95% MLMG::mgVcycle_down::0 82 0.03494 0.03494 0.03494 3.75% MLPoisson::Fsmooth() 3280 0.03408 0.03408 0.03408 3.66% FabArray::FillBoundary() 3941 0.03286 0.03286 0.03286 3.53% FillBoundary_nowait() 3941 0.03203 0.03203 0.03203 3.44% MLMG::mgVcycle_up::0 82 0.02663 0.02663 0.02663 2.86% StateData::FillBoundary(geom) 328 0.02654 0.02654 0.02654 2.85% Castro::computeTemp() 63 0.02356 0.02356 0.02356 2.53% MLMG::mgVcycle_down::3 82 0.02237 0.02237 0.02237 2.40% Castro::initialize_do_advance() 10 0.02235 0.02235 0.02235 2.40% Castro::normalize_species() 62 0.02188 0.02188 0.02188 2.35% amrex::Dot() 1114 0.02185 0.02185 0.02185 2.35% MLMG:computeResOfCorrection() 410 0.02066 0.02066 0.02066 2.22% MLCellLinOp::correctionResidual() 410 0.02055 0.02055 0.02055 2.21% FabArray::norminf() 1061 0.02019 0.02019 0.02019 2.17% Castro::do_old_sources() 10 0.02019 0.02019 0.02019 2.17% Gravity::get_new_grav_vector() 11 0.01861 0.01861 0.01861 2.00% MLPoisson::define() 11 0.01747 0.01747 0.01747 1.88% MLMG::mgVcycle_down::1 82 0.01677 0.01677 0.01677 1.80% MLMG::mgVcycle_down::2 82 0.0156 0.0156 0.0156 1.68% Castro::construct_old_gravity() 10 0.01541 0.01541 0.01541 1.66% Gravity::get_old_grav_vector() 10 0.0154 0.0154 0.0154 1.66% MLMG::mgVcycle_down::4 82 0.01518 0.01518 0.01518 1.63% FabArray::ParallelCopy() 861 0.01495 0.01495 0.01495 1.61% FabArray::ParallelCopy_nowait() 861 0.01471 0.01471 0.01471 1.58% Castro::do_new_sources() 10 0.01371 0.01371 0.01371 1.47% FabArray::setVal() 1062 0.01363 0.01363 0.01363 1.46% Castro::initialize_advance() 10 0.0134 0.0134 0.0134 1.44% FabArray::Saxpy() 1370 0.0133 0.0133 0.0133 1.43% MLCGSolver::ParallelAllReduce 1832 0.01305 0.01305 0.01305 1.40% MLMG::addInterpCorrection() 410 0.01253 0.01253 0.01253 1.35% MLMG::mgVcycle_up::1 82 0.01217 0.01217 0.01217 1.31% MLMG::mgVcycle_up::4 82 0.0121 0.0121 0.0121 1.30% MLMG::mgVcycle_up::2 82 0.01187 0.01187 0.01187 1.28% MLCellLinOp::defineAuxData() 11 0.01183 0.01183 0.01183 1.27% Castro::expand_state() 10 0.01178 0.01178 0.01178 1.27% amrex::average_down 410 0.01173 0.01173 0.01173 1.26% MLMG::mgVcycle_up::3 82 0.01166 0.01166 0.01166 1.25% amrex::Copy() 472 0.01101 0.01101 0.01101 1.18% Castro::enforce_min_density() 62 0.01087 0.01087 0.01087 1.17% MLPoisson::Fapply() 1060 0.01053 0.01053 0.01053 1.13% Castro::post_timestep() 10 0.01017 0.01017 0.01017 1.09% Gravity::fill_multipole_BCs() 11 0.009884 0.009884 0.009884 1.06% FabArray::Xpay() 739 0.007986 0.007986 0.007986 0.86% MLCellLinOp::solutionResidual() 93 0.007868 0.007868 0.007868 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006929 0.006929 0.006929 0.74% MLMG::computeResidual() 82 0.006607 0.006607 0.006607 0.71% Castro::estTimeStep() 21 0.005699 0.005699 0.005699 0.61% MLCellLinOp::defineBC() 11 0.005369 0.005369 0.005369 0.58% Amr::InitializeInit() 1 0.005281 0.005281 0.005281 0.57% Amr::defBaseLevel() 1 0.005275 0.005275 0.005275 0.57% MLMG::prepareForSolve() 11 0.005192 0.005192 0.005192 0.56% BndryData::define() 11 0.005112 0.005112 0.005112 0.55% Castro::initData() 1 0.004579 0.004579 0.004579 0.49% amrex::Add() 82 0.00362 0.00362 0.00362 0.39% Castro::construct_new_source() 50 0.003485 0.003485 0.003485 0.37% Castro::construct_new_gravity_source() 10 0.003376 0.003376 0.003376 0.36% Castro::enforce_speed_limit() 62 0.00312 0.00312 0.00312 0.34% Castro::construct_old_source() 50 0.002832 0.002832 0.002832 0.30% Castro::construct_old_gravity_source() 10 0.002813 0.002813 0.002813 0.30% Castro::computeNewDt() 9 0.002729 0.002729 0.002729 0.29% MLMG::ResNormInf() 93 0.00218 0.00218 0.00218 0.23% Castro::finalize_do_advance() 10 0.002014 0.002014 0.002014 0.22% Castro::apply_source_to_state() 20 0.001889 0.001889 0.001889 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001811 0.001811 0.001811 0.19% check_for_negative_density() 10 0.00176 0.00176 0.00176 0.19% Castro::reset_internal_energy(Fab) 504 0.001759 0.001759 0.001759 0.19% MLMG::getGradSolution() 11 0.001652 0.001652 0.001652 0.18% MLCellLinOp::compGrad() 11 0.001646 0.001646 0.001646 0.18% MLCellLinOp::setLevelBC() 11 0.001617 0.001617 0.001617 0.17% FabArrayBase::getCPC() 1323 0.001505 0.001505 0.001505 0.16% FabArray::mult() 43 0.001385 0.001385 0.001385 0.15% FabArray::setDomainBndry() 41 0.001384 0.001384 0.001384 0.15% MLPoisson::prepareForSolve() 11 0.001324 0.001324 0.001324 0.14% MLCellLinOp::prepareForSolve() 11 0.001318 0.001318 0.001318 0.14% MLMG::computeMLResidual() 11 0.001303 0.001303 0.001303 0.14% Castro::check_for_nan() 20 0.001296 0.001296 0.001296 0.14% MultiFab::contains_nan() 20 0.001284 0.001284 0.001284 0.14% Other 4753 0.008962 0.008962 0.008962 0.96% -------------------------------------------------------------------------------------------- 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 5749 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 1010 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1528 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3607 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2088 B 2048 KiB Gravity::solve_for_phi() 80 80 571 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 329 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 2986 B 480 KiB VisMF::Write(FabArray) 656 656 3341 B 320 KiB Castro::normalize_species() 62 62 7663 B 320 KiB amrex::average_down 1067 1067 1590 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1161 B 257 KiB amrex::Dot() 1360 1360 3469 B 160 KiB FabArray::norminf() 1143 1143 3358 B 160 KiB check_for_negative_density() 10 10 303 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3523 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 293 B 9648 B MLCellLinOp::applyBC() 8702 8702 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3960 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 371 B 1248 B MLCGSolver::bicgstab 410 410 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 562 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 415 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3523 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 4351 4351 224 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3960 B 6144 B Gravity::get_new_grav_vector() 3 3 2894 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 45 B 2592 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 300 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 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.05-23-g8c5d761fe7a6) finalized Initializing AMReX (24.05-23-g8c5d761fe7a6)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-23-g8c5d761fe7a6) initialized Starting run at 09:05:53 UTC on 2024-05-22. Successfully read inputs file ... Castro git describe: 24.05-12-g105bb7768 AMReX git describe: 24.05-23-g8c5d761fe Microphysics git describe: 24.05-9-gd99de4ab reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.524314779 Restart time = 0.073661546 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.070400374 [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.050152221 [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.074095058 [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.081221331 [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.06286981 [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.027473242 seconds Ending run at 09:05:54 UTC on 2024-05-22. Run time = 0.441029402 Run time without initialization = 0.366659446 Average number of zones advanced per microsecond: 3.575 Average number of zones advanced per microsecond per rank: 3.575 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4411 ... 0.4411 ... 0.4411 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1425 0.1425 0.1425 32.30% VisMF::Read() 3 0.06229 0.06229 0.06229 14.12% MLCellLinOp::applyBC() 1910 0.03647 0.03647 0.03647 8.27% VisMF::Write(FabArray) 1 0.02479 0.02479 0.02479 5.62% MLPoisson::Fsmooth() 1440 0.01524 0.01524 0.01524 3.45% StateData::FillBoundary(geom) 160 0.01338 0.01338 0.01338 3.03% FillBoundary_nowait() 1730 0.01307 0.01307 0.01307 2.96% Castro::normalize_species() 30 0.009754 0.009754 0.009754 2.21% amrex::Dot() 484 0.009514 0.009514 0.009514 2.16% FabArray::norminf() 465 0.008898 0.008898 0.008898 2.02% Castro::computeTemp() 30 0.007178 0.007178 0.007178 1.63% FabArray::setVal() 501 0.006721 0.006721 0.006721 1.52% FabArray::ParallelCopy_nowait() 380 0.006392 0.006392 0.006392 1.45% FabArray::Saxpy() 597 0.006033 0.006033 0.006033 1.37% MLCellLinOp::defineAuxData() 6 0.005763 0.005763 0.005763 1.31% Castro::enforce_min_density() 30 0.00565 0.00565 0.00565 1.28% amrex::Copy() 221 0.005537 0.005537 0.005537 1.26% StateDataPhysBCFunct::() 20 0.005518 0.005518 0.005518 1.25% Gravity::fill_multipole_BCs() 6 0.005353 0.005353 0.005353 1.21% Amr::restart() 1 0.004941 0.004941 0.004941 1.12% MLPoisson::Fapply() 464 0.004668 0.004668 0.004668 1.06% FabArray::Xpay() 325 0.003572 0.003572 0.003572 0.81% MLMG::addInterpCorrection() 180 0.003214 0.003214 0.003214 0.73% Castro::estTimeStep() 10 0.003086 0.003086 0.003086 0.70% amrex::average_down 180 0.002808 0.002808 0.002808 0.64% Amr::writePlotFile() 1 0.002526 0.002526 0.002526 0.57% BndryData::define() 6 0.002278 0.002278 0.002278 0.52% Castro::construct_new_gravity_source() 5 0.001769 0.001769 0.001769 0.40% amrex::Add() 36 0.001554 0.001554 0.001554 0.35% Castro::construct_old_gravity_source() 5 0.001526 0.001526 0.001526 0.35% Castro::reset_internal_energy(MultiFab) 30 0.001512 0.001512 0.001512 0.34% Castro::enforce_speed_limit() 30 0.001243 0.001243 0.001243 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001014 0.001014 0.001014 0.23% check_for_negative_density() 5 0.0009389 0.0009389 0.0009389 0.21% MLCellLinOp::setLevelBC() 6 0.0009008 0.0009008 0.0009008 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008704 0.0008704 0.0008704 0.20% Castro::reset_internal_energy(Fab) 240 0.0008545 0.0008545 0.0008545 0.19% MLCellLinOp::prepareForSolve() 6 0.0007657 0.0007657 0.0007657 0.17% MLCGSolver::bicgstab 36 0.0007346 0.0007346 0.0007346 0.17% FabArray::setDomainBndry() 20 0.0007113 0.0007113 0.0007113 0.16% FabArray::mult() 22 0.0007053 0.0007053 0.0007053 0.16% MLCellLinOp::compGrad() 6 0.0006019 0.0006019 0.0006019 0.14% MLMG::prepareForSolve() 6 0.0005714 0.0005714 0.0005714 0.13% MLCellLinOp::smooth() 720 0.0005355 0.0005355 0.0005355 0.12% FabArrayBase::getCPC() 632 0.0003776 0.0003776 0.0003776 0.09% FabArray::FillBoundary() 1730 0.0003499 0.0003499 0.0003499 0.08% Gravity::get_old_grav_vector() 5 0.000319 0.000319 0.000319 0.07% main() 1 0.0002859 0.0002859 0.0002859 0.06% Gravity::get_new_grav_vector() 5 0.000265 0.000265 0.000265 0.06% AmrLevel::FillPatch() 20 0.0002067 0.0002067 0.0002067 0.05% MLCellLinOp::apply() 464 0.0002044 0.0002044 0.0002044 0.05% Amr::coarseTimeStep() 5 0.0001825 0.0001825 0.0001825 0.04% MLCellLinOp::defineBC() 6 0.000155 0.000155 0.000155 0.04% MLCGSolver::ParallelAllReduce 798 0.0001429 0.0001429 0.0001429 0.03% FabArray::ParallelCopy() 380 0.0001207 0.0001207 0.0001207 0.03% Amr::timeStep() 5 0.0001193 0.0001193 0.0001193 0.03% Castro::subcycle_advance_ctu() 5 0.0001108 0.0001108 0.0001108 0.03% FillPatchIterator::Initialize 20 0.0001105 0.0001105 0.0001105 0.03% Castro::construct_new_source() 25 0.0001068 0.0001068 0.0001068 0.02% MLMG::mgVcycle() 36 9.679e-05 9.679e-05 9.679e-05 0.02% Castro::advance() 5 8.938e-05 8.938e-05 8.938e-05 0.02% MLCellLinOp::correctionResidual() 180 7.975e-05 7.975e-05 7.975e-05 0.02% AmrLevel::restart() 1 7.643e-05 7.643e-05 7.643e-05 0.02% StateData::restartDoit() 4 6.512e-05 6.512e-05 6.512e-05 0.01% Gravity::update_max_rhs() 6 6.298e-05 6.298e-05 6.298e-05 0.01% Gravity::solve_for_phi() 5 5.204e-05 5.204e-05 5.204e-05 0.01% MLMG:computeResOfCorrection() 180 4.775e-05 4.775e-05 4.775e-05 0.01% Castro::do_advance_ctu() 5 4.758e-05 4.758e-05 4.758e-05 0.01% Castro::finalize_do_advance() 5 4.466e-05 4.466e-05 4.466e-05 0.01% MLMG::actualBottomSolve() 36 3.899e-05 3.899e-05 3.899e-05 0.01% Castro::initialize_advance() 5 3.863e-05 3.863e-05 3.863e-05 0.01% MLMG::solve() 6 3.781e-05 3.781e-05 3.781e-05 0.01% MLMG::mgVcycle_down::0 36 3.564e-05 3.564e-05 3.564e-05 0.01% Castro::clean_state() 30 3.52e-05 3.52e-05 3.52e-05 0.01% MLMG::mgVcycle_down::1 36 3.386e-05 3.386e-05 3.386e-05 0.01% MLMG::mgVcycle_down::2 36 3.117e-05 3.117e-05 3.117e-05 0.01% Castro::initialize_do_advance() 5 3.094e-05 3.094e-05 3.094e-05 0.01% MLMG::mgVcycle_down::4 36 3.047e-05 3.047e-05 3.047e-05 0.01% Castro::do_new_sources() 5 3.034e-05 3.034e-05 3.034e-05 0.01% Castro::construct_old_source() 25 2.891e-05 2.891e-05 2.891e-05 0.01% MLMG::mgVcycle_down::3 36 2.89e-05 2.89e-05 2.89e-05 0.01% MLMG::oneIter() 36 2.805e-05 2.805e-05 2.805e-05 0.01% MLMG::mgVcycle_up::4 36 2.654e-05 2.654e-05 2.654e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.407e-05 2.407e-05 2.407e-05 0.01% MLPoisson::define() 6 2.212e-05 2.212e-05 2.212e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.211e-05 2.211e-05 2.211e-05 0.01% MLMG::mgVcycle_up::3 36 2.196e-05 2.196e-05 2.196e-05 0.00% MLMG::mgVcycle_up::0 36 2.15e-05 2.15e-05 2.15e-05 0.00% MLCellLinOp::solutionResidual() 42 2.116e-05 2.116e-05 2.116e-05 0.00% Castro::post_restart() 1 2.089e-05 2.089e-05 2.089e-05 0.00% MLMG::computeMLResidual() 6 2.055e-05 2.055e-05 2.055e-05 0.00% MLMG::mgVcycle_up::2 36 2.021e-05 2.021e-05 2.021e-05 0.00% MLMG::mgVcycle_up::1 36 1.893e-05 1.893e-05 1.893e-05 0.00% FillPatchSingleLevel 20 1.77e-05 1.77e-05 1.77e-05 0.00% MLMG::ResNormInf() 42 1.585e-05 1.585e-05 1.585e-05 0.00% MLMG::mgVcycle_bottom 36 1.584e-05 1.584e-05 1.584e-05 0.00% MLMG::computeResidual() 36 1.464e-05 1.464e-05 1.464e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.457e-05 1.457e-05 1.457e-05 0.00% Castro::construct_new_gravity() 5 1.287e-05 1.287e-05 1.287e-05 0.00% Castro::do_old_sources() 5 1.047e-05 1.047e-05 1.047e-05 0.00% Castro::expand_state() 5 9.628e-06 9.628e-06 9.628e-06 0.00% Gravity::actual_multilevel_solve() 1 8.244e-06 8.244e-06 8.244e-06 0.00% MLMG::getGradSolution() 6 8.095e-06 8.095e-06 8.095e-06 0.00% Castro::check_for_nan() 10 6.689e-06 6.689e-06 6.689e-06 0.00% Castro::apply_source_to_state() 10 6.385e-06 6.385e-06 6.385e-06 0.00% Castro::construct_old_gravity() 5 6.108e-06 6.108e-06 6.108e-06 0.00% Castro::post_timestep() 5 5.453e-06 5.453e-06 5.453e-06 0.00% Castro::computeNewDt() 5 3.895e-06 3.895e-06 3.895e-06 0.00% MLPoisson::prepareForSolve() 6 3.755e-06 3.755e-06 3.755e-06 0.00% Amr::init() 1 9.17e-07 9.17e-07 9.17e-07 0.00% Other 2160 0.002591 0.002591 0.002591 0.59% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.441 0.441 0.441 100.00% Amr::coarseTimeStep() 5 0.3389 0.3389 0.3389 76.84% Amr::timeStep() 5 0.3367 0.3367 0.3367 76.34% Castro::advance() 5 0.331 0.331 0.331 75.05% Castro::subcycle_advance_ctu() 5 0.3234 0.3234 0.3234 73.31% Castro::do_advance_ctu() 5 0.3232 0.3232 0.3232 73.29% Castro::construct_ctu_hydro_source() 5 0.1475 0.1475 0.1475 33.44% Castro::construct_new_gravity() 5 0.1391 0.1391 0.1391 31.55% Gravity::solve_phi_with_mlmg() 6 0.1363 0.1363 0.1363 30.90% Gravity::solve_for_phi() 5 0.131 0.131 0.131 29.70% Gravity::actual_solve_with_mlmg() 6 0.1307 0.1307 0.1307 29.63% MLMG::solve() 6 0.1182 0.1182 0.1182 26.80% MLMG::oneIter() 36 0.1103 0.1103 0.1103 25.01% MLMG::mgVcycle() 36 0.1087 0.1087 0.1087 24.65% Amr::init() 1 0.07371 0.07371 0.07371 16.71% Amr::restart() 1 0.07371 0.07371 0.07371 16.71% AmrLevel::restart() 1 0.06266 0.06266 0.06266 14.21% StateData::restartDoit() 4 0.06258 0.06258 0.06258 14.19% VisMF::Read() 3 0.06229 0.06229 0.06229 14.12% MLCellLinOp::smooth() 720 0.05404 0.05404 0.05404 12.25% MLCellLinOp::applyBC() 1910 0.05022 0.05022 0.05022 11.39% MLMG::mgVcycle_bottom 36 0.0326 0.0326 0.0326 7.39% MLMG::actualBottomSolve() 36 0.03258 0.03258 0.03258 7.39% MLCGSolver::bicgstab 36 0.0322 0.0322 0.0322 7.30% Amr::writePlotFile() 1 0.02758 0.02758 0.02758 6.25% Castro::clean_state() 30 0.02623 0.02623 0.02623 5.95% VisMF::Write(FabArray) 1 0.02479 0.02479 0.02479 5.62% AmrLevel::FillPatch() 20 0.02396 0.02396 0.02396 5.43% FillPatchIterator::Initialize 20 0.02184 0.02184 0.02184 4.95% FillPatchIterator::FillFromLevel0() 20 0.02102 0.02102 0.02102 4.76% FillPatchSingleLevel 20 0.02099 0.02099 0.02099 4.76% StateDataPhysBCFunct::() 20 0.0189 0.0189 0.0189 4.28% MLCellLinOp::apply() 464 0.01653 0.01653 0.01653 3.75% MLMG::mgVcycle_down::0 36 0.01529 0.01529 0.01529 3.47% MLPoisson::Fsmooth() 1440 0.01524 0.01524 0.01524 3.45% FabArray::FillBoundary() 1730 0.01375 0.01375 0.01375 3.12% FillBoundary_nowait() 1730 0.0134 0.0134 0.0134 3.04% StateData::FillBoundary(geom) 160 0.01338 0.01338 0.01338 3.03% MLMG::mgVcycle_up::0 36 0.0114 0.0114 0.0114 2.58% Castro::initialize_do_advance() 5 0.01118 0.01118 0.01118 2.53% MLPoisson::define() 6 0.00979 0.00979 0.00979 2.22% Castro::normalize_species() 30 0.009754 0.009754 0.009754 2.21% Castro::do_old_sources() 5 0.009644 0.009644 0.009644 2.19% Castro::computeTemp() 30 0.009545 0.009545 0.009545 2.16% amrex::Dot() 484 0.009514 0.009514 0.009514 2.16% MLMG:computeResOfCorrection() 180 0.00913 0.00913 0.00913 2.07% MLCellLinOp::correctionResidual() 180 0.009083 0.009083 0.009083 2.06% FabArray::norminf() 465 0.008898 0.008898 0.008898 2.02% Castro::construct_old_gravity() 5 0.008194 0.008194 0.008194 1.86% Gravity::get_old_grav_vector() 5 0.008187 0.008187 0.008187 1.86% Gravity::get_new_grav_vector() 5 0.00803 0.00803 0.00803 1.82% MLMG::mgVcycle_down::1 36 0.007534 0.007534 0.007534 1.71% Castro::initialize_advance() 5 0.007268 0.007268 0.007268 1.65% FabArray::ParallelCopy() 380 0.006914 0.006914 0.006914 1.57% MLMG::mgVcycle_down::2 36 0.006908 0.006908 0.006908 1.57% MLMG::mgVcycle_down::3 36 0.006798 0.006798 0.006798 1.54% FabArray::ParallelCopy_nowait() 380 0.006794 0.006794 0.006794 1.54% MLMG::mgVcycle_down::4 36 0.006723 0.006723 0.006723 1.52% FabArray::setVal() 501 0.006721 0.006721 0.006721 1.52% MLCellLinOp::defineAuxData() 6 0.006571 0.006571 0.006571 1.49% Castro::expand_state() 5 0.006203 0.006203 0.006203 1.41% FabArray::Saxpy() 597 0.006033 0.006033 0.006033 1.37% Castro::do_new_sources() 5 0.005947 0.005947 0.005947 1.35% Castro::post_restart() 1 0.005926 0.005926 0.005926 1.34% MLCGSolver::ParallelAllReduce 798 0.005743 0.005743 0.005743 1.30% Castro::enforce_min_density() 30 0.00565 0.00565 0.00565 1.28% MLMG::addInterpCorrection() 180 0.005624 0.005624 0.005624 1.28% Castro::post_timestep() 5 0.005574 0.005574 0.005574 1.26% Gravity::multilevel_solve_for_new_phi() 1 0.005551 0.005551 0.005551 1.26% amrex::Copy() 221 0.005537 0.005537 0.005537 1.26% Gravity::actual_multilevel_solve() 1 0.005527 0.005527 0.005527 1.25% MLMG::mgVcycle_up::4 36 0.005481 0.005481 0.005481 1.24% Gravity::fill_multipole_BCs() 6 0.005481 0.005481 0.005481 1.24% MLMG::mgVcycle_up::1 36 0.005435 0.005435 0.005435 1.23% MLMG::mgVcycle_up::2 36 0.005279 0.005279 0.005279 1.20% amrex::average_down 180 0.005235 0.005235 0.005235 1.19% MLMG::mgVcycle_up::3 36 0.005197 0.005197 0.005197 1.18% MLPoisson::Fapply() 464 0.004668 0.004668 0.004668 1.06% MLCellLinOp::solutionResidual() 42 0.003761 0.003761 0.003761 0.85% FabArray::Xpay() 325 0.003572 0.003572 0.003572 0.81% Castro::estTimeStep() 10 0.003086 0.003086 0.003086 0.70% MLCellLinOp::defineBC() 6 0.003041 0.003041 0.003041 0.69% MLMG::prepareForSolve() 6 0.00293 0.00293 0.00293 0.66% MLMG::computeResidual() 36 0.002918 0.002918 0.002918 0.66% BndryData::define() 6 0.002886 0.002886 0.002886 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002367 0.002367 0.002367 0.54% Castro::computeNewDt() 5 0.002013 0.002013 0.002013 0.46% Castro::construct_new_source() 25 0.001876 0.001876 0.001876 0.43% Castro::construct_new_gravity_source() 5 0.001769 0.001769 0.001769 0.40% Castro::construct_old_source() 25 0.001554 0.001554 0.001554 0.35% amrex::Add() 36 0.001554 0.001554 0.001554 0.35% Castro::construct_old_gravity_source() 5 0.001526 0.001526 0.001526 0.35% Castro::enforce_speed_limit() 30 0.001243 0.001243 0.001243 0.28% Castro::finalize_do_advance() 5 0.001122 0.001122 0.001122 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001014 0.001014 0.001014 0.23% MLMG::ResNormInf() 42 0.001009 0.001009 0.001009 0.23% Castro::apply_source_to_state() 10 0.0009681 0.0009681 0.0009681 0.22% check_for_negative_density() 5 0.0009389 0.0009389 0.0009389 0.21% MLMG::getGradSolution() 6 0.0009072 0.0009072 0.0009072 0.21% MLCellLinOp::setLevelBC() 6 0.0009008 0.0009008 0.0009008 0.20% MLCellLinOp::compGrad() 6 0.0008991 0.0008991 0.0008991 0.20% MLMG::computeMLResidual() 6 0.0008781 0.0008781 0.0008781 0.20% Castro::reset_internal_energy(Fab) 240 0.0008545 0.0008545 0.0008545 0.19% FabArrayBase::getCPC() 632 0.0008044 0.0008044 0.0008044 0.18% MLPoisson::prepareForSolve() 6 0.0007695 0.0007695 0.0007695 0.17% MLCellLinOp::prepareForSolve() 6 0.0007657 0.0007657 0.0007657 0.17% Gravity::update_max_rhs() 6 0.0007375 0.0007375 0.0007375 0.17% FabArray::setDomainBndry() 20 0.0007113 0.0007113 0.0007113 0.16% FabArray::mult() 22 0.0007053 0.0007053 0.0007053 0.16% Castro::check_for_nan() 10 0.0006703 0.0006703 0.0006703 0.15% Other 2160 0.003851 0.003851 0.003851 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 11 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1077 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1663 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6404 KiB 14 MiB MLMG::prepareForSolve() 361 361 3290 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 192 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6391 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3333 B 2048 KiB Gravity::solve_for_phi() 40 40 607 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 303 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 195 KiB 671 KiB Castro::estTimeStep() 10 10 3313 B 480 KiB VisMF::Write(FabArray) 112 112 1283 B 320 KiB Castro::normalize_species() 30 30 7199 B 320 KiB amrex::average_down 469 469 1393 B 257 KiB MLMG::addInterpCorrection() 468 468 1078 B 257 KiB amrex::Dot() 592 592 3183 B 160 KiB FabArray::norminf() 501 501 3115 B 160 KiB check_for_negative_density() 5 5 341 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3187 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 3820 3820 206 B 9344 B amrex::Copy() 56 56 5837 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 341 B 1248 B MLCGSolver::bicgstab 180 180 88 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1165 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 156 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3187 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 254 B 9648 B MLCellLinOp::applyBC() 1910 1910 204 B 9328 B amrex::Copy() 56 56 5837 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2510 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2592 B MLMG::prepareForSolve() 7 7 794 B 1648 B amrex::average_down 37 37 459 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 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.05-23-g8c5d761fe7a6) finalized