Initializing AMReX (24.06-21-g259db7cfb99e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-21-g259db7cfb99e) initialized Starting run at 08:11:27 UTC on 2024-06-24. Successfully read inputs file ... Castro git describe: 24.06-16-g830d937a6 AMReX git describe: 24.06-21-g259db7cfb Microphysics git describe: 24.06-31-g48149cdd 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.048674601 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027173311 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.066751211 [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.051541465 [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.078751686 [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.077929152 [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.064661187 [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.054915557 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.069358196 [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.077030354 [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.078183959 [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.071674075 [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.070771775 [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.065517678 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02658287 seconds Ending run at 08:11:28 UTC on 2024-06-24. Run time = 0.982683351 Run time without initialization = 0.854281655 Average number of zones advanced per microsecond: 3.069 Average number of zones advanced per microsecond per rank: 3.069 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9827 ... 0.9827 ... 0.9827 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3140 0.3140 0.3140 31.95% VisMF::Write(FabArray) 11 0.1957 0.1957 0.1957 19.91% MLCellLinOp::applyBC() 4298 0.08328 0.08328 0.08328 8.47% MLPoisson::Fsmooth() 3240 0.03471 0.03471 0.03471 3.53% FillBoundary_nowait() 3893 0.03317 0.03317 0.03317 3.37% StateData::FillBoundary(geom) 328 0.0276 0.0276 0.0276 2.81% Amr::checkPoint() 3 0.02488 0.02488 0.02488 2.53% amrex::Dot() 1100 0.02214 0.02214 0.02214 2.25% FabArray::norminf() 1048 0.02064 0.02064 0.02064 2.10% Castro::normalize_species() 62 0.0202 0.0202 0.0202 2.06% Castro::computeTemp() 63 0.01518 0.01518 0.01518 1.54% FabArray::setVal() 1054 0.01398 0.01398 0.01398 1.42% FabArray::ParallelCopy_nowait() 851 0.01395 0.01395 0.01395 1.42% FabArray::Saxpy() 1353 0.01355 0.01355 0.01355 1.38% Castro::enforce_min_density() 62 0.01194 0.01194 0.01194 1.22% StateDataPhysBCFunct::() 41 0.01153 0.01153 0.01153 1.17% amrex::Copy() 469 0.01114 0.01114 0.01114 1.13% MLCellLinOp::defineAuxData() 11 0.0107 0.0107 0.0107 1.09% MLPoisson::Fapply() 1047 0.01065 0.01065 0.01065 1.08% Gravity::fill_multipole_BCs() 11 0.009763 0.009763 0.009763 0.99% FabArray::Xpay() 730 0.008181 0.008181 0.008181 0.83% MLMG::addInterpCorrection() 405 0.007133 0.007133 0.007133 0.73% amrex::average_down 405 0.00636 0.00636 0.00636 0.65% Castro::estTimeStep() 21 0.005447 0.005447 0.005447 0.55% Castro::reset_internal_energy(MultiFab) 63 0.004826 0.004826 0.004826 0.49% BndryData::define() 11 0.0041 0.0041 0.0041 0.42% Castro::construct_new_gravity_source() 10 0.003845 0.003845 0.003845 0.39% amrex::Add() 81 0.003733 0.003733 0.003733 0.38% Castro::enforce_speed_limit() 62 0.003562 0.003562 0.003562 0.36% Castro::construct_old_gravity_source() 10 0.002948 0.002948 0.002948 0.30% Amr::writePlotFile() 2 0.001837 0.001837 0.001837 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001834 0.001834 0.001834 0.19% Castro::reset_internal_energy(Fab) 504 0.001801 0.001801 0.001801 0.18% check_for_negative_density() 10 0.001794 0.001794 0.001794 0.18% Castro::initData() 1 0.001674 0.001674 0.001674 0.17% MLCellLinOp::setLevelBC() 11 0.001644 0.001644 0.001644 0.17% MLCGSolver::bicgstab 81 0.001613 0.001613 0.001613 0.16% Gravity::actual_solve_with_mlmg() 11 0.001538 0.001538 0.001538 0.16% FabArray::setDomainBndry() 41 0.001423 0.001423 0.001423 0.14% FabArray::mult() 43 0.001415 0.001415 0.001415 0.14% MLCellLinOp::prepareForSolve() 11 0.001343 0.001343 0.001343 0.14% MultiFab::contains_nan() 20 0.001308 0.001308 0.001308 0.13% MLCellLinOp::smooth() 1620 0.001116 0.001116 0.001116 0.11% MLCellLinOp::compGrad() 11 0.001099 0.001099 0.001099 0.11% MLMG::prepareForSolve() 11 0.0009714 0.0009714 0.0009714 0.10% FabArrayBase::getCPC() 1313 0.0008134 0.0008134 0.0008134 0.08% FabArray::FillBoundary() 3893 0.0007606 0.0007606 0.0007606 0.08% Gravity::get_new_grav_vector() 11 0.0006054 0.0006054 0.0006054 0.06% Gravity::get_old_grav_vector() 10 0.0004969 0.0004969 0.0004969 0.05% MLCellLinOp::apply() 1047 0.0004262 0.0004262 0.0004262 0.04% AmrLevel::FillPatch() 41 0.0004168 0.0004168 0.0004168 0.04% Amr::coarseTimeStep() 10 0.0003254 0.0003254 0.0003254 0.03% MLCGSolver::ParallelAllReduce 1809 0.0003103 0.0003103 0.0003103 0.03% main() 1 0.0003077 0.0003077 0.0003077 0.03% MLCellLinOp::defineBC() 11 0.0002653 0.0002653 0.0002653 0.03% FabArray::ParallelCopy() 851 0.0002345 0.0002345 0.0002345 0.02% FillPatchIterator::Initialize 41 0.0002255 0.0002255 0.0002255 0.02% MLMG::mgVcycle() 81 0.0001976 0.0001976 0.0001976 0.02% MLCellLinOp::correctionResidual() 405 0.0001736 0.0001736 0.0001736 0.02% Castro::subcycle_advance_ctu() 10 0.0001592 0.0001592 0.0001592 0.02% Amr::timeStep() 10 0.0001553 0.0001553 0.0001553 0.02% StateData::checkPoint() 12 0.000128 0.000128 0.000128 0.01% MLMG:computeResOfCorrection() 405 0.0001186 0.0001186 0.0001186 0.01% Castro::construct_new_source() 50 0.0001106 0.0001106 0.0001106 0.01% Gravity::solve_for_phi() 10 0.0001074 0.0001074 0.0001074 0.01% MLMG::actualBottomSolve() 81 8.817e-05 8.817e-05 8.817e-05 0.01% Castro::initialize_advance() 10 8.537e-05 8.537e-05 8.537e-05 0.01% MLMG::mgVcycle_down::0 81 7.804e-05 7.804e-05 7.804e-05 0.01% MLMG::solve() 11 7.454e-05 7.454e-05 7.454e-05 0.01% MLMG::mgVcycle_down::1 81 7.175e-05 7.175e-05 7.175e-05 0.01% Castro::clean_state() 62 7.07e-05 7.07e-05 7.07e-05 0.01% MLMG::mgVcycle_down::2 81 7.029e-05 7.029e-05 7.029e-05 0.01% AmrLevel::checkPoint() 3 7.016e-05 7.016e-05 7.016e-05 0.01% Castro::post_timestep() 10 6.809e-05 6.809e-05 6.809e-05 0.01% MLMG::mgVcycle_down::4 81 6.756e-05 6.756e-05 6.756e-05 0.01% MLMG::mgVcycle_down::3 81 6.466e-05 6.466e-05 6.466e-05 0.01% Castro::initialize_do_advance() 10 6.435e-05 6.435e-05 6.435e-05 0.01% MLMG::mgVcycle_up::4 81 5.431e-05 5.431e-05 5.431e-05 0.01% MLMG::oneIter() 81 5.317e-05 5.317e-05 5.317e-05 0.01% Castro::do_advance_ctu() 10 4.818e-05 4.818e-05 4.818e-05 0.00% Castro::advance() 10 4.806e-05 4.806e-05 4.806e-05 0.00% MLMG::mgVcycle_up::0 81 4.742e-05 4.742e-05 4.742e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.632e-05 4.632e-05 4.632e-05 0.00% Castro::finalize_do_advance() 10 4.595e-05 4.595e-05 4.595e-05 0.00% MLMG::mgVcycle_up::3 81 4.559e-05 4.559e-05 4.559e-05 0.00% MLMG::mgVcycle_up::1 81 4.524e-05 4.524e-05 4.524e-05 0.00% MLCellLinOp::solutionResidual() 92 4.456e-05 4.456e-05 4.456e-05 0.00% MLMG::mgVcycle_up::2 81 4.382e-05 4.382e-05 4.382e-05 0.00% FillPatchSingleLevel 41 3.917e-05 3.917e-05 3.917e-05 0.00% Amr::defBaseLevel() 1 3.309e-05 3.309e-05 3.309e-05 0.00% MLMG::mgVcycle_bottom 81 3.227e-05 3.227e-05 3.227e-05 0.00% MLMG::computeResidual() 81 3.164e-05 3.164e-05 3.164e-05 0.00% MLMG::ResNormInf() 92 3.046e-05 3.046e-05 3.046e-05 0.00% MLPoisson::define() 11 2.936e-05 2.936e-05 2.936e-05 0.00% Castro::do_old_sources() 10 2.331e-05 2.331e-05 2.331e-05 0.00% Castro::construct_new_gravity() 10 2.306e-05 2.306e-05 2.306e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.207e-05 2.207e-05 2.207e-05 0.00% Castro::do_new_sources() 10 2.032e-05 2.032e-05 2.032e-05 0.00% Amr::FinalizeInit() 1 2.009e-05 2.009e-05 2.009e-05 0.00% Castro::construct_old_source() 50 1.968e-05 1.968e-05 1.968e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.769e-05 1.769e-05 1.769e-05 0.00% Castro::apply_source_to_state() 20 1.133e-05 1.133e-05 1.133e-05 0.00% Castro::check_for_nan() 20 1.121e-05 1.121e-05 1.121e-05 0.00% Castro::computeNewDt() 9 1.094e-05 1.094e-05 1.094e-05 0.00% Castro::construct_old_gravity() 10 1.086e-05 1.086e-05 1.086e-05 0.00% MLMG::computeMLResidual() 11 1.078e-05 1.078e-05 1.078e-05 0.00% Castro::post_init() 1 9.383e-06 9.383e-06 9.383e-06 0.00% Gravity::actual_multilevel_solve() 1 8.658e-06 8.658e-06 8.658e-06 0.00% MLPoisson::prepareForSolve() 11 7.156e-06 7.156e-06 7.156e-06 0.00% Castro::expand_state() 10 6.217e-06 6.217e-06 6.217e-06 0.00% Amr::InitializeInit() 1 5.893e-06 5.893e-06 5.893e-06 0.00% MLMG::getGradSolution() 11 5.888e-06 5.888e-06 5.888e-06 0.00% Amr::init() 1 2.684e-06 2.684e-06 2.684e-06 0.00% Amr::initialInit() 1 1.288e-06 1.288e-06 1.288e-06 0.00% Other 4705 0.003325 0.003325 0.003325 0.34% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9827 0.9827 0.9827 100.00% Amr::coarseTimeStep() 10 0.8275 0.8275 0.8275 84.20% Amr::timeStep() 10 0.7037 0.7037 0.7037 71.60% Castro::advance() 10 0.6936 0.6936 0.6936 70.58% Castro::subcycle_advance_ctu() 10 0.679 0.679 0.679 69.09% Castro::do_advance_ctu() 10 0.6788 0.6788 0.6788 69.07% Castro::construct_ctu_hydro_source() 10 0.3259 0.3259 0.3259 33.17% Gravity::solve_phi_with_mlmg() 11 0.3051 0.3051 0.3051 31.05% Gravity::actual_solve_with_mlmg() 11 0.2949 0.2949 0.2949 30.01% Castro::construct_new_gravity() 10 0.2797 0.2797 0.2797 28.46% MLMG::solve() 11 0.2722 0.2722 0.2722 27.70% Gravity::solve_for_phi() 10 0.2631 0.2631 0.2631 26.78% MLMG::oneIter() 81 0.2562 0.2562 0.2562 26.07% MLMG::mgVcycle() 81 0.2524 0.2524 0.2524 25.69% VisMF::Write(FabArray) 11 0.1957 0.1957 0.1957 19.91% Amr::checkPoint() 3 0.1693 0.1693 0.1693 17.22% AmrLevel::checkPoint() 3 0.1444 0.1444 0.1444 14.69% StateData::checkPoint() 12 0.1443 0.1443 0.1443 14.68% Amr::init() 1 0.1278 0.1278 0.1278 13.00% MLCellLinOp::smooth() 1620 0.1267 0.1267 0.1267 12.89% MLCellLinOp::applyBC() 4298 0.118 0.118 0.118 12.00% MLMG::mgVcycle_bottom 81 0.07525 0.07525 0.07525 7.66% MLMG::actualBottomSolve() 81 0.07521 0.07521 0.07521 7.65% MLCGSolver::bicgstab 81 0.07437 0.07437 0.07437 7.57% Castro::clean_state() 62 0.05683 0.05683 0.05683 5.78% Amr::writePlotFile() 2 0.05389 0.05389 0.05389 5.48% Amr::initialInit() 1 0.05174 0.05174 0.05174 5.27% AmrLevel::FillPatch() 41 0.04933 0.04933 0.04933 5.02% Amr::FinalizeInit() 1 0.0467 0.0467 0.0467 4.75% Castro::post_init() 1 0.04517 0.04517 0.04517 4.60% FillPatchIterator::Initialize 41 0.04501 0.04501 0.04501 4.58% FillPatchIterator::FillFromLevel0() 41 0.04336 0.04336 0.04336 4.41% FillPatchSingleLevel 41 0.04331 0.04331 0.04331 4.41% Gravity::multilevel_solve_for_new_phi() 1 0.04244 0.04244 0.04244 4.32% Gravity::actual_multilevel_solve() 1 0.04242 0.04242 0.04242 4.32% StateDataPhysBCFunct::() 41 0.03914 0.03914 0.03914 3.98% MLCellLinOp::apply() 1047 0.03762 0.03762 0.03762 3.83% MLMG::mgVcycle_down::0 81 0.03632 0.03632 0.03632 3.70% MLPoisson::Fsmooth() 3240 0.03471 0.03471 0.03471 3.53% FabArray::FillBoundary() 3893 0.03467 0.03467 0.03467 3.53% FillBoundary_nowait() 3893 0.03391 0.03391 0.03391 3.45% MLMG::mgVcycle_up::0 81 0.02762 0.02762 0.02762 2.81% StateData::FillBoundary(geom) 328 0.0276 0.0276 0.0276 2.81% amrex::Dot() 1100 0.02214 0.02214 0.02214 2.25% Castro::computeTemp() 63 0.0218 0.0218 0.0218 2.22% MLMG:computeResOfCorrection() 405 0.02128 0.02128 0.02128 2.17% Castro::initialize_do_advance() 10 0.02124 0.02124 0.02124 2.16% MLCellLinOp::correctionResidual() 405 0.02116 0.02116 0.02116 2.15% FabArray::norminf() 1048 0.02064 0.02064 0.02064 2.10% Castro::normalize_species() 62 0.0202 0.0202 0.0202 2.06% Castro::do_old_sources() 10 0.01898 0.01898 0.01898 1.93% Gravity::get_new_grav_vector() 11 0.01887 0.01887 0.01887 1.92% MLPoisson::define() 11 0.01787 0.01787 0.01787 1.82% MLMG::mgVcycle_down::1 81 0.01724 0.01724 0.01724 1.75% MLMG::mgVcycle_down::2 81 0.01597 0.01597 0.01597 1.63% Castro::construct_old_gravity() 10 0.01586 0.01586 0.01586 1.61% Gravity::get_old_grav_vector() 10 0.01585 0.01585 0.01585 1.61% MLMG::mgVcycle_down::3 81 0.01566 0.01566 0.01566 1.59% MLMG::mgVcycle_down::4 81 0.01544 0.01544 0.01544 1.57% FabArray::ParallelCopy() 851 0.01502 0.01502 0.01502 1.53% FabArray::ParallelCopy_nowait() 851 0.01478 0.01478 0.01478 1.50% FabArray::setVal() 1054 0.01398 0.01398 0.01398 1.42% Castro::initialize_advance() 10 0.01393 0.01393 0.01393 1.42% Castro::do_new_sources() 10 0.01382 0.01382 0.01382 1.41% FabArray::Saxpy() 1353 0.01355 0.01355 0.01355 1.38% MLCGSolver::ParallelAllReduce 1809 0.01324 0.01324 0.01324 1.35% MLMG::addInterpCorrection() 405 0.01254 0.01254 0.01254 1.28% MLMG::mgVcycle_up::1 81 0.01244 0.01244 0.01244 1.27% MLMG::mgVcycle_up::4 81 0.0123 0.0123 0.0123 1.25% MLCellLinOp::defineAuxData() 11 0.01218 0.01218 0.01218 1.24% MLMG::mgVcycle_up::2 81 0.01211 0.01211 0.01211 1.23% Castro::enforce_min_density() 62 0.01194 0.01194 0.01194 1.22% MLMG::mgVcycle_up::3 81 0.01189 0.01189 0.01189 1.21% Castro::expand_state() 10 0.01184 0.01184 0.01184 1.20% amrex::average_down 405 0.01183 0.01183 0.01183 1.20% amrex::Copy() 469 0.01114 0.01114 0.01114 1.13% MLPoisson::Fapply() 1047 0.01065 0.01065 0.01065 1.08% Gravity::fill_multipole_BCs() 11 0.01 0.01 0.01 1.02% Castro::post_timestep() 10 0.009943 0.009943 0.009943 1.01% FabArray::Xpay() 730 0.008181 0.008181 0.008181 0.83% MLCellLinOp::solutionResidual() 92 0.008021 0.008021 0.008021 0.82% MLMG::computeResidual() 81 0.006717 0.006717 0.006717 0.68% Castro::reset_internal_energy(MultiFab) 63 0.006626 0.006626 0.006626 0.67% Castro::estTimeStep() 21 0.005447 0.005447 0.005447 0.55% MLCellLinOp::defineBC() 11 0.005406 0.005406 0.005406 0.55% MLMG::prepareForSolve() 11 0.005338 0.005338 0.005338 0.54% BndryData::define() 11 0.00514 0.00514 0.00514 0.52% Amr::InitializeInit() 1 0.005036 0.005036 0.005036 0.51% Amr::defBaseLevel() 1 0.005031 0.005031 0.005031 0.51% Castro::initData() 1 0.004315 0.004315 0.004315 0.44% Castro::construct_new_source() 50 0.003955 0.003955 0.003955 0.40% Castro::construct_new_gravity_source() 10 0.003845 0.003845 0.003845 0.39% amrex::Add() 81 0.003733 0.003733 0.003733 0.38% Castro::enforce_speed_limit() 62 0.003562 0.003562 0.003562 0.36% Castro::construct_old_source() 50 0.002968 0.002968 0.002968 0.30% Castro::construct_old_gravity_source() 10 0.002948 0.002948 0.002948 0.30% Castro::finalize_do_advance() 10 0.002266 0.002266 0.002266 0.23% MLMG::ResNormInf() 92 0.002256 0.002256 0.002256 0.23% Castro::computeNewDt() 9 0.002238 0.002238 0.002238 0.23% Castro::apply_source_to_state() 20 0.001898 0.001898 0.001898 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001834 0.001834 0.001834 0.19% Castro::reset_internal_energy(Fab) 504 0.001801 0.001801 0.001801 0.18% check_for_negative_density() 10 0.001794 0.001794 0.001794 0.18% MLCellLinOp::setLevelBC() 11 0.001644 0.001644 0.001644 0.17% MLMG::getGradSolution() 11 0.001637 0.001637 0.001637 0.17% MLCellLinOp::compGrad() 11 0.001631 0.001631 0.001631 0.17% FabArrayBase::getCPC() 1313 0.001522 0.001522 0.001522 0.15% FabArray::setDomainBndry() 41 0.001423 0.001423 0.001423 0.14% FabArray::mult() 43 0.001415 0.001415 0.001415 0.14% MLPoisson::prepareForSolve() 11 0.00135 0.00135 0.00135 0.14% MLMG::computeMLResidual() 11 0.001346 0.001346 0.001346 0.14% MLCellLinOp::prepareForSolve() 11 0.001343 0.001343 0.001343 0.14% Castro::check_for_nan() 20 0.001319 0.001319 0.001319 0.13% MultiFab::contains_nan() 20 0.001308 0.001308 0.001308 0.13% Other 4705 0.009437 0.009437 0.009437 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 5544 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 963 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1541 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 3407 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 199 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2097 B 2048 KiB Gravity::solve_for_phi() 80 80 547 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 88 KiB 2048 KiB BndryData::define() 1056 1056 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 198 KiB 671 KiB Castro::estTimeStep() 21 21 2698 B 480 KiB VisMF::Write(FabArray) 656 656 3295 B 320 KiB Castro::normalize_species() 62 62 6697 B 320 KiB amrex::average_down 1054 1054 1558 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1099 B 257 KiB amrex::Dot() 1343 1343 3328 B 160 KiB FabArray::norminf() 1129 1129 3253 B 160 KiB check_for_negative_density() 10 10 292 B 160 KiB Castro::initData() 1 1 48 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3326 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 41 B 10 KiB FillBoundary_nowait() 751 751 295 B 9648 B MLCellLinOp::applyBC() 8596 8596 211 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 4512 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 351 B 1248 B MLCGSolver::bicgstab 405 405 91 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 594 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 445 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3326 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 41 B 10 KiB FillBoundary_nowait() 751 751 295 B 9648 B MLCellLinOp::applyBC() 4298 4298 209 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3922 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 4512 B Gravity::get_new_grav_vector() 3 3 2913 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 618 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 283 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 1129 1129 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2109 [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-21-g259db7cfb99e) finalized Initializing AMReX (24.06-21-g259db7cfb99e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-21-g259db7cfb99e) initialized Starting run at 08:11:29 UTC on 2024-06-24. Successfully read inputs file ... Castro git describe: 24.06-16-g830d937a6 AMReX git describe: 24.06-21-g259db7cfb Microphysics git describe: 24.06-31-g48149cdd reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.522928516 Restart time = 0.071792746 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.070553299 [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.07542985 [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.082286243 [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.053572948 [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.057987837 [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.029644745 seconds Ending run at 08:11:29 UTC on 2024-06-24. Run time = 0.442291027 Run time without initialization = 0.369956284 Average number of zones advanced per microsecond: 3.543 Average number of zones advanced per microsecond per rank: 3.543 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4423 ... 0.4423 ... 0.4423 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1345 0.1345 0.1345 30.41% VisMF::Read() 3 0.06047 0.06047 0.06047 13.67% MLCellLinOp::applyBC() 1910 0.03766 0.03766 0.03766 8.51% VisMF::Write(FabArray) 1 0.02707 0.02707 0.02707 6.12% MLPoisson::Fsmooth() 1440 0.01577 0.01577 0.01577 3.57% FillBoundary_nowait() 1730 0.01488 0.01488 0.01488 3.36% StateData::FillBoundary(geom) 160 0.01329 0.01329 0.01329 3.00% amrex::Dot() 484 0.009739 0.009739 0.009739 2.20% Castro::normalize_species() 30 0.009367 0.009367 0.009367 2.12% FabArray::norminf() 465 0.009177 0.009177 0.009177 2.07% Castro::computeTemp() 30 0.008372 0.008372 0.008372 1.89% FabArray::setVal() 501 0.006952 0.006952 0.006952 1.57% Castro::enforce_min_density() 30 0.006417 0.006417 0.006417 1.45% FabArray::ParallelCopy_nowait() 380 0.006397 0.006397 0.006397 1.45% FabArray::Saxpy() 597 0.006169 0.006169 0.006169 1.39% MLCellLinOp::defineAuxData() 6 0.00597 0.00597 0.00597 1.35% amrex::Copy() 221 0.005652 0.005652 0.005652 1.28% Gravity::fill_multipole_BCs() 6 0.005324 0.005324 0.005324 1.20% StateDataPhysBCFunct::() 20 0.005143 0.005143 0.005143 1.16% MLPoisson::Fapply() 464 0.004781 0.004781 0.004781 1.08% Amr::restart() 1 0.004756 0.004756 0.004756 1.08% Castro::estTimeStep() 10 0.003763 0.003763 0.003763 0.85% FabArray::Xpay() 325 0.003681 0.003681 0.003681 0.83% Castro::reset_internal_energy(MultiFab) 30 0.003612 0.003612 0.003612 0.82% MLMG::addInterpCorrection() 180 0.003292 0.003292 0.003292 0.74% amrex::average_down 180 0.002898 0.002898 0.002898 0.66% Amr::writePlotFile() 1 0.002404 0.002404 0.002404 0.54% BndryData::define() 6 0.002294 0.002294 0.002294 0.52% Castro::construct_new_gravity_source() 5 0.001709 0.001709 0.001709 0.39% amrex::Add() 36 0.001652 0.001652 0.001652 0.37% Castro::construct_old_gravity_source() 5 0.001337 0.001337 0.001337 0.30% Castro::enforce_speed_limit() 30 0.001254 0.001254 0.001254 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001032 0.001032 0.001032 0.23% check_for_negative_density() 5 0.0009553 0.0009553 0.0009553 0.22% MLCellLinOp::setLevelBC() 6 0.0009124 0.0009124 0.0009124 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008414 0.0008414 0.0008414 0.19% Castro::reset_internal_energy(Fab) 240 0.0008154 0.0008154 0.0008154 0.18% MLCellLinOp::prepareForSolve() 6 0.0007827 0.0007827 0.0007827 0.18% FabArray::setDomainBndry() 20 0.00075 0.00075 0.00075 0.17% MLCGSolver::bicgstab 36 0.0007166 0.0007166 0.0007166 0.16% FabArray::mult() 22 0.0007135 0.0007135 0.0007135 0.16% MLCellLinOp::compGrad() 6 0.0006385 0.0006385 0.0006385 0.14% MLMG::prepareForSolve() 6 0.0005584 0.0005584 0.0005584 0.13% FabArray::FillBoundary() 1730 0.0005248 0.0005248 0.0005248 0.12% MLCellLinOp::smooth() 720 0.0005168 0.0005168 0.0005168 0.12% FabArrayBase::getCPC() 632 0.0003734 0.0003734 0.0003734 0.08% Gravity::get_old_grav_vector() 5 0.000346 0.000346 0.000346 0.08% Gravity::get_new_grav_vector() 5 0.0002929 0.0002929 0.0002929 0.07% main() 1 0.0002709 0.0002709 0.0002709 0.06% AmrLevel::FillPatch() 20 0.0002162 0.0002162 0.0002162 0.05% Amr::coarseTimeStep() 5 0.0002096 0.0002096 0.0002096 0.05% MLCellLinOp::apply() 464 0.000192 0.000192 0.000192 0.04% MLCellLinOp::defineBC() 6 0.0001496 0.0001496 0.0001496 0.03% MLCGSolver::ParallelAllReduce 798 0.0001279 0.0001279 0.0001279 0.03% FabArray::ParallelCopy() 380 0.0001093 0.0001093 0.0001093 0.02% FillPatchIterator::Initialize 20 0.0001077 0.0001077 0.0001077 0.02% Castro::finalize_do_advance() 5 0.0001048 0.0001048 0.0001048 0.02% Castro::do_advance_ctu() 5 0.0001046 0.0001046 0.0001046 0.02% Castro::subcycle_advance_ctu() 5 9.524e-05 9.524e-05 9.524e-05 0.02% Amr::timeStep() 5 8.447e-05 8.447e-05 8.447e-05 0.02% MLMG::mgVcycle() 36 8.344e-05 8.344e-05 8.344e-05 0.02% Castro::construct_new_source() 25 7.874e-05 7.874e-05 7.874e-05 0.02% MLCellLinOp::correctionResidual() 180 7.55e-05 7.55e-05 7.55e-05 0.02% Castro::initialize_do_advance() 5 7.492e-05 7.492e-05 7.492e-05 0.02% AmrLevel::restart() 1 7.102e-05 7.102e-05 7.102e-05 0.02% StateData::restartDoit() 4 6.807e-05 6.807e-05 6.807e-05 0.02% Gravity::update_max_rhs() 6 6.442e-05 6.442e-05 6.442e-05 0.01% Castro::advance() 5 5.84e-05 5.84e-05 5.84e-05 0.01% Castro::post_timestep() 5 5.42e-05 5.42e-05 5.42e-05 0.01% MLMG:computeResOfCorrection() 180 5.167e-05 5.167e-05 5.167e-05 0.01% Gravity::solve_for_phi() 5 5.021e-05 5.021e-05 5.021e-05 0.01% Castro::construct_old_source() 25 4.834e-05 4.834e-05 4.834e-05 0.01% MLMG::actualBottomSolve() 36 3.97e-05 3.97e-05 3.97e-05 0.01% Castro::do_new_sources() 5 3.823e-05 3.823e-05 3.823e-05 0.01% Castro::initialize_advance() 5 3.691e-05 3.691e-05 3.691e-05 0.01% MLMG::solve() 6 3.596e-05 3.596e-05 3.596e-05 0.01% MLMG::mgVcycle_down::0 36 3.544e-05 3.544e-05 3.544e-05 0.01% MLMG::mgVcycle_down::1 36 3.435e-05 3.435e-05 3.435e-05 0.01% MLMG::mgVcycle_down::2 36 3.267e-05 3.267e-05 3.267e-05 0.01% Castro::clean_state() 30 3.13e-05 3.13e-05 3.13e-05 0.01% MLMG::mgVcycle_down::4 36 3.12e-05 3.12e-05 3.12e-05 0.01% MLMG::mgVcycle_down::3 36 2.96e-05 2.96e-05 2.96e-05 0.01% Castro::post_restart() 1 2.842e-05 2.842e-05 2.842e-05 0.01% MLMG::mgVcycle_up::4 36 2.683e-05 2.683e-05 2.683e-05 0.01% MLPoisson::define() 6 2.516e-05 2.516e-05 2.516e-05 0.01% MLMG::oneIter() 36 2.4e-05 2.4e-05 2.4e-05 0.01% MLCellLinOp::solutionResidual() 42 2.187e-05 2.187e-05 2.187e-05 0.00% MLMG::mgVcycle_up::3 36 2.14e-05 2.14e-05 2.14e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.109e-05 2.109e-05 2.109e-05 0.00% MLMG::mgVcycle_up::0 36 2.008e-05 2.008e-05 2.008e-05 0.00% MLMG::mgVcycle_up::2 36 1.982e-05 1.982e-05 1.982e-05 0.00% MLMG::mgVcycle_up::1 36 1.899e-05 1.899e-05 1.899e-05 0.00% MLMG::ResNormInf() 42 1.674e-05 1.674e-05 1.674e-05 0.00% FillPatchSingleLevel 20 1.659e-05 1.659e-05 1.659e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.584e-05 1.584e-05 1.584e-05 0.00% MLMG::mgVcycle_bottom 36 1.456e-05 1.456e-05 1.456e-05 0.00% MLMG::computeResidual() 36 1.439e-05 1.439e-05 1.439e-05 0.00% Castro::construct_new_gravity() 5 1.25e-05 1.25e-05 1.25e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.241e-05 1.241e-05 1.241e-05 0.00% Castro::do_old_sources() 5 1.127e-05 1.127e-05 1.127e-05 0.00% Gravity::actual_multilevel_solve() 1 8.525e-06 8.525e-06 8.525e-06 0.00% Castro::check_for_nan() 10 6.147e-06 6.147e-06 6.147e-06 0.00% Castro::apply_source_to_state() 10 6.099e-06 6.099e-06 6.099e-06 0.00% Castro::construct_old_gravity() 5 5.326e-06 5.326e-06 5.326e-06 0.00% MLMG::computeMLResidual() 6 4.118e-06 4.118e-06 4.118e-06 0.00% MLPoisson::prepareForSolve() 6 4.083e-06 4.083e-06 4.083e-06 0.00% Castro::computeNewDt() 5 3.797e-06 3.797e-06 3.797e-06 0.00% Castro::expand_state() 5 3.049e-06 3.049e-06 3.049e-06 0.00% MLMG::getGradSolution() 6 2.844e-06 2.844e-06 2.844e-06 0.00% Amr::init() 1 9.39e-07 9.39e-07 9.39e-07 0.00% Other 2160 0.002467 0.002467 0.002467 0.56% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4423 0.4423 0.4423 100.00% Amr::coarseTimeStep() 5 0.34 0.34 0.34 76.87% Amr::timeStep() 5 0.3372 0.3372 0.3372 76.24% Castro::advance() 5 0.3316 0.3316 0.3316 74.98% Castro::subcycle_advance_ctu() 5 0.3239 0.3239 0.3239 73.24% Castro::do_advance_ctu() 5 0.3238 0.3238 0.3238 73.21% Castro::construct_new_gravity() 5 0.1444 0.1444 0.1444 32.65% Gravity::solve_phi_with_mlmg() 6 0.1414 0.1414 0.1414 31.98% Castro::construct_ctu_hydro_source() 5 0.1411 0.1411 0.1411 31.91% Gravity::solve_for_phi() 5 0.136 0.136 0.136 30.76% Gravity::actual_solve_with_mlmg() 6 0.1359 0.1359 0.1359 30.72% MLMG::solve() 6 0.1231 0.1231 0.1231 27.84% MLMG::oneIter() 36 0.115 0.115 0.115 26.00% MLMG::mgVcycle() 36 0.1133 0.1133 0.1133 25.62% Amr::init() 1 0.07184 0.07184 0.07184 16.24% Amr::restart() 1 0.07184 0.07184 0.07184 16.24% AmrLevel::restart() 1 0.06085 0.06085 0.06085 13.76% StateData::restartDoit() 4 0.06078 0.06078 0.06078 13.74% VisMF::Read() 3 0.06047 0.06047 0.06047 13.67% MLCellLinOp::smooth() 720 0.05723 0.05723 0.05723 12.94% MLCellLinOp::applyBC() 1910 0.05339 0.05339 0.05339 12.07% MLMG::mgVcycle_bottom 36 0.03333 0.03333 0.03333 7.54% MLMG::actualBottomSolve() 36 0.03332 0.03332 0.03332 7.53% MLCGSolver::bicgstab 36 0.03294 0.03294 0.03294 7.45% Castro::clean_state() 30 0.02987 0.02987 0.02987 6.75% Amr::writePlotFile() 1 0.02975 0.02975 0.02975 6.73% VisMF::Write(FabArray) 1 0.02707 0.02707 0.02707 6.12% AmrLevel::FillPatch() 20 0.02353 0.02353 0.02353 5.32% FillPatchIterator::Initialize 20 0.02139 0.02139 0.02139 4.84% FillPatchIterator::FillFromLevel0() 20 0.02053 0.02053 0.02053 4.64% FillPatchSingleLevel 20 0.02051 0.02051 0.02051 4.64% StateDataPhysBCFunct::() 20 0.01843 0.01843 0.01843 4.17% MLCellLinOp::apply() 464 0.01712 0.01712 0.01712 3.87% MLMG::mgVcycle_down::0 36 0.01674 0.01674 0.01674 3.79% MLPoisson::Fsmooth() 1440 0.01577 0.01577 0.01577 3.57% FabArray::FillBoundary() 1730 0.01573 0.01573 0.01573 3.56% FillBoundary_nowait() 1730 0.01521 0.01521 0.01521 3.44% StateData::FillBoundary(geom) 160 0.01329 0.01329 0.01329 3.00% Castro::computeTemp() 30 0.0128 0.0128 0.0128 2.89% MLMG::mgVcycle_up::0 36 0.01237 0.01237 0.01237 2.80% Castro::initialize_do_advance() 5 0.01118 0.01118 0.01118 2.53% MLPoisson::define() 6 0.01003 0.01003 0.01003 2.27% Castro::do_old_sources() 5 0.009775 0.009775 0.009775 2.21% amrex::Dot() 484 0.009739 0.009739 0.009739 2.20% MLMG:computeResOfCorrection() 180 0.009586 0.009586 0.009586 2.17% MLCellLinOp::correctionResidual() 180 0.009534 0.009534 0.009534 2.16% Castro::normalize_species() 30 0.009367 0.009367 0.009367 2.12% FabArray::norminf() 465 0.009177 0.009177 0.009177 2.07% Gravity::get_new_grav_vector() 5 0.008221 0.008221 0.008221 1.86% Castro::construct_old_gravity() 5 0.007864 0.007864 0.007864 1.78% Gravity::get_old_grav_vector() 5 0.007858 0.007858 0.007858 1.78% MLMG::mgVcycle_down::1 36 0.007829 0.007829 0.007829 1.77% Castro::do_new_sources() 5 0.007636 0.007636 0.007636 1.73% Castro::initialize_advance() 5 0.00733 0.00733 0.00733 1.66% MLMG::mgVcycle_down::2 36 0.007177 0.007177 0.007177 1.62% MLMG::mgVcycle_down::3 36 0.006953 0.006953 0.006953 1.57% FabArray::setVal() 501 0.006952 0.006952 0.006952 1.57% FabArray::ParallelCopy() 380 0.006907 0.006907 0.006907 1.56% MLMG::mgVcycle_down::4 36 0.00689 0.00689 0.00689 1.56% MLCellLinOp::defineAuxData() 6 0.006802 0.006802 0.006802 1.54% FabArray::ParallelCopy_nowait() 380 0.006797 0.006797 0.006797 1.54% Castro::enforce_min_density() 30 0.006417 0.006417 0.006417 1.45% FabArray::Saxpy() 597 0.006169 0.006169 0.006169 1.39% Castro::expand_state() 5 0.006047 0.006047 0.006047 1.37% Castro::post_restart() 1 0.006027 0.006027 0.006027 1.36% MLCGSolver::ParallelAllReduce 798 0.00587 0.00587 0.00587 1.33% MLMG::addInterpCorrection() 180 0.005702 0.005702 0.005702 1.29% amrex::Copy() 221 0.005652 0.005652 0.005652 1.28% Gravity::multilevel_solve_for_new_phi() 1 0.005645 0.005645 0.005645 1.28% Gravity::actual_multilevel_solve() 1 0.005629 0.005629 0.005629 1.27% MLMG::mgVcycle_up::1 36 0.005596 0.005596 0.005596 1.27% MLMG::mgVcycle_up::4 36 0.00559 0.00559 0.00559 1.26% Castro::post_timestep() 5 0.005488 0.005488 0.005488 1.24% MLMG::mgVcycle_up::2 36 0.005465 0.005465 0.005465 1.24% Gravity::fill_multipole_BCs() 6 0.005457 0.005457 0.005457 1.23% amrex::average_down 180 0.005328 0.005328 0.005328 1.20% MLMG::mgVcycle_up::3 36 0.005314 0.005314 0.005314 1.20% MLPoisson::Fapply() 464 0.004781 0.004781 0.004781 1.08% Castro::reset_internal_energy(MultiFab) 30 0.004428 0.004428 0.004428 1.00% MLCellLinOp::solutionResidual() 42 0.003865 0.003865 0.003865 0.87% Castro::estTimeStep() 10 0.003763 0.003763 0.003763 0.85% FabArray::Xpay() 325 0.003681 0.003681 0.003681 0.83% MLCellLinOp::defineBC() 6 0.003055 0.003055 0.003055 0.69% MLMG::computeResidual() 36 0.003035 0.003035 0.003035 0.69% MLMG::prepareForSolve() 6 0.002993 0.002993 0.002993 0.68% BndryData::define() 6 0.002906 0.002906 0.002906 0.66% Castro::computeNewDt() 5 0.002599 0.002599 0.002599 0.59% Castro::construct_new_source() 25 0.001788 0.001788 0.001788 0.40% Castro::construct_new_gravity_source() 5 0.001709 0.001709 0.001709 0.39% amrex::Add() 36 0.001652 0.001652 0.001652 0.37% Castro::construct_old_source() 25 0.001386 0.001386 0.001386 0.31% Castro::construct_old_gravity_source() 5 0.001337 0.001337 0.001337 0.30% Castro::finalize_do_advance() 5 0.001272 0.001272 0.001272 0.29% Castro::enforce_speed_limit() 30 0.001254 0.001254 0.001254 0.28% MLMG::ResNormInf() 42 0.001064 0.001064 0.001064 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001032 0.001032 0.001032 0.23% Castro::apply_source_to_state() 10 0.0009736 0.0009736 0.0009736 0.22% check_for_negative_density() 5 0.0009553 0.0009553 0.0009553 0.22% MLMG::getGradSolution() 6 0.0009539 0.0009539 0.0009539 0.22% MLCellLinOp::compGrad() 6 0.000951 0.000951 0.000951 0.22% MLCellLinOp::setLevelBC() 6 0.0009124 0.0009124 0.0009124 0.21% MLMG::computeMLResidual() 6 0.0008485 0.0008485 0.0008485 0.19% Castro::reset_internal_energy(Fab) 240 0.0008154 0.0008154 0.0008154 0.18% FabArrayBase::getCPC() 632 0.0008133 0.0008133 0.0008133 0.18% MLPoisson::prepareForSolve() 6 0.0007868 0.0007868 0.0007868 0.18% MLCellLinOp::prepareForSolve() 6 0.0007827 0.0007827 0.0007827 0.18% FabArray::setDomainBndry() 20 0.00075 0.00075 0.00075 0.17% Gravity::update_max_rhs() 6 0.0007434 0.0007434 0.0007434 0.17% FabArray::mult() 22 0.0007135 0.0007135 0.0007135 0.16% Castro::check_for_nan() 10 0.000682 0.000682 0.000682 0.15% Other 2160 0.003763 0.003763 0.003763 0.85% -------------------------------------------------------------------------------------------- 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 1052 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1806 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 6444 KiB 14 MiB MLMG::prepareForSolve() 361 361 3418 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 190 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6431 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3348 B 2048 KiB Gravity::solve_for_phi() 40 40 628 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 315 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 202 KiB 671 KiB Castro::estTimeStep() 10 10 4031 B 480 KiB VisMF::Write(FabArray) 112 112 1342 B 320 KiB Castro::normalize_species() 30 30 6894 B 320 KiB amrex::average_down 469 469 1426 B 257 KiB MLMG::addInterpCorrection() 468 468 1098 B 257 KiB amrex::Dot() 592 592 3246 B 160 KiB FabArray::norminf() 501 501 3209 B 160 KiB check_for_negative_density() 5 5 347 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3313 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 293 B 9648 B MLCellLinOp::applyBC() 3820 3820 213 B 9344 B amrex::Copy() 56 56 5904 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCellLinOp::defineBC() 36 36 354 B 1248 B MLCGSolver::bicgstab 180 180 89 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1297 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 120 120 174 KiB 3584 KiB VisMF::Read() 24 24 206 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3313 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 293 B 9648 B MLCellLinOp::applyBC() 1910 1910 212 B 9328 B amrex::Copy() 56 56 5904 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2530 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2784 B MLMG::prepareForSolve() 7 7 808 B 1648 B amrex::average_down 37 37 465 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): 2109 [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-21-g259db7cfb99e) finalized