Initializing AMReX (24.06-23-g463bdf493cd7)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-23-g463bdf493cd7) initialized Starting run at 08:09:22 UTC on 2024-06-26. Successfully read inputs file ... Castro git describe: 24.06-26-gf5c90c0ba AMReX git describe: 24.06-23-g463bdf493 Microphysics git describe: 24.06-33-g90adb0f9 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.046003329 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.026199485 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.062402807 [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.050397254 [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.070606944 [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.085685163 [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.066575659 [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.045696175 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.051198541 [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.069084598 [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.072691093 [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.068145077 [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.064590107 [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.044166249 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.0251925 seconds Ending run at 08:09:22 UTC on 2024-06-26. Run time = 0.89975146 Run time without initialization = 0.77707701 Average number of zones advanced per microsecond: 3.373 Average number of zones advanced per microsecond per rank: 3.373 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8998 ... 0.8998 ... 0.8998 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2704 0.2704 0.2704 30.05% VisMF::Write(FabArray) 11 0.1793 0.1793 0.1793 19.93% MLCellLinOp::applyBC() 4298 0.08103 0.08103 0.08103 9.01% MLPoisson::Fsmooth() 3240 0.03387 0.03387 0.03387 3.76% FillBoundary_nowait() 3893 0.03266 0.03266 0.03266 3.63% StateData::FillBoundary(geom) 328 0.02695 0.02695 0.02695 3.00% amrex::Dot() 1100 0.02135 0.02135 0.02135 2.37% FabArray::norminf() 1048 0.01998 0.01998 0.01998 2.22% Castro::normalize_species() 62 0.01998 0.01998 0.01998 2.22% FabArray::Saxpy() 1353 0.01962 0.01962 0.01962 2.18% Castro::computeTemp() 63 0.01528 0.01528 0.01528 1.70% FabArray::setVal() 1054 0.01356 0.01356 0.01356 1.51% FabArray::ParallelCopy_nowait() 851 0.01348 0.01348 0.01348 1.50% StateDataPhysBCFunct::() 41 0.01215 0.01215 0.01215 1.35% Castro::enforce_min_density() 62 0.01187 0.01187 0.01187 1.32% amrex::Copy() 469 0.011 0.011 0.011 1.22% MLCellLinOp::defineAuxData() 11 0.01041 0.01041 0.01041 1.16% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 1.15% Gravity::fill_multipole_BCs() 11 0.009295 0.009295 0.009295 1.03% FabArray::Xpay() 730 0.007923 0.007923 0.007923 0.88% MLMG::addInterpCorrection() 405 0.007017 0.007017 0.007017 0.78% amrex::average_down 405 0.006234 0.006234 0.006234 0.69% Castro::estTimeStep() 21 0.005745 0.005745 0.005745 0.64% Amr::checkPoint() 3 0.005607 0.005607 0.005607 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005015 0.005015 0.005015 0.56% BndryData::define() 11 0.003896 0.003896 0.003896 0.43% amrex::Add() 81 0.003715 0.003715 0.003715 0.41% Castro::construct_new_gravity_source() 10 0.003599 0.003599 0.003599 0.40% Castro::construct_old_gravity_source() 10 0.002951 0.002951 0.002951 0.33% Castro::enforce_speed_limit() 62 0.002413 0.002413 0.002413 0.27% Amr::writePlotFile() 2 0.001833 0.001833 0.001833 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001815 0.001815 0.001815 0.20% check_for_negative_density() 10 0.001662 0.001662 0.001662 0.18% MLCGSolver::bicgstab 81 0.001611 0.001611 0.001611 0.18% MLCellLinOp::setLevelBC() 11 0.001592 0.001592 0.001592 0.18% Castro::reset_internal_energy(Fab) 504 0.00157 0.00157 0.00157 0.17% Gravity::actual_solve_with_mlmg() 11 0.001554 0.001554 0.001554 0.17% Castro::initData() 1 0.001464 0.001464 0.001464 0.16% FabArray::mult() 43 0.001393 0.001393 0.001393 0.15% FabArray::setDomainBndry() 41 0.001388 0.001388 0.001388 0.15% MLCellLinOp::prepareForSolve() 11 0.001314 0.001314 0.001314 0.15% MultiFab::contains_nan() 20 0.001304 0.001304 0.001304 0.14% MLCellLinOp::compGrad() 11 0.001106 0.001106 0.001106 0.12% MLCellLinOp::smooth() 1620 0.0011 0.0011 0.0011 0.12% MLMG::prepareForSolve() 11 0.0009583 0.0009583 0.0009583 0.11% FabArrayBase::getCPC() 1313 0.0008153 0.0008153 0.0008153 0.09% FabArray::FillBoundary() 3893 0.0007693 0.0007693 0.0007693 0.09% Gravity::get_new_grav_vector() 11 0.0006119 0.0006119 0.0006119 0.07% Gravity::get_old_grav_vector() 10 0.0004816 0.0004816 0.0004816 0.05% AmrLevel::FillPatch() 41 0.0004266 0.0004266 0.0004266 0.05% MLCellLinOp::apply() 1047 0.0004201 0.0004201 0.0004201 0.05% Amr::coarseTimeStep() 10 0.0003471 0.0003471 0.0003471 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003091 0.0003091 0.0003091 0.03% main() 1 0.0002716 0.0002716 0.0002716 0.03% MLCellLinOp::defineBC() 11 0.0002614 0.0002614 0.0002614 0.03% FabArray::ParallelCopy() 851 0.0002351 0.0002351 0.0002351 0.03% FillPatchIterator::Initialize 41 0.0002141 0.0002141 0.0002141 0.02% MLMG::mgVcycle() 81 0.0001916 0.0001916 0.0001916 0.02% MLCellLinOp::correctionResidual() 405 0.0001666 0.0001666 0.0001666 0.02% Castro::subcycle_advance_ctu() 10 0.0001632 0.0001632 0.0001632 0.02% Amr::timeStep() 10 0.0001621 0.0001621 0.0001621 0.02% StateData::checkPoint() 12 0.000119 0.000119 0.000119 0.01% MLMG:computeResOfCorrection() 405 0.0001151 0.0001151 0.0001151 0.01% Gravity::solve_for_phi() 10 0.0001104 0.0001104 0.0001104 0.01% Castro::construct_new_source() 50 0.0001069 0.0001069 0.0001069 0.01% Castro::do_new_sources() 10 0.0001061 0.0001061 0.0001061 0.01% Castro::advance() 10 8.96e-05 8.96e-05 8.96e-05 0.01% MLMG::actualBottomSolve() 81 8.839e-05 8.839e-05 8.839e-05 0.01% Castro::initialize_advance() 10 7.709e-05 7.709e-05 7.709e-05 0.01% MLMG::mgVcycle_down::0 81 7.591e-05 7.591e-05 7.591e-05 0.01% MLMG::solve() 11 7.409e-05 7.409e-05 7.409e-05 0.01% MLMG::mgVcycle_down::1 81 7.131e-05 7.131e-05 7.131e-05 0.01% Castro::clean_state() 62 6.953e-05 6.953e-05 6.953e-05 0.01% MLMG::mgVcycle_down::2 81 6.794e-05 6.794e-05 6.794e-05 0.01% MLMG::mgVcycle_down::4 81 6.412e-05 6.412e-05 6.412e-05 0.01% AmrLevel::checkPoint() 3 6.274e-05 6.274e-05 6.274e-05 0.01% MLMG::mgVcycle_down::3 81 6.122e-05 6.122e-05 6.122e-05 0.01% Castro::initialize_do_advance() 10 5.749e-05 5.749e-05 5.749e-05 0.01% MLMG::mgVcycle_up::4 81 5.435e-05 5.435e-05 5.435e-05 0.01% MLMG::oneIter() 81 5.328e-05 5.328e-05 5.328e-05 0.01% MLMG::mgVcycle_up::0 81 4.854e-05 4.854e-05 4.854e-05 0.01% Castro::finalize_do_advance() 10 4.802e-05 4.802e-05 4.802e-05 0.01% Castro::do_advance_ctu() 10 4.706e-05 4.706e-05 4.706e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.635e-05 4.635e-05 4.635e-05 0.01% MLMG::mgVcycle_up::3 81 4.472e-05 4.472e-05 4.472e-05 0.00% MLCellLinOp::solutionResidual() 92 4.459e-05 4.459e-05 4.459e-05 0.00% MLMG::mgVcycle_up::1 81 4.381e-05 4.381e-05 4.381e-05 0.00% MLMG::mgVcycle_up::2 81 4.125e-05 4.125e-05 4.125e-05 0.00% Castro::post_timestep() 10 3.897e-05 3.897e-05 3.897e-05 0.00% FillPatchSingleLevel 41 3.828e-05 3.828e-05 3.828e-05 0.00% MLMG::mgVcycle_bottom 81 3.33e-05 3.33e-05 3.33e-05 0.00% MLMG::computeResidual() 81 3.302e-05 3.302e-05 3.302e-05 0.00% MLPoisson::define() 11 3.295e-05 3.295e-05 3.295e-05 0.00% Amr::defBaseLevel() 1 3.16e-05 3.16e-05 3.16e-05 0.00% MLMG::ResNormInf() 92 2.927e-05 2.927e-05 2.927e-05 0.00% Castro::construct_new_gravity() 10 2.859e-05 2.859e-05 2.859e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.269e-05 2.269e-05 2.269e-05 0.00% Castro::do_old_sources() 10 2.114e-05 2.114e-05 2.114e-05 0.00% Castro::construct_old_source() 50 2.003e-05 2.003e-05 2.003e-05 0.00% Amr::FinalizeInit() 1 1.929e-05 1.929e-05 1.929e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.74e-05 1.74e-05 1.74e-05 0.00% Castro::check_for_nan() 20 1.187e-05 1.187e-05 1.187e-05 0.00% Castro::apply_source_to_state() 20 1.135e-05 1.135e-05 1.135e-05 0.00% Castro::construct_old_gravity() 10 1.061e-05 1.061e-05 1.061e-05 0.00% Castro::post_init() 1 1.036e-05 1.036e-05 1.036e-05 0.00% MLMG::computeMLResidual() 11 9.281e-06 9.281e-06 9.281e-06 0.00% Gravity::actual_multilevel_solve() 1 8.402e-06 8.402e-06 8.402e-06 0.00% MLPoisson::prepareForSolve() 11 7.547e-06 7.547e-06 7.547e-06 0.00% Castro::computeNewDt() 9 6.566e-06 6.566e-06 6.566e-06 0.00% Castro::expand_state() 10 6.348e-06 6.348e-06 6.348e-06 0.00% MLMG::getGradSolution() 11 5.854e-06 5.854e-06 5.854e-06 0.00% Amr::InitializeInit() 1 5.727e-06 5.727e-06 5.727e-06 0.00% Amr::init() 1 2.862e-06 2.862e-06 2.862e-06 0.00% Amr::initialInit() 1 1.209e-06 1.209e-06 1.209e-06 0.00% Castro::post_regrid() 1 1.149e-06 1.149e-06 1.149e-06 0.00% Other 4704 0.003253 0.003253 0.003253 0.36% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8998 0.8998 0.8998 100.00% Amr::coarseTimeStep() 10 0.7517 0.7517 0.7517 83.54% Amr::timeStep() 10 0.658 0.658 0.658 73.13% Castro::advance() 10 0.6473 0.6473 0.6473 71.94% Castro::subcycle_advance_ctu() 10 0.6339 0.6339 0.6339 70.45% Castro::do_advance_ctu() 10 0.6337 0.6337 0.6337 70.43% Gravity::solve_phi_with_mlmg() 11 0.3034 0.3034 0.3034 33.72% Gravity::actual_solve_with_mlmg() 11 0.2936 0.2936 0.2936 32.63% Castro::construct_ctu_hydro_source() 10 0.2803 0.2803 0.2803 31.15% Castro::construct_new_gravity() 10 0.2789 0.2789 0.2789 30.99% MLMG::solve() 11 0.2714 0.2714 0.2714 30.17% Gravity::solve_for_phi() 10 0.2625 0.2625 0.2625 29.18% MLMG::oneIter() 81 0.2558 0.2558 0.2558 28.43% MLMG::mgVcycle() 81 0.252 0.252 0.252 28.01% VisMF::Write(FabArray) 11 0.1793 0.1793 0.1793 19.93% Amr::checkPoint() 3 0.136 0.136 0.136 15.11% AmrLevel::checkPoint() 3 0.1304 0.1304 0.1304 14.49% StateData::checkPoint() 12 0.1303 0.1303 0.1303 14.48% MLCellLinOp::smooth() 1620 0.1237 0.1237 0.1237 13.75% Amr::init() 1 0.1221 0.1221 0.1221 13.57% MLCellLinOp::applyBC() 4298 0.1152 0.1152 0.1152 12.80% MLMG::mgVcycle_bottom 81 0.07925 0.07925 0.07925 8.81% MLMG::actualBottomSolve() 81 0.07922 0.07922 0.07922 8.80% MLCGSolver::bicgstab 81 0.0784 0.0784 0.0784 8.71% Castro::clean_state() 62 0.05551 0.05551 0.05551 6.17% Amr::writePlotFile() 2 0.05153 0.05153 0.05153 5.73% Amr::initialInit() 1 0.04974 0.04974 0.04974 5.53% AmrLevel::FillPatch() 41 0.04919 0.04919 0.04919 5.47% Amr::FinalizeInit() 1 0.04507 0.04507 0.04507 5.01% FillPatchIterator::Initialize 41 0.04488 0.04488 0.04488 4.99% Castro::post_init() 1 0.0436 0.0436 0.0436 4.85% FillPatchIterator::FillFromLevel0() 41 0.04328 0.04328 0.04328 4.81% FillPatchSingleLevel 41 0.04323 0.04323 0.04323 4.80% Gravity::multilevel_solve_for_new_phi() 1 0.04125 0.04125 0.04125 4.58% Gravity::actual_multilevel_solve() 1 0.04123 0.04123 0.04123 4.58% StateDataPhysBCFunct::() 41 0.0391 0.0391 0.0391 4.35% MLCellLinOp::apply() 1047 0.03665 0.03665 0.03665 4.07% MLMG::mgVcycle_down::0 81 0.03569 0.03569 0.03569 3.97% FabArray::FillBoundary() 3893 0.03413 0.03413 0.03413 3.79% MLPoisson::Fsmooth() 3240 0.03387 0.03387 0.03387 3.76% FillBoundary_nowait() 3893 0.03336 0.03336 0.03336 3.71% MLMG::mgVcycle_up::0 81 0.02717 0.02717 0.02717 3.02% StateData::FillBoundary(geom) 328 0.02695 0.02695 0.02695 3.00% Castro::initialize_do_advance() 10 0.02257 0.02257 0.02257 2.51% Castro::computeTemp() 63 0.02187 0.02187 0.02187 2.43% amrex::Dot() 1100 0.02135 0.02135 0.02135 2.37% MLMG:computeResOfCorrection() 405 0.02069 0.02069 0.02069 2.30% MLCellLinOp::correctionResidual() 405 0.02057 0.02057 0.02057 2.29% FabArray::norminf() 1048 0.01998 0.01998 0.01998 2.22% Castro::normalize_species() 62 0.01998 0.01998 0.01998 2.22% FabArray::Saxpy() 1353 0.01962 0.01962 0.01962 2.18% Castro::do_old_sources() 10 0.01919 0.01919 0.01919 2.13% Gravity::get_new_grav_vector() 11 0.01821 0.01821 0.01821 2.02% MLPoisson::define() 11 0.01734 0.01734 0.01734 1.93% MLMG::mgVcycle_down::1 81 0.01668 0.01668 0.01668 1.85% Castro::construct_old_gravity() 10 0.01596 0.01596 0.01596 1.77% Gravity::get_old_grav_vector() 10 0.01595 0.01595 0.01595 1.77% MLMG::mgVcycle_down::2 81 0.01551 0.01551 0.01551 1.72% MLMG::mgVcycle_down::3 81 0.01513 0.01513 0.01513 1.68% MLMG::mgVcycle_down::4 81 0.01499 0.01499 0.01499 1.67% FabArray::ParallelCopy() 851 0.01457 0.01457 0.01457 1.62% FabArray::ParallelCopy_nowait() 851 0.01433 0.01433 0.01433 1.59% Castro::do_new_sources() 10 0.01362 0.01362 0.01362 1.51% FabArray::setVal() 1054 0.01356 0.01356 0.01356 1.51% MLCGSolver::ParallelAllReduce 1809 0.01275 0.01275 0.01275 1.42% Castro::initialize_advance() 10 0.01273 0.01273 0.01273 1.41% MLMG::addInterpCorrection() 405 0.01226 0.01226 0.01226 1.36% Castro::expand_state() 10 0.01208 0.01208 0.01208 1.34% MLMG::mgVcycle_up::1 81 0.01208 0.01208 0.01208 1.34% MLMG::mgVcycle_up::4 81 0.01201 0.01201 0.01201 1.33% MLCellLinOp::defineAuxData() 11 0.01187 0.01187 0.01187 1.32% Castro::enforce_min_density() 62 0.01187 0.01187 0.01187 1.32% MLMG::mgVcycle_up::2 81 0.01178 0.01178 0.01178 1.31% MLMG::mgVcycle_up::3 81 0.01156 0.01156 0.01156 1.28% amrex::average_down 405 0.01146 0.01146 0.01146 1.27% amrex::Copy() 469 0.011 0.011 0.011 1.22% Castro::post_timestep() 10 0.01056 0.01056 0.01056 1.17% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 1.15% Gravity::fill_multipole_BCs() 11 0.009558 0.009558 0.009558 1.06% FabArray::Xpay() 730 0.007923 0.007923 0.007923 0.88% MLCellLinOp::solutionResidual() 92 0.00787 0.00787 0.00787 0.87% MLMG::computeResidual() 81 0.006627 0.006627 0.006627 0.74% Castro::reset_internal_energy(MultiFab) 63 0.006585 0.006585 0.006585 0.73% Castro::estTimeStep() 21 0.005745 0.005745 0.005745 0.64% MLMG::prepareForSolve() 11 0.00518 0.00518 0.00518 0.58% MLCellLinOp::defineBC() 11 0.005173 0.005173 0.005173 0.57% BndryData::define() 11 0.004912 0.004912 0.004912 0.55% Amr::InitializeInit() 1 0.004671 0.004671 0.004671 0.52% Amr::defBaseLevel() 1 0.004665 0.004665 0.004665 0.52% Castro::initData() 1 0.003977 0.003977 0.003977 0.44% amrex::Add() 81 0.003715 0.003715 0.003715 0.41% Castro::construct_new_source() 50 0.003706 0.003706 0.003706 0.41% Castro::construct_new_gravity_source() 10 0.003599 0.003599 0.003599 0.40% Castro::construct_old_source() 50 0.002971 0.002971 0.002971 0.33% Castro::construct_old_gravity_source() 10 0.002951 0.002951 0.002951 0.33% Castro::computeNewDt() 9 0.002593 0.002593 0.002593 0.29% Castro::enforce_speed_limit() 62 0.002413 0.002413 0.002413 0.27% MLMG::ResNormInf() 92 0.002233 0.002233 0.002233 0.25% Castro::finalize_do_advance() 10 0.00222 0.00222 0.00222 0.25% Castro::apply_source_to_state() 20 0.001886 0.001886 0.001886 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001815 0.001815 0.001815 0.20% check_for_negative_density() 10 0.001662 0.001662 0.001662 0.18% MLMG::getGradSolution() 11 0.001639 0.001639 0.001639 0.18% MLCellLinOp::compGrad() 11 0.001633 0.001633 0.001633 0.18% MLCellLinOp::setLevelBC() 11 0.001592 0.001592 0.001592 0.18% Castro::reset_internal_energy(Fab) 504 0.00157 0.00157 0.00157 0.17% FabArrayBase::getCPC() 1313 0.001507 0.001507 0.001507 0.17% FabArray::mult() 43 0.001393 0.001393 0.001393 0.15% FabArray::setDomainBndry() 41 0.001388 0.001388 0.001388 0.15% MLPoisson::prepareForSolve() 11 0.001321 0.001321 0.001321 0.15% Castro::check_for_nan() 20 0.001316 0.001316 0.001316 0.15% MLCellLinOp::prepareForSolve() 11 0.001314 0.001314 0.001314 0.15% MultiFab::contains_nan() 20 0.001304 0.001304 0.001304 0.14% MLMG::computeMLResidual() 11 0.001286 0.001286 0.001286 0.14% Castro::post_regrid() 1 0.001198 0.001198 0.001198 0.13% Other 4704 0.008026 0.008026 0.008026 0.89% -------------------------------------------------------------------------------------------- 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 5670 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 1060 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1608 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3712 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 210 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 181 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 2185 B 2048 KiB Gravity::solve_for_phi() 80 80 597 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 339 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 215 KiB 671 KiB Castro::estTimeStep() 21 21 3114 B 480 KiB VisMF::Write(FabArray) 656 656 3473 B 320 KiB Castro::normalize_species() 62 62 7233 B 320 KiB amrex::average_down 1054 1054 1615 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1178 B 257 KiB amrex::Dot() 1343 1343 3505 B 160 KiB FabArray::norminf() 1129 1129 3432 B 160 KiB check_for_negative_density() 10 10 295 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 60 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3625 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 317 B 9648 B MLCellLinOp::applyBC() 8596 8596 225 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3972 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 382 B 1248 B MLCGSolver::bicgstab 405 405 105 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 643 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 437 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3625 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 317 B 9648 B MLCellLinOp::applyBC() 4298 4298 223 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3972 B 6144 B Gravity::get_new_grav_vector() 3 3 2904 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 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 309 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 28 B 400 B FabArray::norminf() 1129 1129 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): 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-23-g463bdf493cd7) finalized Initializing AMReX (24.06-23-g463bdf493cd7)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.06-23-g463bdf493cd7) initialized Starting run at 08:09:23 UTC on 2024-06-26. Successfully read inputs file ... Castro git describe: 24.06-26-gf5c90c0ba AMReX git describe: 24.06-23-g463bdf493 Microphysics git describe: 24.06-33-g90adb0f9 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.504100674 Restart time = 0.072084871 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.06629687 [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.050186168 [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.076235315 [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.074684584 [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.062494447 [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.028441682 seconds Ending run at 08:09:24 UTC on 2024-06-26. Run time = 0.431363467 Run time without initialization = 0.358742277 Average number of zones advanced per microsecond: 3.654 Average number of zones advanced per microsecond per rank: 3.654 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4314 ... 0.4314 ... 0.4314 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1334 0.1334 0.1334 30.92% VisMF::Read() 3 0.06072 0.06072 0.06072 14.08% MLCellLinOp::applyBC() 1910 0.03661 0.03661 0.03661 8.49% VisMF::Write(FabArray) 1 0.02587 0.02587 0.02587 6.00% MLPoisson::Fsmooth() 1440 0.01533 0.01533 0.01533 3.55% FillBoundary_nowait() 1730 0.01473 0.01473 0.01473 3.41% StateData::FillBoundary(geom) 160 0.01254 0.01254 0.01254 2.91% amrex::Dot() 484 0.009434 0.009434 0.009434 2.19% FabArray::norminf() 465 0.008892 0.008892 0.008892 2.06% Castro::normalize_species() 30 0.008382 0.008382 0.008382 1.94% Castro::computeTemp() 30 0.006986 0.006986 0.006986 1.62% FabArray::setVal() 501 0.006754 0.006754 0.006754 1.57% FabArray::ParallelCopy_nowait() 380 0.006216 0.006216 0.006216 1.44% FabArray::Saxpy() 597 0.006028 0.006028 0.006028 1.40% MLCellLinOp::defineAuxData() 6 0.005683 0.005683 0.005683 1.32% amrex::Copy() 221 0.005614 0.005614 0.005614 1.30% Castro::enforce_min_density() 30 0.005542 0.005542 0.005542 1.28% StateDataPhysBCFunct::() 20 0.005535 0.005535 0.005535 1.28% Gravity::fill_multipole_BCs() 6 0.005236 0.005236 0.005236 1.21% Amr::restart() 1 0.004776 0.004776 0.004776 1.11% MLPoisson::Fapply() 464 0.004635 0.004635 0.004635 1.07% Castro::estTimeStep() 10 0.004438 0.004438 0.004438 1.03% FabArray::Xpay() 325 0.00358 0.00358 0.00358 0.83% MLMG::addInterpCorrection() 180 0.003201 0.003201 0.003201 0.74% amrex::average_down 180 0.002839 0.002839 0.002839 0.66% Amr::writePlotFile() 1 0.002395 0.002395 0.002395 0.56% BndryData::define() 6 0.002148 0.002148 0.002148 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002048 0.002048 0.002048 0.47% Castro::construct_new_gravity_source() 5 0.00187 0.00187 0.00187 0.43% amrex::Add() 36 0.001643 0.001643 0.001643 0.38% Castro::construct_old_gravity_source() 5 0.001557 0.001557 0.001557 0.36% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001006 0.001006 0.001006 0.23% MLCellLinOp::setLevelBC() 6 0.0008889 0.0008889 0.0008889 0.21% check_for_negative_density() 5 0.0008744 0.0008744 0.0008744 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008491 0.0008491 0.0008491 0.20% Castro::reset_internal_energy(Fab) 240 0.0008433 0.0008433 0.0008433 0.20% MLCellLinOp::prepareForSolve() 6 0.0007654 0.0007654 0.0007654 0.18% FabArray::mult() 22 0.0007138 0.0007138 0.0007138 0.17% MLCGSolver::bicgstab 36 0.0007136 0.0007136 0.0007136 0.17% FabArray::setDomainBndry() 20 0.0007074 0.0007074 0.0007074 0.16% MLCellLinOp::compGrad() 6 0.000624 0.000624 0.000624 0.14% Castro::subcycle_advance_ctu() 5 0.000568 0.000568 0.000568 0.13% MLMG::prepareForSolve() 6 0.0005584 0.0005584 0.0005584 0.13% MLCellLinOp::smooth() 720 0.0005065 0.0005065 0.0005065 0.12% FabArrayBase::getCPC() 632 0.0003817 0.0003817 0.0003817 0.09% FabArray::FillBoundary() 1730 0.0003399 0.0003399 0.0003399 0.08% Gravity::get_old_grav_vector() 5 0.0002927 0.0002927 0.0002927 0.07% main() 1 0.0002503 0.0002503 0.0002503 0.06% Gravity::get_new_grav_vector() 5 0.0002401 0.0002401 0.0002401 0.06% AmrLevel::FillPatch() 20 0.0002034 0.0002034 0.0002034 0.05% MLCellLinOp::apply() 464 0.0001902 0.0001902 0.0001902 0.04% Amr::coarseTimeStep() 5 0.0001646 0.0001646 0.0001646 0.04% MLCellLinOp::defineBC() 6 0.0001456 0.0001456 0.0001456 0.03% MLCGSolver::ParallelAllReduce 798 0.000134 0.000134 0.000134 0.03% FillPatchIterator::Initialize 20 0.0001147 0.0001147 0.0001147 0.03% FabArray::ParallelCopy() 380 0.000106 0.000106 0.000106 0.02% MLMG::mgVcycle() 36 8.758e-05 8.758e-05 8.758e-05 0.02% Amr::timeStep() 5 8.677e-05 8.677e-05 8.677e-05 0.02% AmrLevel::restart() 1 7.626e-05 7.626e-05 7.626e-05 0.02% Castro::finalize_do_advance() 5 7.597e-05 7.597e-05 7.597e-05 0.02% MLCellLinOp::correctionResidual() 180 7.29e-05 7.29e-05 7.29e-05 0.02% Castro::construct_new_source() 25 6.709e-05 6.709e-05 6.709e-05 0.02% Castro::do_new_sources() 5 6.607e-05 6.607e-05 6.607e-05 0.02% Gravity::update_max_rhs() 6 6.454e-05 6.454e-05 6.454e-05 0.01% StateData::restartDoit() 4 6.452e-05 6.452e-05 6.452e-05 0.01% Castro::advance() 5 6.089e-05 6.089e-05 6.089e-05 0.01% Castro::post_timestep() 5 5.465e-05 5.465e-05 5.465e-05 0.01% MLMG:computeResOfCorrection() 180 5.28e-05 5.28e-05 5.28e-05 0.01% Gravity::solve_for_phi() 5 5.07e-05 5.07e-05 5.07e-05 0.01% MLMG::actualBottomSolve() 36 4.156e-05 4.156e-05 4.156e-05 0.01% MLMG::mgVcycle_down::0 36 3.662e-05 3.662e-05 3.662e-05 0.01% MLMG::solve() 6 3.609e-05 3.609e-05 3.609e-05 0.01% Castro::initialize_advance() 5 3.594e-05 3.594e-05 3.594e-05 0.01% MLMG::mgVcycle_down::1 36 3.482e-05 3.482e-05 3.482e-05 0.01% MLMG::mgVcycle_down::2 36 3.257e-05 3.257e-05 3.257e-05 0.01% Castro::clean_state() 30 3.14e-05 3.14e-05 3.14e-05 0.01% MLMG::mgVcycle_down::4 36 3.118e-05 3.118e-05 3.118e-05 0.01% MLMG::mgVcycle_down::3 36 2.959e-05 2.959e-05 2.959e-05 0.01% Castro::post_restart() 1 2.926e-05 2.926e-05 2.926e-05 0.01% Castro::initialize_do_advance() 5 2.851e-05 2.851e-05 2.851e-05 0.01% MLMG::mgVcycle_up::4 36 2.659e-05 2.659e-05 2.659e-05 0.01% MLMG::oneIter() 36 2.538e-05 2.538e-05 2.538e-05 0.01% MLPoisson::define() 6 2.499e-05 2.499e-05 2.499e-05 0.01% Castro::do_advance_ctu() 5 2.396e-05 2.396e-05 2.396e-05 0.01% MLMG::mgVcycle_up::3 36 2.217e-05 2.217e-05 2.217e-05 0.01% MLCellLinOp::solutionResidual() 42 2.217e-05 2.217e-05 2.217e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.092e-05 2.092e-05 2.092e-05 0.00% MLMG::mgVcycle_up::0 36 2.083e-05 2.083e-05 2.083e-05 0.00% MLMG::mgVcycle_up::2 36 2.047e-05 2.047e-05 2.047e-05 0.00% MLMG::mgVcycle_up::1 36 1.98e-05 1.98e-05 1.98e-05 0.00% FillPatchSingleLevel 20 1.712e-05 1.712e-05 1.712e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.618e-05 1.618e-05 1.618e-05 0.00% MLMG::ResNormInf() 42 1.616e-05 1.616e-05 1.616e-05 0.00% MLMG::mgVcycle_bottom 36 1.57e-05 1.57e-05 1.57e-05 0.00% MLMG::computeResidual() 36 1.482e-05 1.482e-05 1.482e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.29e-05 1.29e-05 1.29e-05 0.00% Castro::construct_new_gravity() 5 1.207e-05 1.207e-05 1.207e-05 0.00% Castro::do_old_sources() 5 1.121e-05 1.121e-05 1.121e-05 0.00% Castro::construct_old_source() 25 1.001e-05 1.001e-05 1.001e-05 0.00% Gravity::actual_multilevel_solve() 1 8.164e-06 8.164e-06 8.164e-06 0.00% Castro::apply_source_to_state() 10 6.456e-06 6.456e-06 6.456e-06 0.00% Castro::construct_old_gravity() 5 6.124e-06 6.124e-06 6.124e-06 0.00% Castro::check_for_nan() 10 5.786e-06 5.786e-06 5.786e-06 0.00% MLMG::computeMLResidual() 6 4.224e-06 4.224e-06 4.224e-06 0.00% MLPoisson::prepareForSolve() 6 3.874e-06 3.874e-06 3.874e-06 0.00% Castro::computeNewDt() 5 3.624e-06 3.624e-06 3.624e-06 0.00% MLMG::getGradSolution() 6 3.316e-06 3.316e-06 3.316e-06 0.00% Castro::expand_state() 5 2.897e-06 2.897e-06 2.897e-06 0.00% Amr::init() 1 7.73e-07 7.73e-07 7.73e-07 0.00% Other 2190 0.002912 0.002912 0.002912 0.67% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4314 0.4314 0.4314 100.00% Amr::coarseTimeStep() 5 0.33 0.33 0.33 76.51% Amr::timeStep() 5 0.3275 0.3275 0.3275 75.91% Castro::advance() 5 0.3239 0.3239 0.3239 75.07% Castro::subcycle_advance_ctu() 5 0.317 0.317 0.317 73.49% Castro::do_advance_ctu() 5 0.3165 0.3165 0.3165 73.36% Castro::construct_new_gravity() 5 0.1402 0.1402 0.1402 32.49% Castro::construct_ctu_hydro_source() 5 0.1387 0.1387 0.1387 32.16% Gravity::solve_phi_with_mlmg() 6 0.1376 0.1376 0.1376 31.89% Gravity::solve_for_phi() 5 0.1322 0.1322 0.1322 30.63% Gravity::actual_solve_with_mlmg() 6 0.1321 0.1321 0.1321 30.61% MLMG::solve() 6 0.1198 0.1198 0.1198 27.78% MLMG::oneIter() 36 0.1118 0.1118 0.1118 25.93% MLMG::mgVcycle() 36 0.1102 0.1102 0.1102 25.54% Amr::init() 1 0.07213 0.07213 0.07213 16.72% Amr::restart() 1 0.07213 0.07213 0.07213 16.72% AmrLevel::restart() 1 0.06109 0.06109 0.06109 14.16% StateData::restartDoit() 4 0.06101 0.06101 0.06101 14.14% VisMF::Read() 3 0.06072 0.06072 0.06072 14.08% MLCellLinOp::smooth() 720 0.05571 0.05571 0.05571 12.91% MLCellLinOp::applyBC() 1910 0.05202 0.05202 0.05202 12.06% MLMG::mgVcycle_bottom 36 0.0323 0.0323 0.0323 7.49% MLMG::actualBottomSolve() 36 0.03229 0.03229 0.03229 7.48% MLCGSolver::bicgstab 36 0.03192 0.03192 0.03192 7.40% Amr::writePlotFile() 1 0.02853 0.02853 0.02853 6.61% VisMF::Write(FabArray) 1 0.02587 0.02587 0.02587 6.00% Castro::clean_state() 30 0.0243 0.0243 0.0243 5.63% AmrLevel::FillPatch() 20 0.02313 0.02313 0.02313 5.36% FillPatchIterator::Initialize 20 0.02101 0.02101 0.02101 4.87% FillPatchIterator::FillFromLevel0() 20 0.02018 0.02018 0.02018 4.68% FillPatchSingleLevel 20 0.02016 0.02016 0.02016 4.67% StateDataPhysBCFunct::() 20 0.01807 0.01807 0.01807 4.19% MLCellLinOp::apply() 464 0.01668 0.01668 0.01668 3.87% MLMG::mgVcycle_down::0 36 0.0163 0.0163 0.0163 3.78% FabArray::FillBoundary() 1730 0.01541 0.01541 0.01541 3.57% MLPoisson::Fsmooth() 1440 0.01533 0.01533 0.01533 3.55% FillBoundary_nowait() 1730 0.01507 0.01507 0.01507 3.49% StateData::FillBoundary(geom) 160 0.01254 0.01254 0.01254 2.91% MLMG::mgVcycle_up::0 36 0.01219 0.01219 0.01219 2.83% Castro::initialize_do_advance() 5 0.01098 0.01098 0.01098 2.55% Castro::do_old_sources() 5 0.009963 0.009963 0.009963 2.31% Castro::computeTemp() 30 0.009878 0.009878 0.009878 2.29% MLPoisson::define() 6 0.009566 0.009566 0.009566 2.22% amrex::Dot() 484 0.009434 0.009434 0.009434 2.19% MLMG:computeResOfCorrection() 180 0.009337 0.009337 0.009337 2.16% MLCellLinOp::correctionResidual() 180 0.009285 0.009285 0.009285 2.15% FabArray::norminf() 465 0.008892 0.008892 0.008892 2.06% Castro::normalize_species() 30 0.008382 0.008382 0.008382 1.94% Gravity::get_new_grav_vector() 5 0.007883 0.007883 0.007883 1.83% Castro::construct_old_gravity() 5 0.007629 0.007629 0.007629 1.77% Gravity::get_old_grav_vector() 5 0.007622 0.007622 0.007622 1.77% MLMG::mgVcycle_down::1 36 0.007594 0.007594 0.007594 1.76% MLMG::mgVcycle_down::2 36 0.00696 0.00696 0.00696 1.61% MLMG::mgVcycle_down::3 36 0.006782 0.006782 0.006782 1.57% FabArray::setVal() 501 0.006754 0.006754 0.006754 1.57% FabArray::ParallelCopy() 380 0.006727 0.006727 0.006727 1.56% MLMG::mgVcycle_down::4 36 0.006689 0.006689 0.006689 1.55% FabArray::ParallelCopy_nowait() 380 0.006621 0.006621 0.006621 1.53% MLCellLinOp::defineAuxData() 6 0.00651 0.00651 0.00651 1.51% Castro::initialize_advance() 5 0.006467 0.006467 0.006467 1.50% Castro::do_new_sources() 5 0.006397 0.006397 0.006397 1.48% Castro::expand_state() 5 0.006137 0.006137 0.006137 1.42% Castro::post_restart() 1 0.006068 0.006068 0.006068 1.41% FabArray::Saxpy() 597 0.006028 0.006028 0.006028 1.40% MLCGSolver::ParallelAllReduce 798 0.005709 0.005709 0.005709 1.32% Gravity::multilevel_solve_for_new_phi() 1 0.005647 0.005647 0.005647 1.31% Gravity::actual_multilevel_solve() 1 0.00563 0.00563 0.00563 1.31% amrex::Copy() 221 0.005614 0.005614 0.005614 1.30% Castro::enforce_min_density() 30 0.005542 0.005542 0.005542 1.28% MLMG::addInterpCorrection() 180 0.005512 0.005512 0.005512 1.28% MLMG::mgVcycle_up::4 36 0.005404 0.005404 0.005404 1.25% MLMG::mgVcycle_up::1 36 0.005389 0.005389 0.005389 1.25% Gravity::fill_multipole_BCs() 6 0.005373 0.005373 0.005373 1.25% MLMG::mgVcycle_up::2 36 0.005295 0.005295 0.005295 1.23% MLMG::mgVcycle_up::3 36 0.005184 0.005184 0.005184 1.20% amrex::average_down 180 0.005183 0.005183 0.005183 1.20% MLPoisson::Fapply() 464 0.004635 0.004635 0.004635 1.07% Castro::estTimeStep() 10 0.004438 0.004438 0.004438 1.03% MLCellLinOp::solutionResidual() 42 0.003818 0.003818 0.003818 0.89% FabArray::Xpay() 325 0.00358 0.00358 0.00358 0.83% Castro::post_timestep() 5 0.0035 0.0035 0.0035 0.81% MLMG::computeResidual() 36 0.002989 0.002989 0.002989 0.69% MLMG::prepareForSolve() 6 0.002928 0.002928 0.002928 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002892 0.002892 0.002892 0.67% MLCellLinOp::defineBC() 6 0.002885 0.002885 0.002885 0.67% BndryData::define() 6 0.002739 0.002739 0.002739 0.63% Castro::computeNewDt() 5 0.002431 0.002431 0.002431 0.56% Castro::finalize_do_advance() 5 0.002086 0.002086 0.002086 0.48% Castro::construct_new_source() 25 0.001938 0.001938 0.001938 0.45% Castro::construct_new_gravity_source() 5 0.00187 0.00187 0.00187 0.43% amrex::Add() 36 0.001643 0.001643 0.001643 0.38% Castro::construct_old_source() 25 0.001567 0.001567 0.001567 0.36% Castro::construct_old_gravity_source() 5 0.001557 0.001557 0.001557 0.36% MLMG::ResNormInf() 42 0.001046 0.001046 0.001046 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001006 0.001006 0.001006 0.23% Castro::apply_source_to_state() 10 0.0009745 0.0009745 0.0009745 0.23% MLMG::getGradSolution() 6 0.0009255 0.0009255 0.0009255 0.21% MLCellLinOp::compGrad() 6 0.0009222 0.0009222 0.0009222 0.21% MLCellLinOp::setLevelBC() 6 0.0008889 0.0008889 0.0008889 0.21% check_for_negative_density() 5 0.0008744 0.0008744 0.0008744 0.20% MLMG::computeMLResidual() 6 0.0008487 0.0008487 0.0008487 0.20% Castro::reset_internal_energy(Fab) 240 0.0008433 0.0008433 0.0008433 0.20% FabArrayBase::getCPC() 632 0.0008163 0.0008163 0.0008163 0.19% Gravity::update_max_rhs() 6 0.0007814 0.0007814 0.0007814 0.18% MLPoisson::prepareForSolve() 6 0.0007693 0.0007693 0.0007693 0.18% MLCellLinOp::prepareForSolve() 6 0.0007654 0.0007654 0.0007654 0.18% FabArray::mult() 22 0.0007138 0.0007138 0.0007138 0.17% FabArray::setDomainBndry() 20 0.0007074 0.0007074 0.0007074 0.16% Castro::check_for_nan() 10 0.0006747 0.0006747 0.0006747 0.16% Other 2190 0.004188 0.004188 0.004188 0.97% -------------------------------------------------------------------------------------------- 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 1074 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1774 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 6413 KiB 14 MiB MLMG::prepareForSolve() 361 361 3411 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 187 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6398 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3620 B 2048 KiB Gravity::solve_for_phi() 40 40 626 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 314 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 201 KiB 671 KiB Castro::estTimeStep() 10 10 4911 B 480 KiB VisMF::Write(FabArray) 112 112 1347 B 320 KiB Castro::normalize_species() 30 30 6324 B 320 KiB amrex::average_down 469 469 1425 B 257 KiB MLMG::addInterpCorrection() 468 468 1099 B 257 KiB amrex::Dot() 592 592 3232 B 160 KiB FabArray::norminf() 501 501 3186 B 160 KiB check_for_negative_density() 5 5 325 B 160 KiB MultiFab::max() 6 6 77 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3306 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 298 B 9648 B MLCellLinOp::applyBC() 3820 3820 214 B 9344 B amrex::Copy() 56 56 5885 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 45 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 353 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 1515 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 169 KiB 3584 KiB VisMF::Read() 24 24 212 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3306 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 298 B 9648 B MLCellLinOp::applyBC() 1910 1910 212 B 9328 B amrex::Copy() 56 56 5885 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2507 B 3072 B StateData::FillBoundary(geom) 960 960 45 B 3024 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B MLMG::prepareForSolve() 7 7 804 B 1648 B amrex::average_down 37 37 464 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-23-g463bdf493cd7) finalized