Initializing AMReX (24.05-30-g8e67cc99f079)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-30-g8e67cc99f079) initialized Starting run at 08:27:55 UTC on 2024-05-27. Successfully read inputs file ... Castro git describe: 24.05-14-g158d4b0e3 AMReX git describe: 24.05-30-g8e67cc99f Microphysics git describe: 24.05-21-g2adc854d 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.046644927 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025643745 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.066529833 [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.071979442 [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.080249015 [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.081747462 [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.057499389 [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.049854084 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.052357103 [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.080262138 [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.080458757 [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.064392413 [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.061658252 [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.044429938 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025644854 seconds Ending run at 08:27:56 UTC on 2024-05-27. Run time = 0.945553603 Run time without initialization = 0.817786224 Average number of zones advanced per microsecond: 3.206 Average number of zones advanced per microsecond per rank: 3.206 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9456 ... 0.9456 ... 0.9456 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2958 0.2958 0.2958 31.28% VisMF::Write(FabArray) 11 0.1834 0.1834 0.1834 19.40% MLCellLinOp::applyBC() 4351 0.0909 0.0909 0.0909 9.61% MLPoisson::Fsmooth() 3280 0.03503 0.03503 0.03503 3.70% FillBoundary_nowait() 3941 0.03117 0.03117 0.03117 3.30% StateData::FillBoundary(geom) 328 0.02802 0.02802 0.02802 2.96% amrex::Dot() 1114 0.0226 0.0226 0.0226 2.39% Castro::normalize_species() 62 0.02157 0.02157 0.02157 2.28% FabArray::norminf() 1061 0.02082 0.02082 0.02082 2.20% Castro::computeTemp() 63 0.01643 0.01643 0.01643 1.74% FabArray::ParallelCopy_nowait() 861 0.01438 0.01438 0.01438 1.52% FabArray::setVal() 1062 0.01394 0.01394 0.01394 1.47% FabArray::Saxpy() 1370 0.01377 0.01377 0.01377 1.46% Castro::enforce_min_density() 62 0.0129 0.0129 0.0129 1.36% StateDataPhysBCFunct::() 41 0.01139 0.01139 0.01139 1.20% MLCellLinOp::defineAuxData() 11 0.01121 0.01121 0.01121 1.19% amrex::Copy() 472 0.01114 0.01114 0.01114 1.18% MLPoisson::Fapply() 1060 0.01086 0.01086 0.01086 1.15% Gravity::fill_multipole_BCs() 11 0.00982 0.00982 0.00982 1.04% FabArray::Xpay() 739 0.008153 0.008153 0.008153 0.86% MLMG::addInterpCorrection() 410 0.007333 0.007333 0.007333 0.78% amrex::average_down 410 0.006562 0.006562 0.006562 0.69% Amr::checkPoint() 3 0.006182 0.006182 0.006182 0.65% Castro::estTimeStep() 21 0.005695 0.005695 0.005695 0.60% Castro::reset_internal_energy(MultiFab) 63 0.00441 0.00441 0.00441 0.47% BndryData::define() 11 0.004237 0.004237 0.004237 0.45% amrex::Add() 82 0.003623 0.003623 0.003623 0.38% Castro::construct_new_gravity_source() 10 0.003393 0.003393 0.003393 0.36% Castro::construct_old_gravity_source() 10 0.002849 0.002849 0.002849 0.30% Castro::enforce_speed_limit() 62 0.002359 0.002359 0.002359 0.25% Amr::writePlotFile() 2 0.002158 0.002158 0.002158 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001908 0.001908 0.001908 0.20% check_for_negative_density() 10 0.00183 0.00183 0.00183 0.19% MLCGSolver::bicgstab 82 0.001738 0.001738 0.001738 0.18% Castro::reset_internal_energy(Fab) 504 0.001721 0.001721 0.001721 0.18% Gravity::actual_solve_with_mlmg() 11 0.001708 0.001708 0.001708 0.18% MLCellLinOp::setLevelBC() 11 0.001663 0.001663 0.001663 0.18% Castro::initData() 1 0.001468 0.001468 0.001468 0.16% FabArray::setDomainBndry() 41 0.001416 0.001416 0.001416 0.15% FabArray::mult() 43 0.001412 0.001412 0.001412 0.15% MLCellLinOp::prepareForSolve() 11 0.001397 0.001397 0.001397 0.15% MultiFab::contains_nan() 20 0.001291 0.001291 0.001291 0.14% MLCellLinOp::smooth() 1640 0.001244 0.001244 0.001244 0.13% MLCellLinOp::compGrad() 11 0.001146 0.001146 0.001146 0.12% MLMG::prepareForSolve() 11 0.001003 0.001003 0.001003 0.11% FabArray::FillBoundary() 3941 0.0008936 0.0008936 0.0008936 0.09% FabArrayBase::getCPC() 1323 0.0008784 0.0008784 0.0008784 0.09% Gravity::get_new_grav_vector() 11 0.0006372 0.0006372 0.0006372 0.07% MLCellLinOp::apply() 1060 0.000492 0.000492 0.000492 0.05% Gravity::get_old_grav_vector() 10 0.0004883 0.0004883 0.0004883 0.05% AmrLevel::FillPatch() 41 0.0004297 0.0004297 0.0004297 0.05% Amr::coarseTimeStep() 10 0.0003807 0.0003807 0.0003807 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003393 0.0003393 0.0003393 0.04% main() 1 0.0002935 0.0002935 0.0002935 0.03% MLCellLinOp::defineBC() 11 0.0002821 0.0002821 0.0002821 0.03% FabArray::ParallelCopy() 861 0.0002756 0.0002756 0.0002756 0.03% FillPatchIterator::Initialize 41 0.0002356 0.0002356 0.0002356 0.02% MLMG::mgVcycle() 82 0.0002238 0.0002238 0.0002238 0.02% Amr::timeStep() 10 0.000194 0.000194 0.000194 0.02% MLCellLinOp::correctionResidual() 410 0.0001705 0.0001705 0.0001705 0.02% Castro::subcycle_advance_ctu() 10 0.0001624 0.0001624 0.0001624 0.02% Castro::construct_new_source() 50 0.00014 0.00014 0.00014 0.01% Gravity::solve_for_phi() 10 0.000131 0.000131 0.000131 0.01% MLMG:computeResOfCorrection() 410 0.0001285 0.0001285 0.0001285 0.01% StateData::checkPoint() 12 0.0001163 0.0001163 0.0001163 0.01% MLMG::actualBottomSolve() 82 9.443e-05 9.443e-05 9.443e-05 0.01% MLMG::mgVcycle_down::0 82 8.707e-05 8.707e-05 8.707e-05 0.01% MLMG::solve() 11 8.615e-05 8.615e-05 8.615e-05 0.01% Castro::initialize_advance() 10 8.213e-05 8.213e-05 8.213e-05 0.01% Castro::clean_state() 62 7.841e-05 7.841e-05 7.841e-05 0.01% MLMG::mgVcycle_down::2 82 7.811e-05 7.811e-05 7.811e-05 0.01% Castro::post_timestep() 10 7.748e-05 7.748e-05 7.748e-05 0.01% MLMG::mgVcycle_down::1 82 7.669e-05 7.669e-05 7.669e-05 0.01% Castro::advance() 10 7.568e-05 7.568e-05 7.568e-05 0.01% MLMG::mgVcycle_down::4 82 7.316e-05 7.316e-05 7.316e-05 0.01% AmrLevel::checkPoint() 3 7.209e-05 7.209e-05 7.209e-05 0.01% MLMG::mgVcycle_down::3 82 6.972e-05 6.972e-05 6.972e-05 0.01% MLMG::oneIter() 82 6.664e-05 6.664e-05 6.664e-05 0.01% Castro::do_advance_ctu() 10 6.298e-05 6.298e-05 6.298e-05 0.01% Castro::initialize_do_advance() 10 6.21e-05 6.21e-05 6.21e-05 0.01% Castro::do_new_sources() 10 5.593e-05 5.593e-05 5.593e-05 0.01% MLCellLinOp::solutionResidual() 93 5.58e-05 5.58e-05 5.58e-05 0.01% MLMG::mgVcycle_up::4 82 5.545e-05 5.545e-05 5.545e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.171e-05 5.171e-05 5.171e-05 0.01% MLMG::mgVcycle_up::3 82 4.985e-05 4.985e-05 4.985e-05 0.01% Castro::finalize_do_advance() 10 4.853e-05 4.853e-05 4.853e-05 0.01% MLMG::mgVcycle_up::0 82 4.796e-05 4.796e-05 4.796e-05 0.01% MLMG::mgVcycle_up::2 82 4.726e-05 4.726e-05 4.726e-05 0.00% MLMG::mgVcycle_up::1 82 4.724e-05 4.724e-05 4.724e-05 0.00% MLMG::computeResidual() 82 4.444e-05 4.444e-05 4.444e-05 0.00% FillPatchSingleLevel 41 4.18e-05 4.18e-05 4.18e-05 0.00% MLMG::mgVcycle_bottom 82 3.818e-05 3.818e-05 3.818e-05 0.00% MLMG::ResNormInf() 93 3.737e-05 3.737e-05 3.737e-05 0.00% Amr::defBaseLevel() 1 3.241e-05 3.241e-05 3.241e-05 0.00% Castro::construct_new_gravity() 10 3.224e-05 3.224e-05 3.224e-05 0.00% MLPoisson::define() 11 2.95e-05 2.95e-05 2.95e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.405e-05 2.405e-05 2.405e-05 0.00% Castro::do_old_sources() 10 2.303e-05 2.303e-05 2.303e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.281e-05 2.281e-05 2.281e-05 0.00% Castro::construct_old_source() 50 2.041e-05 2.041e-05 2.041e-05 0.00% Amr::FinalizeInit() 1 1.919e-05 1.919e-05 1.919e-05 0.00% Castro::apply_source_to_state() 20 1.726e-05 1.726e-05 1.726e-05 0.00% Castro::check_for_nan() 20 1.499e-05 1.499e-05 1.499e-05 0.00% Castro::construct_old_gravity() 10 1.251e-05 1.251e-05 1.251e-05 0.00% MLMG::computeMLResidual() 11 1.136e-05 1.136e-05 1.136e-05 0.00% Gravity::actual_multilevel_solve() 1 8.453e-06 8.453e-06 8.453e-06 0.00% MLPoisson::prepareForSolve() 11 7.46e-06 7.46e-06 7.46e-06 0.00% Castro::computeNewDt() 9 6.999e-06 6.999e-06 6.999e-06 0.00% MLMG::getGradSolution() 11 6.835e-06 6.835e-06 6.835e-06 0.00% Castro::expand_state() 10 5.852e-06 5.852e-06 5.852e-06 0.00% Amr::InitializeInit() 1 5.677e-06 5.677e-06 5.677e-06 0.00% Castro::post_init() 1 3.923e-06 3.923e-06 3.923e-06 0.00% Amr::init() 1 2.392e-06 2.392e-06 2.392e-06 0.00% Amr::initialInit() 1 1.317e-06 1.317e-06 1.317e-06 0.00% Other 4753 0.003517 0.003517 0.003517 0.37% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9456 0.9456 0.9456 100.00% Amr::coarseTimeStep() 10 0.7919 0.7919 0.7919 83.74% Amr::timeStep() 10 0.6939 0.6939 0.6939 73.38% Castro::advance() 10 0.6834 0.6834 0.6834 72.27% Castro::subcycle_advance_ctu() 10 0.669 0.669 0.669 70.74% Castro::do_advance_ctu() 10 0.6688 0.6688 0.6688 70.73% Gravity::solve_phi_with_mlmg() 11 0.3148 0.3148 0.3148 33.29% Castro::construct_ctu_hydro_source() 10 0.3076 0.3076 0.3076 32.53% Gravity::actual_solve_with_mlmg() 11 0.3045 0.3045 0.3045 32.20% Castro::construct_new_gravity() 10 0.2865 0.2865 0.2865 30.30% MLMG::solve() 11 0.2808 0.2808 0.2808 29.69% Gravity::solve_for_phi() 10 0.2695 0.2695 0.2695 28.50% MLMG::oneIter() 82 0.2646 0.2646 0.2646 27.98% MLMG::mgVcycle() 82 0.2609 0.2609 0.2609 27.59% VisMF::Write(FabArray) 11 0.1834 0.1834 0.1834 19.40% Amr::checkPoint() 3 0.1411 0.1411 0.1411 14.92% AmrLevel::checkPoint() 3 0.1349 0.1349 0.1349 14.27% StateData::checkPoint() 12 0.1348 0.1348 0.1348 14.26% MLCellLinOp::smooth() 1640 0.1328 0.1328 0.1328 14.04% Amr::init() 1 0.127 0.127 0.127 13.44% MLCellLinOp::applyBC() 4351 0.1237 0.1237 0.1237 13.09% MLMG::mgVcycle_bottom 82 0.07662 0.07662 0.07662 8.10% MLMG::actualBottomSolve() 82 0.07659 0.07659 0.07659 8.10% MLCGSolver::bicgstab 82 0.07572 0.07572 0.07572 8.01% Castro::clean_state() 62 0.05871 0.05871 0.05871 6.21% Amr::initialInit() 1 0.05462 0.05462 0.05462 5.78% Amr::writePlotFile() 2 0.05143 0.05143 0.05143 5.44% Amr::FinalizeInit() 1 0.04976 0.04976 0.04976 5.26% AmrLevel::FillPatch() 41 0.04967 0.04967 0.04967 5.25% Castro::post_init() 1 0.04837 0.04837 0.04837 5.11% Gravity::multilevel_solve_for_new_phi() 1 0.04574 0.04574 0.04574 4.84% Gravity::actual_multilevel_solve() 1 0.04572 0.04572 0.04572 4.83% FillPatchIterator::Initialize 41 0.04531 0.04531 0.04531 4.79% FillPatchIterator::FillFromLevel0() 41 0.04366 0.04366 0.04366 4.62% FillPatchSingleLevel 41 0.04361 0.04361 0.04361 4.61% StateDataPhysBCFunct::() 41 0.03941 0.03941 0.03941 4.17% MLCellLinOp::apply() 1060 0.03808 0.03808 0.03808 4.03% MLMG::mgVcycle_down::0 82 0.03559 0.03559 0.03559 3.76% MLPoisson::Fsmooth() 3280 0.03503 0.03503 0.03503 3.70% MLMG::mgVcycle_up::0 82 0.03363 0.03363 0.03363 3.56% FabArray::FillBoundary() 3941 0.03285 0.03285 0.03285 3.47% FillBoundary_nowait() 3941 0.03195 0.03195 0.03195 3.38% StateData::FillBoundary(geom) 328 0.02802 0.02802 0.02802 2.96% amrex::Dot() 1114 0.0226 0.0226 0.0226 2.39% Castro::computeTemp() 63 0.02256 0.02256 0.02256 2.39% Castro::initialize_do_advance() 10 0.02226 0.02226 0.02226 2.35% Castro::normalize_species() 62 0.02157 0.02157 0.02157 2.28% MLMG:computeResOfCorrection() 410 0.02124 0.02124 0.02124 2.25% MLCellLinOp::correctionResidual() 410 0.02111 0.02111 0.02111 2.23% FabArray::norminf() 1061 0.02082 0.02082 0.02082 2.20% Gravity::get_new_grav_vector() 11 0.01917 0.01917 0.01917 2.03% Castro::do_old_sources() 10 0.01893 0.01893 0.01893 2.00% MLPoisson::define() 11 0.01864 0.01864 0.01864 1.97% MLMG::mgVcycle_down::1 82 0.01737 0.01737 0.01737 1.84% MLMG::mgVcycle_down::2 82 0.01629 0.01629 0.01629 1.72% Castro::construct_old_gravity() 10 0.01595 0.01595 0.01595 1.69% Gravity::get_old_grav_vector() 10 0.01593 0.01593 0.01593 1.69% MLMG::mgVcycle_down::3 82 0.01588 0.01588 0.01588 1.68% MLMG::mgVcycle_down::4 82 0.01574 0.01574 0.01574 1.66% FabArray::ParallelCopy() 861 0.01553 0.01553 0.01553 1.64% FabArray::ParallelCopy_nowait() 861 0.01526 0.01526 0.01526 1.61% Castro::do_new_sources() 10 0.01424 0.01424 0.01424 1.51% FabArray::setVal() 1062 0.01394 0.01394 0.01394 1.47% FabArray::Saxpy() 1370 0.01377 0.01377 0.01377 1.46% Castro::initialize_advance() 10 0.01371 0.01371 0.01371 1.45% MLCGSolver::ParallelAllReduce 1832 0.01355 0.01355 0.01355 1.43% MLMG::addInterpCorrection() 410 0.01305 0.01305 0.01305 1.38% Castro::enforce_min_density() 62 0.0129 0.0129 0.0129 1.36% MLCellLinOp::defineAuxData() 11 0.01276 0.01276 0.01276 1.35% MLMG::mgVcycle_up::4 82 0.0126 0.0126 0.0126 1.33% MLMG::mgVcycle_up::1 82 0.01258 0.01258 0.01258 1.33% MLMG::mgVcycle_up::2 82 0.01227 0.01227 0.01227 1.30% amrex::average_down 410 0.01223 0.01223 0.01223 1.29% MLMG::mgVcycle_up::3 82 0.01208 0.01208 0.01208 1.28% Castro::expand_state() 10 0.01179 0.01179 0.01179 1.25% amrex::Copy() 472 0.01114 0.01114 0.01114 1.18% MLPoisson::Fapply() 1060 0.01086 0.01086 0.01086 1.15% Castro::post_timestep() 10 0.01031 0.01031 0.01031 1.09% Gravity::fill_multipole_BCs() 11 0.01007 0.01007 0.01007 1.06% MLCellLinOp::solutionResidual() 93 0.008229 0.008229 0.008229 0.87% FabArray::Xpay() 739 0.008153 0.008153 0.008153 0.86% MLMG::computeResidual() 82 0.006952 0.006952 0.006952 0.74% Castro::reset_internal_energy(MultiFab) 63 0.006131 0.006131 0.006131 0.65% Castro::estTimeStep() 21 0.005695 0.005695 0.005695 0.60% MLCellLinOp::defineBC() 11 0.005583 0.005583 0.005583 0.59% MLMG::prepareForSolve() 11 0.005356 0.005356 0.005356 0.57% BndryData::define() 11 0.005301 0.005301 0.005301 0.56% Amr::InitializeInit() 1 0.004861 0.004861 0.004861 0.51% Amr::defBaseLevel() 1 0.004855 0.004855 0.004855 0.51% Castro::initData() 1 0.004147 0.004147 0.004147 0.44% amrex::Add() 82 0.003623 0.003623 0.003623 0.38% Castro::construct_new_source() 50 0.003533 0.003533 0.003533 0.37% Castro::construct_new_gravity_source() 10 0.003393 0.003393 0.003393 0.36% Castro::construct_old_source() 50 0.00287 0.00287 0.00287 0.30% Castro::construct_old_gravity_source() 10 0.002849 0.002849 0.002849 0.30% Castro::computeNewDt() 9 0.002547 0.002547 0.002547 0.27% Castro::enforce_speed_limit() 62 0.002359 0.002359 0.002359 0.25% MLMG::ResNormInf() 93 0.002258 0.002258 0.002258 0.24% Castro::finalize_do_advance() 10 0.00225 0.00225 0.00225 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001908 0.001908 0.001908 0.20% Castro::apply_source_to_state() 20 0.001889 0.001889 0.001889 0.20% check_for_negative_density() 10 0.00183 0.00183 0.00183 0.19% Castro::reset_internal_energy(Fab) 504 0.001721 0.001721 0.001721 0.18% MLMG::getGradSolution() 11 0.001686 0.001686 0.001686 0.18% MLCellLinOp::compGrad() 11 0.001679 0.001679 0.001679 0.18% MLCellLinOp::setLevelBC() 11 0.001663 0.001663 0.001663 0.18% FabArrayBase::getCPC() 1323 0.001585 0.001585 0.001585 0.17% FabArray::setDomainBndry() 41 0.001416 0.001416 0.001416 0.15% FabArray::mult() 43 0.001412 0.001412 0.001412 0.15% MLPoisson::prepareForSolve() 11 0.001404 0.001404 0.001404 0.15% MLCellLinOp::prepareForSolve() 11 0.001397 0.001397 0.001397 0.15% MLMG::computeMLResidual() 11 0.001333 0.001333 0.001333 0.14% Castro::check_for_nan() 20 0.001306 0.001306 0.001306 0.14% MultiFab::contains_nan() 20 0.001291 0.001291 0.001291 0.14% Other 4753 0.009403 0.009403 0.009403 0.99% -------------------------------------------------------------------------------------------- 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 5468 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 1003 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1517 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3653 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 210 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 172 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7521 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2090 B 2048 KiB Gravity::solve_for_phi() 80 80 583 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 334 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 212 KiB 671 KiB Castro::estTimeStep() 21 21 2935 B 480 KiB VisMF::Write(FabArray) 656 656 3309 B 320 KiB Castro::normalize_species() 62 62 7431 B 320 KiB amrex::average_down 1067 1067 1623 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1173 B 257 KiB amrex::Dot() 1360 1360 3519 B 160 KiB FabArray::norminf() 1143 1143 3398 B 160 KiB check_for_negative_density() 10 10 308 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 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3569 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 285 B 9648 B MLCellLinOp::applyBC() 8702 8702 284 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3964 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 376 B 1248 B MLCGSolver::bicgstab 410 410 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 561 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 744 744 424 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3569 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 284 B 9648 B MLCellLinOp::applyBC() 4351 4351 282 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3964 B 6144 B Gravity::get_new_grav_vector() 3 3 2897 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 42 B 2656 B amrex::average_down 83 83 618 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 304 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.05-30-g8e67cc99f079) finalized Initializing AMReX (24.05-30-g8e67cc99f079)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.05-30-g8e67cc99f079) initialized Starting run at 08:27:56 UTC on 2024-05-27. Successfully read inputs file ... Castro git describe: 24.05-14-g158d4b0e3 AMReX git describe: 24.05-30-g8e67cc99f Microphysics git describe: 24.05-21-g2adc854d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.535679569 Restart time = 0.070047368 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.079685862 [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.063371729 [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.075473291 [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.074926883 [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.055590029 [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.026905127 seconds Ending run at 08:27:57 UTC on 2024-05-27. Run time = 0.447132953 Run time without initialization = 0.376435695 Average number of zones advanced per microsecond: 3.482 Average number of zones advanced per microsecond per rank: 3.482 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4472 ... 0.4472 ... 0.4472 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1537 0.1537 0.1537 34.37% VisMF::Read() 3 0.05893 0.05893 0.05893 13.18% MLCellLinOp::applyBC() 1910 0.03575 0.03575 0.03575 7.99% VisMF::Write(FabArray) 1 0.02422 0.02422 0.02422 5.42% MLPoisson::Fsmooth() 1440 0.01488 0.01488 0.01488 3.33% FillBoundary_nowait() 1730 0.01287 0.01287 0.01287 2.88% StateData::FillBoundary(geom) 160 0.01276 0.01276 0.01276 2.85% Castro::normalize_species() 30 0.01028 0.01028 0.01028 2.30% amrex::Dot() 484 0.00934 0.00934 0.00934 2.09% FabArray::norminf() 465 0.008757 0.008757 0.008757 1.96% Castro::computeTemp() 30 0.007841 0.007841 0.007841 1.75% FabArray::setVal() 501 0.006632 0.006632 0.006632 1.48% Castro::enforce_min_density() 30 0.006462 0.006462 0.006462 1.45% FabArray::ParallelCopy_nowait() 380 0.006282 0.006282 0.006282 1.40% FabArray::Saxpy() 597 0.005904 0.005904 0.005904 1.32% MLCellLinOp::defineAuxData() 6 0.005646 0.005646 0.005646 1.26% amrex::Copy() 221 0.005494 0.005494 0.005494 1.23% Gravity::fill_multipole_BCs() 6 0.005239 0.005239 0.005239 1.17% StateDataPhysBCFunct::() 20 0.004924 0.004924 0.004924 1.10% Amr::restart() 1 0.004753 0.004753 0.004753 1.06% MLPoisson::Fapply() 464 0.004523 0.004523 0.004523 1.01% FabArray::Xpay() 325 0.003511 0.003511 0.003511 0.79% Castro::estTimeStep() 10 0.003289 0.003289 0.003289 0.74% MLMG::addInterpCorrection() 180 0.003133 0.003133 0.003133 0.70% amrex::average_down 180 0.002759 0.002759 0.002759 0.62% Amr::writePlotFile() 1 0.002514 0.002514 0.002514 0.56% BndryData::define() 6 0.002223 0.002223 0.002223 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002129 0.002129 0.002129 0.48% Castro::construct_new_gravity_source() 5 0.001883 0.001883 0.001883 0.42% amrex::Add() 36 0.001549 0.001549 0.001549 0.35% Castro::construct_old_gravity_source() 5 0.001509 0.001509 0.001509 0.34% Castro::enforce_speed_limit() 30 0.001311 0.001311 0.001311 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009873 0.0009873 0.0009873 0.22% check_for_negative_density() 5 0.0009554 0.0009554 0.0009554 0.21% MLCellLinOp::setLevelBC() 6 0.0008994 0.0008994 0.0008994 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008422 0.0008422 0.0008422 0.19% Castro::reset_internal_energy(Fab) 240 0.0007962 0.0007962 0.0007962 0.18% MLCellLinOp::prepareForSolve() 6 0.0007519 0.0007519 0.0007519 0.17% FabArray::setDomainBndry() 20 0.0007287 0.0007287 0.0007287 0.16% MLCGSolver::bicgstab 36 0.0007165 0.0007165 0.0007165 0.16% FabArray::mult() 22 0.0006972 0.0006972 0.0006972 0.16% MLCellLinOp::compGrad() 6 0.0006001 0.0006001 0.0006001 0.13% MLMG::prepareForSolve() 6 0.0005449 0.0005449 0.0005449 0.12% MLCellLinOp::smooth() 720 0.0005169 0.0005169 0.0005169 0.12% FabArrayBase::getCPC() 632 0.0003743 0.0003743 0.0003743 0.08% FabArray::FillBoundary() 1730 0.0003525 0.0003525 0.0003525 0.08% Gravity::get_old_grav_vector() 5 0.0003167 0.0003167 0.0003167 0.07% main() 1 0.0002907 0.0002907 0.0002907 0.07% Gravity::get_new_grav_vector() 5 0.0002825 0.0002825 0.0002825 0.06% AmrLevel::FillPatch() 20 0.0002009 0.0002009 0.0002009 0.04% MLCellLinOp::apply() 464 0.0001928 0.0001928 0.0001928 0.04% Amr::coarseTimeStep() 5 0.0001897 0.0001897 0.0001897 0.04% MLCellLinOp::defineBC() 6 0.0001532 0.0001532 0.0001532 0.03% Castro::construct_new_source() 25 0.0001366 0.0001366 0.0001366 0.03% MLCGSolver::ParallelAllReduce 798 0.000134 0.000134 0.000134 0.03% Castro::subcycle_advance_ctu() 5 0.0001279 0.0001279 0.0001279 0.03% FabArray::ParallelCopy() 380 0.000117 0.000117 0.000117 0.03% Castro::advance() 5 0.0001098 0.0001098 0.0001098 0.02% FillPatchIterator::Initialize 20 0.0001071 0.0001071 0.0001071 0.02% Castro::do_advance_ctu() 5 9.608e-05 9.608e-05 9.608e-05 0.02% MLMG::mgVcycle() 36 8.42e-05 8.42e-05 8.42e-05 0.02% Amr::timeStep() 5 8.261e-05 8.261e-05 8.261e-05 0.02% AmrLevel::restart() 1 7.11e-05 7.11e-05 7.11e-05 0.02% MLCellLinOp::correctionResidual() 180 7.039e-05 7.039e-05 7.039e-05 0.02% Castro::initialize_do_advance() 5 6.883e-05 6.883e-05 6.883e-05 0.02% Castro::finalize_do_advance() 5 6.574e-05 6.574e-05 6.574e-05 0.01% Gravity::update_max_rhs() 6 6.394e-05 6.394e-05 6.394e-05 0.01% StateData::restartDoit() 4 6.252e-05 6.252e-05 6.252e-05 0.01% Gravity::solve_for_phi() 5 5.366e-05 5.366e-05 5.366e-05 0.01% MLMG:computeResOfCorrection() 180 4.705e-05 4.705e-05 4.705e-05 0.01% MLMG::actualBottomSolve() 36 3.946e-05 3.946e-05 3.946e-05 0.01% MLMG::solve() 6 3.732e-05 3.732e-05 3.732e-05 0.01% Castro::initialize_advance() 5 3.685e-05 3.685e-05 3.685e-05 0.01% MLMG::mgVcycle_down::0 36 3.374e-05 3.374e-05 3.374e-05 0.01% MLMG::mgVcycle_down::1 36 3.24e-05 3.24e-05 3.24e-05 0.01% Castro::clean_state() 30 3.229e-05 3.229e-05 3.229e-05 0.01% MLMG::mgVcycle_down::2 36 2.957e-05 2.957e-05 2.957e-05 0.01% MLMG::mgVcycle_down::4 36 2.906e-05 2.906e-05 2.906e-05 0.01% MLMG::mgVcycle_down::3 36 2.747e-05 2.747e-05 2.747e-05 0.01% Castro::construct_old_source() 25 2.746e-05 2.746e-05 2.746e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.562e-05 2.562e-05 2.562e-05 0.01% MLMG::mgVcycle_up::4 36 2.422e-05 2.422e-05 2.422e-05 0.01% MLMG::oneIter() 36 2.409e-05 2.409e-05 2.409e-05 0.01% Castro::post_restart() 1 2.341e-05 2.341e-05 2.341e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.128e-05 2.128e-05 2.128e-05 0.00% MLMG::mgVcycle_up::3 36 2.115e-05 2.115e-05 2.115e-05 0.00% MLMG::mgVcycle_up::0 36 2.023e-05 2.023e-05 2.023e-05 0.00% MLCellLinOp::solutionResidual() 42 1.988e-05 1.988e-05 1.988e-05 0.00% MLMG::mgVcycle_up::2 36 1.975e-05 1.975e-05 1.975e-05 0.00% MLMG::mgVcycle_up::1 36 1.894e-05 1.894e-05 1.894e-05 0.00% MLPoisson::define() 6 1.745e-05 1.745e-05 1.745e-05 0.00% MLMG::ResNormInf() 42 1.731e-05 1.731e-05 1.731e-05 0.00% FillPatchSingleLevel 20 1.613e-05 1.613e-05 1.613e-05 0.00% MLMG::mgVcycle_bottom 36 1.606e-05 1.606e-05 1.606e-05 0.00% MLMG::computeResidual() 36 1.346e-05 1.346e-05 1.346e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.281e-05 1.281e-05 1.281e-05 0.00% Castro::construct_new_gravity() 5 1.209e-05 1.209e-05 1.209e-05 0.00% Castro::do_old_sources() 5 1.018e-05 1.018e-05 1.018e-05 0.00% Castro::do_new_sources() 5 9.793e-06 9.793e-06 9.793e-06 0.00% Castro::expand_state() 5 8.767e-06 8.767e-06 8.767e-06 0.00% Gravity::actual_multilevel_solve() 1 8.694e-06 8.694e-06 8.694e-06 0.00% MLMG::getGradSolution() 6 8.072e-06 8.072e-06 8.072e-06 0.00% Castro::apply_source_to_state() 10 5.979e-06 5.979e-06 5.979e-06 0.00% Castro::construct_old_gravity() 5 5.888e-06 5.888e-06 5.888e-06 0.00% MLMG::computeMLResidual() 6 4.269e-06 4.269e-06 4.269e-06 0.00% Castro::computeNewDt() 5 4.093e-06 4.093e-06 4.093e-06 0.00% Castro::post_timestep() 5 3.885e-06 3.885e-06 3.885e-06 0.00% MLPoisson::prepareForSolve() 6 3.781e-06 3.781e-06 3.781e-06 0.00% Amr::init() 1 1.081e-06 1.081e-06 1.081e-06 0.00% Other 2170 0.002531 0.002531 0.002531 0.57% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4471 0.4471 0.4471 99.99% Amr::coarseTimeStep() 5 0.3492 0.3492 0.3492 78.10% Amr::timeStep() 5 0.3471 0.3471 0.3471 77.61% Castro::advance() 5 0.3418 0.3418 0.3418 76.44% Castro::subcycle_advance_ctu() 5 0.3342 0.3342 0.3342 74.74% Castro::do_advance_ctu() 5 0.3341 0.3341 0.3341 74.71% Castro::construct_ctu_hydro_source() 5 0.1598 0.1598 0.1598 35.73% Castro::construct_new_gravity() 5 0.1363 0.1363 0.1363 30.47% Gravity::solve_phi_with_mlmg() 6 0.1335 0.1335 0.1335 29.85% Gravity::solve_for_phi() 5 0.1282 0.1282 0.1282 28.68% Gravity::actual_solve_with_mlmg() 6 0.128 0.128 0.128 28.62% MLMG::solve() 6 0.1158 0.1158 0.1158 25.89% MLMG::oneIter() 36 0.1081 0.1081 0.1081 24.16% MLMG::mgVcycle() 36 0.1065 0.1065 0.1065 23.81% Amr::init() 1 0.07009 0.07009 0.07009 15.68% Amr::restart() 1 0.07009 0.07009 0.07009 15.67% AmrLevel::restart() 1 0.05929 0.05929 0.05929 13.26% StateData::restartDoit() 4 0.05921 0.05921 0.05921 13.24% VisMF::Read() 3 0.05893 0.05893 0.05893 13.18% MLCellLinOp::smooth() 720 0.05302 0.05302 0.05302 11.86% MLCellLinOp::applyBC() 1910 0.04929 0.04929 0.04929 11.02% MLMG::mgVcycle_bottom 36 0.03188 0.03188 0.03188 7.13% MLMG::actualBottomSolve() 36 0.03186 0.03186 0.03186 7.13% MLCGSolver::bicgstab 36 0.03149 0.03149 0.03149 7.04% Castro::clean_state() 30 0.02885 0.02885 0.02885 6.45% Amr::writePlotFile() 1 0.027 0.027 0.027 6.04% VisMF::Write(FabArray) 1 0.02422 0.02422 0.02422 5.42% AmrLevel::FillPatch() 20 0.02274 0.02274 0.02274 5.09% FillPatchIterator::Initialize 20 0.02063 0.02063 0.02063 4.61% FillPatchIterator::FillFromLevel0() 20 0.01979 0.01979 0.01979 4.43% FillPatchSingleLevel 20 0.01977 0.01977 0.01977 4.42% StateDataPhysBCFunct::() 20 0.01768 0.01768 0.01768 3.95% MLCellLinOp::apply() 464 0.01609 0.01609 0.01609 3.60% MLMG::mgVcycle_down::0 36 0.01505 0.01505 0.01505 3.37% MLPoisson::Fsmooth() 1440 0.01488 0.01488 0.01488 3.33% FabArray::FillBoundary() 1730 0.01354 0.01354 0.01354 3.03% FillBoundary_nowait() 1730 0.01319 0.01319 0.01319 2.95% StateData::FillBoundary(geom) 160 0.01276 0.01276 0.01276 2.85% MLMG::mgVcycle_up::0 36 0.01118 0.01118 0.01118 2.50% Castro::computeTemp() 30 0.01077 0.01077 0.01077 2.41% Castro::initialize_do_advance() 5 0.0107 0.0107 0.0107 2.39% Castro::do_old_sources() 5 0.01044 0.01044 0.01044 2.34% Castro::normalize_species() 30 0.01028 0.01028 0.01028 2.30% MLPoisson::define() 6 0.009568 0.009568 0.009568 2.14% amrex::Dot() 484 0.00934 0.00934 0.00934 2.09% MLMG:computeResOfCorrection() 180 0.008918 0.008918 0.008918 1.99% MLCellLinOp::correctionResidual() 180 0.008871 0.008871 0.008871 1.98% FabArray::norminf() 465 0.008757 0.008757 0.008757 1.96% Gravity::get_new_grav_vector() 5 0.007895 0.007895 0.007895 1.77% Castro::construct_old_gravity() 5 0.007726 0.007726 0.007726 1.73% Gravity::get_old_grav_vector() 5 0.00772 0.00772 0.00772 1.73% MLMG::mgVcycle_down::1 36 0.007415 0.007415 0.007415 1.66% Castro::do_new_sources() 5 0.007222 0.007222 0.007222 1.62% Castro::initialize_advance() 5 0.007215 0.007215 0.007215 1.61% MLMG::mgVcycle_down::2 36 0.006793 0.006793 0.006793 1.52% FabArray::ParallelCopy() 380 0.006789 0.006789 0.006789 1.52% FabArray::ParallelCopy_nowait() 380 0.006672 0.006672 0.006672 1.49% MLMG::mgVcycle_down::3 36 0.006637 0.006637 0.006637 1.48% FabArray::setVal() 501 0.006632 0.006632 0.006632 1.48% MLMG::mgVcycle_down::4 36 0.006587 0.006587 0.006587 1.47% Castro::enforce_min_density() 30 0.006462 0.006462 0.006462 1.45% MLCellLinOp::defineAuxData() 6 0.006449 0.006449 0.006449 1.44% FabArray::Saxpy() 597 0.005904 0.005904 0.005904 1.32% Castro::post_restart() 1 0.005869 0.005869 0.005869 1.31% Castro::expand_state() 5 0.005754 0.005754 0.005754 1.29% MLCGSolver::ParallelAllReduce 798 0.005622 0.005622 0.005622 1.26% MLMG::addInterpCorrection() 180 0.005497 0.005497 0.005497 1.23% amrex::Copy() 221 0.005494 0.005494 0.005494 1.23% Gravity::multilevel_solve_for_new_phi() 1 0.005494 0.005494 0.005494 1.23% Gravity::actual_multilevel_solve() 1 0.005468 0.005468 0.005468 1.22% Gravity::fill_multipole_BCs() 6 0.005364 0.005364 0.005364 1.20% MLMG::mgVcycle_up::4 36 0.005316 0.005316 0.005316 1.19% MLMG::mgVcycle_up::1 36 0.005283 0.005283 0.005283 1.18% MLMG::mgVcycle_up::2 36 0.005169 0.005169 0.005169 1.16% Castro::post_timestep() 5 0.005141 0.005141 0.005141 1.15% amrex::average_down 180 0.005107 0.005107 0.005107 1.14% MLMG::mgVcycle_up::3 36 0.005086 0.005086 0.005086 1.14% MLPoisson::Fapply() 464 0.004523 0.004523 0.004523 1.01% MLCellLinOp::solutionResidual() 42 0.003693 0.003693 0.003693 0.83% FabArray::Xpay() 325 0.003511 0.003511 0.003511 0.79% Castro::estTimeStep() 10 0.003289 0.003289 0.003289 0.74% MLCellLinOp::defineBC() 6 0.002967 0.002967 0.002967 0.66% Castro::reset_internal_energy(MultiFab) 30 0.002925 0.002925 0.002925 0.65% MLMG::computeResidual() 36 0.002874 0.002874 0.002874 0.64% MLMG::prepareForSolve() 6 0.002869 0.002869 0.002869 0.64% BndryData::define() 6 0.002814 0.002814 0.002814 0.63% Castro::construct_new_source() 25 0.00202 0.00202 0.00202 0.45% Castro::computeNewDt() 5 0.00199 0.00199 0.00199 0.45% Castro::construct_new_gravity_source() 5 0.001883 0.001883 0.001883 0.42% amrex::Add() 36 0.001549 0.001549 0.001549 0.35% Castro::construct_old_source() 25 0.001537 0.001537 0.001537 0.34% Castro::construct_old_gravity_source() 5 0.001509 0.001509 0.001509 0.34% Castro::finalize_do_advance() 5 0.001369 0.001369 0.001369 0.31% Castro::enforce_speed_limit() 30 0.001311 0.001311 0.001311 0.29% MLMG::ResNormInf() 42 0.0009925 0.0009925 0.0009925 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009873 0.0009873 0.0009873 0.22% Castro::apply_source_to_state() 10 0.0009679 0.0009679 0.0009679 0.22% check_for_negative_density() 5 0.0009554 0.0009554 0.0009554 0.21% MLCellLinOp::setLevelBC() 6 0.0008994 0.0008994 0.0008994 0.20% MLMG::getGradSolution() 6 0.0008992 0.0008992 0.0008992 0.20% MLCellLinOp::compGrad() 6 0.0008911 0.0008911 0.0008911 0.20% MLMG::computeMLResidual() 6 0.0008368 0.0008368 0.0008368 0.19% FabArrayBase::getCPC() 632 0.0007971 0.0007971 0.0007971 0.18% Castro::reset_internal_energy(Fab) 240 0.0007962 0.0007962 0.0007962 0.18% MLPoisson::prepareForSolve() 6 0.0007556 0.0007556 0.0007556 0.17% MLCellLinOp::prepareForSolve() 6 0.0007519 0.0007519 0.0007519 0.17% FabArray::setDomainBndry() 20 0.0007287 0.0007287 0.0007287 0.16% Gravity::update_max_rhs() 6 0.0007204 0.0007204 0.0007204 0.16% FabArray::mult() 22 0.0006972 0.0006972 0.0006972 0.16% Other 2170 0.004415 0.004415 0.004415 0.99% -------------------------------------------------------------------------------------------- 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 58 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 1000 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1604 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 6482 KiB 14 MiB MLMG::prepareForSolve() 361 361 3179 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 179 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6469 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3205 B 2048 KiB Gravity::solve_for_phi() 40 40 586 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 293 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 188 KiB 671 KiB Castro::estTimeStep() 10 10 3528 B 480 KiB VisMF::Write(FabArray) 112 112 1242 B 320 KiB Castro::normalize_species() 30 30 7490 B 320 KiB amrex::average_down 469 469 1355 B 257 KiB MLMG::addInterpCorrection() 468 468 1048 B 257 KiB amrex::Dot() 592 592 3085 B 160 KiB FabArray::norminf() 501 501 3026 B 160 KiB check_for_negative_density() 5 5 343 B 160 KiB MultiFab::max() 6 6 71 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3080 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 248 B 9648 B MLCellLinOp::applyBC() 3820 3820 199 B 9344 B amrex::Copy() 56 56 5831 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 2560 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 329 B 1248 B MLCGSolver::bicgstab 180 180 84 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 80 KiB 8192 KiB VisMF::Write(FabArray) 120 120 150 KiB 3584 KiB VisMF::Read() 24 24 201 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3080 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 248 B 9648 B MLCellLinOp::applyBC() 1910 1910 198 B 9328 B amrex::Copy() 56 56 5831 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2544 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 38 B 2656 B MLMG::prepareForSolve() 7 7 791 B 1648 B amrex::average_down 37 37 453 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 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 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-30-g8e67cc99f079) finalized