Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-6-g5b7fa9867d02) initialized Starting run at 10:09:50 UTC on 2023-03-10. Successfully read inputs file ... Castro git describe: 23.03-2-g0304294be AMReX git describe: 23.03-6-g5b7fa9867 Microphysics git describe: 23.03-12-g1f07dde0 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.057131053 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032777646 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.044021816 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049265429 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.05699721 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.057418993 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.055418992 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.055990324 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.060696702 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.06406745 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.06788717 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.060930615 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.058691737 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.055767097 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.03249436 seconds Ending run at 10:09:51 UTC on 2023-03-10. Run time = 0.857712979 Run time without initialization = 0.720276949 Average number of zones advanced per microsecond: 3.639 Average number of zones advanced per microsecond per rank: 3.639 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8577 ... 0.8577 ... 0.8577 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2332 0.2332 0.2332 27.19% VisMF::Write(FabArray) 11 0.2274 0.2274 0.2274 26.51% MLCellLinOp::applyBC() 4433 0.07565 0.07565 0.07565 8.82% MLPoisson::Fsmooth() 3280 0.03165 0.03165 0.03165 3.69% FillBoundary_nowait() 4023 0.03079 0.03079 0.03079 3.59% StateData::FillBoundary(geom) 328 0.02373 0.02373 0.02373 2.77% amrex::Dot() 1114 0.02 0.02 0.02 2.33% amrex::Copy() 1029 0.01458 0.01458 0.01458 1.70% FabArray::norminf() 743 0.01395 0.01395 0.01395 1.63% Castro::computeTemp() 63 0.01373 0.01373 0.01373 1.60% FabArray::ParallelCopy_nowait() 861 0.0131 0.0131 0.0131 1.53% FabArray::setVal() 1144 0.01289 0.01289 0.01289 1.50% Castro::normalize_species() 62 0.01241 0.01241 0.01241 1.45% StateDataPhysBCFunct::() 41 0.01192 0.01192 0.01192 1.39% MLPoisson::Fapply() 1142 0.01023 0.01023 0.01023 1.19% MLCellLinOp::defineAuxData() 11 0.009375 0.009375 0.009375 1.09% Castro::enforce_min_density() 62 0.009134 0.009134 0.009134 1.06% FabArray::Saxpy() 813 0.007964 0.007964 0.007964 0.93% FabArray::Xpay() 821 0.007879 0.007879 0.007879 0.92% MLMG::addInterpCorrection() 410 0.006753 0.006753 0.006753 0.79% amrex::average_down 410 0.00584 0.00584 0.00584 0.68% Gravity::fill_multipole_BCs() 11 0.004534 0.004534 0.004534 0.53% FabArray::LinComb() 557 0.004357 0.004357 0.004357 0.51% amrex::Add() 164 0.00435 0.00435 0.00435 0.51% Castro::reset_internal_energy(MultiFab) 63 0.004014 0.004014 0.004014 0.47% Amr::checkPoint() 3 0.003944 0.003944 0.003944 0.46% BndryData::define() 11 0.003528 0.003528 0.003528 0.41% Castro::estTimeStep() 21 0.003381 0.003381 0.003381 0.39% Amr::writePlotFile() 2 0.002318 0.002318 0.002318 0.27% Castro::construct_new_gravity_source() 10 0.002244 0.002244 0.002244 0.26% MLCGSolver::bicgstab 82 0.002214 0.002214 0.002214 0.26% Castro::do_advance_ctu() 10 0.001953 0.001953 0.001953 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001663 0.001663 0.001663 0.19% Castro::construct_old_gravity_source() 10 0.001614 0.001614 0.001614 0.19% Castro::reset_internal_energy(Fab) 504 0.001499 0.001499 0.001499 0.17% Gravity::actual_solve_with_mlmg() 11 0.001476 0.001476 0.001476 0.17% MLCellLinOp::setLevelBC() 11 0.001365 0.001365 0.001365 0.16% FabArray::mult() 43 0.001311 0.001311 0.001311 0.15% FabArray::setDomainBndry() 41 0.001278 0.001278 0.001278 0.15% Castro::initData() 1 0.001266 0.001266 0.001266 0.15% MultiFab::contains_nan() 20 0.001207 0.001207 0.001207 0.14% MLCellLinOp::smooth() 1640 0.001094 0.001094 0.001094 0.13% MLCellLinOp::prepareForSolve() 11 0.001085 0.001085 0.001085 0.13% Castro::enforce_speed_limit() 62 0.0009321 0.0009321 0.0009321 0.11% MLCellLinOp::compGrad() 11 0.0008837 0.0008837 0.0008837 0.10% FabArray::FillBoundary() 4023 0.0008697 0.0008697 0.0008697 0.10% MLMG::prepareForSolve() 11 0.0008585 0.0008585 0.0008585 0.10% FabArrayBase::getCPC() 1323 0.0007457 0.0007457 0.0007457 0.09% FabArrayBase::CPC::define() 454 0.0006664 0.0006664 0.0006664 0.08% Gravity::get_new_grav_vector() 11 0.0006267 0.0006267 0.0006267 0.07% FabArrayBase::getFB() 4023 0.000608 0.000608 0.000608 0.07% Gravity::get_old_grav_vector() 10 0.0005612 0.0005612 0.0005612 0.07% MLCellLinOp::apply() 1142 0.0004679 0.0004679 0.0004679 0.05% Amr::InitAmr() 1 0.0004562 0.0004562 0.0004562 0.05% MLLinOp::defineGrids() 11 0.0003931 0.0003931 0.0003931 0.05% MLMG::mgVcycle() 82 0.0003882 0.0003882 0.0003882 0.05% Amr::coarseTimeStep() 10 0.0003448 0.0003448 0.0003448 0.04% main() 1 0.0002914 0.0002914 0.0002914 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002868 0.0002868 0.0002868 0.03% MultiFab::max() 11 0.0002582 0.0002582 0.0002582 0.03% FillPatchIterator::Initialize 41 0.0002433 0.0002433 0.0002433 0.03% FabArray::ParallelCopy() 861 0.0002331 0.0002331 0.0002331 0.03% MLCellLinOp::correctionResidual() 492 0.0002155 0.0002155 0.0002155 0.03% MLCellLinOp::defineBC() 11 0.000207 0.000207 0.000207 0.02% Amr::timeStep() 10 0.00017 0.00017 0.00017 0.02% Castro::subcycle_advance_ctu() 10 0.0001387 0.0001387 0.0001387 0.02% StateData::checkPoint() 12 0.000137 0.000137 0.000137 0.02% MLMG:computeResOfCorrection() 410 0.00013 0.00013 0.00013 0.02% Gravity::update_max_rhs() 11 0.0001268 0.0001268 0.0001268 0.01% Gravity::solve_for_phi() 10 0.0001155 0.0001155 0.0001155 0.01% Castro::finalize_advance() 10 0.000108 0.000108 0.000108 0.01% Castro::initialize_advance() 10 9.315e-05 9.315e-05 9.315e-05 0.01% MLMG::mgVcycle_down::0 82 9.301e-05 9.301e-05 9.301e-05 0.01% Castro::expand_state() 10 8.944e-05 8.944e-05 8.944e-05 0.01% FabArrayBase::FB::FB() 56 8.766e-05 8.766e-05 8.766e-05 0.01% MLMG::mgVcycle_down::1 82 8.663e-05 8.663e-05 8.663e-05 0.01% MLMG::actualBottomSolve() 82 8.603e-05 8.603e-05 8.603e-05 0.01% MLMG::mgVcycle_down::2 82 8.391e-05 8.391e-05 8.391e-05 0.01% Castro::clean_state() 62 8.363e-05 8.363e-05 8.363e-05 0.01% MLMG::mgVcycle_down::3 82 7.933e-05 7.933e-05 7.933e-05 0.01% Castro::Castro() 1 7.923e-05 7.923e-05 7.923e-05 0.01% MLMG::mgVcycle_down::4 82 7.807e-05 7.807e-05 7.807e-05 0.01% AmrLevel::checkPoint() 3 7.703e-05 7.703e-05 7.703e-05 0.01% MLMG::solve() 11 7.39e-05 7.39e-05 7.39e-05 0.01% MLMG::mgVcycle_up::4 82 6.494e-05 6.494e-05 6.494e-05 0.01% Castro::advance() 10 6.05e-05 6.05e-05 6.05e-05 0.01% MLMG::mgVcycle_up::0 82 5.754e-05 5.754e-05 5.754e-05 0.01% MLMG::mgVcycle_up::1 82 5.452e-05 5.452e-05 5.452e-05 0.01% MLMG::mgVcycle_up::3 82 5.447e-05 5.447e-05 5.447e-05 0.01% Castro::initialize_do_advance() 10 5.44e-05 5.44e-05 5.44e-05 0.01% MLMG::mgVcycle_up::2 82 5.286e-05 5.286e-05 5.286e-05 0.01% MLMG::oneIter() 82 5.254e-05 5.254e-05 5.254e-05 0.01% Castro::finalize_do_advance() 10 5.061e-05 5.061e-05 5.061e-05 0.01% MLCellLinOp::solutionResidual() 93 4.9e-05 4.9e-05 4.9e-05 0.01% Castro::swap_state_time_levels() 10 3.862e-05 3.862e-05 3.862e-05 0.00% Castro::enforce_consistent_e() 1 3.364e-05 3.364e-05 3.364e-05 0.00% StateData::define() 4 3.352e-05 3.352e-05 3.352e-05 0.00% MLMG::computeResidual() 82 3.257e-05 3.257e-05 3.257e-05 0.00% MLMG::mgVcycle_bottom 82 3.165e-05 3.165e-05 3.165e-05 0.00% FillPatchSingleLevel 41 3.139e-05 3.139e-05 3.139e-05 0.00% MLMG::ResNormInf() 93 2.997e-05 2.997e-05 2.997e-05 0.00% Castro::construct_new_gravity() 10 2.424e-05 2.424e-05 2.424e-05 0.00% Amr::writeSmallPlotFile() 1 2.371e-05 2.371e-05 2.371e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.358e-05 2.358e-05 2.358e-05 0.00% makeSFC 55 2.349e-05 2.349e-05 2.349e-05 0.00% Castro::initMFs() 1 2.202e-05 2.202e-05 2.202e-05 0.00% MLPoisson::define() 11 2.158e-05 2.158e-05 2.158e-05 0.00% Amr::FinalizeInit() 1 1.959e-05 1.959e-05 1.959e-05 0.00% Castro::do_new_sources() 10 1.858e-05 1.858e-05 1.858e-05 0.00% Castro::construct_new_source() 50 1.847e-05 1.847e-05 1.847e-05 0.00% Castro::buildMetrics() 1 1.772e-05 1.772e-05 1.772e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.765e-05 1.765e-05 1.765e-05 0.00% Castro::do_old_sources() 10 1.718e-05 1.718e-05 1.718e-05 0.00% Castro::construct_old_source() 50 1.718e-05 1.718e-05 1.718e-05 0.00% DistributionMapping::Distribute() 56 1.661e-05 1.661e-05 1.661e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.622e-05 1.622e-05 1.622e-05 0.00% MLLinOp::define() 11 1.51e-05 1.51e-05 1.51e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.46e-05 1.46e-05 1.46e-05 0.00% MLPoisson::prepareForSolve() 11 1.376e-05 1.376e-05 1.376e-05 0.00% Amr::defBaseLevel() 1 1.28e-05 1.28e-05 1.28e-05 0.00% Castro::apply_source_to_state() 20 1.134e-05 1.134e-05 1.134e-05 0.00% Castro::check_for_nan() 20 1.105e-05 1.105e-05 1.105e-05 0.00% Castro::construct_old_gravity() 10 9.886e-06 9.886e-06 9.886e-06 0.00% Gravity::swapTimeLevels() 10 9.418e-06 9.418e-06 9.418e-06 0.00% Castro::post_timestep() 10 8.504e-06 8.504e-06 8.504e-06 0.00% Amr::initSubcycle() 1 8.421e-06 8.421e-06 8.421e-06 0.00% Gravity::actual_multilevel_solve() 1 7.79e-06 7.79e-06 7.79e-06 0.00% MLMG::computeMLResidual() 11 7.619e-06 7.619e-06 7.619e-06 0.00% Castro::computeNewDt() 9 7.081e-06 7.081e-06 7.081e-06 0.00% MLMG::getGradSolution() 11 5.873e-06 5.873e-06 5.873e-06 0.00% Amr::InitializeInit() 1 4.929e-06 4.929e-06 4.929e-06 0.00% Gravity::set_mass_offset() 11 4.609e-06 4.609e-06 4.609e-06 0.00% AmrLevel::checkPointPost() 3 4.368e-06 4.368e-06 4.368e-06 0.00% Castro::retry_advance_ctu() 10 4.065e-06 4.065e-06 4.065e-06 0.00% MLMG::MLResNormInf() 11 3.855e-06 3.855e-06 3.855e-06 0.00% Castro::post_init() 1 3.828e-06 3.828e-06 3.828e-06 0.00% Castro::FluxRegCrseInit 10 3.774e-06 3.774e-06 3.774e-06 0.00% MLMG::MLRhsNormInf() 11 3.682e-06 3.682e-06 3.682e-06 0.00% Castro::create_source_corrector() 10 3.15e-06 3.15e-06 3.15e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.061e-06 3.061e-06 3.061e-06 0.00% Castro::FluxRegFineAdd() 10 2.714e-06 2.714e-06 2.714e-06 0.00% Castro::computeInitialDt() 2 2.541e-06 2.541e-06 2.541e-06 0.00% Amr::init() 1 2.232e-06 2.232e-06 2.232e-06 0.00% AmrLevel::checkPointPre() 3 1.939e-06 1.939e-06 1.939e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.929e-06 1.929e-06 1.929e-06 0.00% Amr::initialInit() 1 1.047e-06 1.047e-06 1.047e-06 0.00% Castro::post_regrid() 1 9.42e-07 9.42e-07 9.42e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8577 0.8577 0.8577 100.00% Amr::coarseTimeStep() 10 0.6876 0.6876 0.6876 80.16% Amr::timeStep() 10 0.5733 0.5733 0.5733 66.84% Castro::advance() 10 0.5665 0.5665 0.5665 66.04% Castro::subcycle_advance_ctu() 10 0.5548 0.5548 0.5548 64.68% Castro::do_advance_ctu() 10 0.5547 0.5547 0.5547 64.67% Gravity::solve_phi_with_mlmg() 11 0.2763 0.2763 0.2763 32.21% Gravity::actual_solve_with_mlmg() 11 0.2713 0.2713 0.2713 31.63% Castro::construct_new_gravity() 10 0.2522 0.2522 0.2522 29.40% MLMG::solve() 11 0.2512 0.2512 0.2512 29.29% MLMG::oneIter() 82 0.2372 0.2372 0.2372 27.65% Gravity::solve_for_phi() 10 0.2368 0.2368 0.2368 27.60% MLMG::mgVcycle() 82 0.2335 0.2335 0.2335 27.22% Castro::construct_ctu_hydro_source() 10 0.2332 0.2332 0.2332 27.19% VisMF::Write(FabArray) 11 0.2274 0.2274 0.2274 26.51% Amr::checkPoint() 3 0.169 0.169 0.169 19.70% AmrLevel::checkPoint() 3 0.1651 0.1651 0.1651 19.24% StateData::checkPoint() 12 0.165 0.165 0.165 19.23% Amr::init() 1 0.1368 0.1368 0.1368 15.95% MLCellLinOp::smooth() 1640 0.1153 0.1153 0.1153 13.44% MLCellLinOp::applyBC() 4433 0.108 0.108 0.108 12.59% MLMG::mgVcycle_bottom 82 0.07166 0.07166 0.07166 8.35% MLMG::actualBottomSolve() 82 0.07163 0.07163 0.07163 8.35% MLCGSolver::bicgstab 82 0.07096 0.07096 0.07096 8.27% Amr::writePlotFile() 2 0.06541 0.06541 0.06541 7.63% Amr::initialInit() 1 0.0468 0.0468 0.0468 5.46% Amr::FinalizeInit() 1 0.04293 0.04293 0.04293 5.01% Castro::post_init() 1 0.0416 0.0416 0.0416 4.85% FillPatchIterator::Initialize 41 0.04127 0.04127 0.04127 4.81% Castro::clean_state() 62 0.04113 0.04113 0.04113 4.80% Gravity::multilevel_solve_for_new_phi() 1 0.03991 0.03991 0.03991 4.65% Gravity::actual_multilevel_solve() 1 0.0399 0.0399 0.0399 4.65% FillPatchSingleLevel 41 0.03975 0.03975 0.03975 4.63% MLCellLinOp::apply() 1142 0.03572 0.03572 0.03572 4.16% StateDataPhysBCFunct::() 41 0.03565 0.03565 0.03565 4.16% MLMG::mgVcycle_down::0 82 0.03345 0.03345 0.03345 3.90% FabArray::FillBoundary() 4023 0.03235 0.03235 0.03235 3.77% MLPoisson::Fsmooth() 3280 0.03165 0.03165 0.03165 3.69% FillBoundary_nowait() 4023 0.03148 0.03148 0.03148 3.67% MLMG::mgVcycle_up::0 82 0.02538 0.02538 0.02538 2.96% StateData::FillBoundary(geom) 328 0.02373 0.02373 0.02373 2.77% MLCellLinOp::correctionResidual() 492 0.02181 0.02181 0.02181 2.54% amrex::Dot() 1114 0.02 0.02 0.02 2.33% MLMG:computeResOfCorrection() 410 0.01927 0.01927 0.01927 2.25% Castro::computeTemp() 63 0.01924 0.01924 0.01924 2.24% Castro::initialize_do_advance() 10 0.01762 0.01762 0.01762 2.05% Gravity::get_new_grav_vector() 11 0.01681 0.01681 0.01681 1.96% MLPoisson::define() 11 0.01586 0.01586 0.01586 1.85% MLMG::mgVcycle_down::1 82 0.01555 0.01555 0.01555 1.81% Castro::construct_old_gravity() 10 0.01496 0.01496 0.01496 1.74% Gravity::get_old_grav_vector() 10 0.01495 0.01495 0.01495 1.74% amrex::Copy() 1029 0.01458 0.01458 0.01458 1.70% MLMG::mgVcycle_down::2 82 0.01446 0.01446 0.01446 1.69% FabArray::ParallelCopy() 861 0.01414 0.01414 0.01414 1.65% MLMG::mgVcycle_down::3 82 0.01412 0.01412 0.01412 1.65% FabArray::norminf() 743 0.01395 0.01395 0.01395 1.63% MLMG::mgVcycle_down::4 82 0.01391 0.01391 0.01391 1.62% FabArray::ParallelCopy_nowait() 861 0.01391 0.01391 0.01391 1.62% FabArray::setVal() 1144 0.01289 0.01289 0.01289 1.50% Castro::normalize_species() 62 0.01241 0.01241 0.01241 1.45% MLCGSolver::ParallelAllReduce 1514 0.012 0.012 0.012 1.40% MLMG::addInterpCorrection() 410 0.01178 0.01178 0.01178 1.37% MLMG::mgVcycle_up::4 82 0.01135 0.01135 0.01135 1.32% MLMG::mgVcycle_up::1 82 0.01133 0.01133 0.01133 1.32% MLMG::mgVcycle_up::2 82 0.01105 0.01105 0.01105 1.29% Castro::initialize_advance() 10 0.01096 0.01096 0.01096 1.28% amrex::average_down 410 0.01089 0.01089 0.01089 1.27% MLMG::mgVcycle_up::3 82 0.01084 0.01084 0.01084 1.26% Castro::expand_state() 10 0.01071 0.01071 0.01071 1.25% MLCellLinOp::defineAuxData() 11 0.01068 0.01068 0.01068 1.25% Castro::do_new_sources() 10 0.01023 0.01023 0.01023 1.19% MLPoisson::Fapply() 1142 0.01023 0.01023 0.01023 1.19% Castro::enforce_min_density() 62 0.009134 0.009134 0.009134 1.06% Castro::do_old_sources() 10 0.009075 0.009075 0.009075 1.06% FabArray::Saxpy() 813 0.007964 0.007964 0.007964 0.93% FabArray::Xpay() 821 0.007879 0.007879 0.007879 0.92% MLCellLinOp::solutionResidual() 93 0.007107 0.007107 0.007107 0.83% Castro::post_timestep() 10 0.006694 0.006694 0.006694 0.78% MLMG::computeResidual() 82 0.006133 0.006133 0.006133 0.71% Castro::reset_internal_energy(MultiFab) 63 0.005514 0.005514 0.005514 0.64% Gravity::fill_multipole_BCs() 11 0.00477 0.00477 0.00477 0.56% MLCellLinOp::defineBC() 11 0.00469 0.00469 0.00469 0.55% MLMG::prepareForSolve() 11 0.004545 0.004545 0.004545 0.53% BndryData::define() 11 0.004483 0.004483 0.004483 0.52% FabArray::LinComb() 557 0.004357 0.004357 0.004357 0.51% amrex::Add() 164 0.00435 0.00435 0.00435 0.51% Amr::InitializeInit() 1 0.00387 0.00387 0.00387 0.45% Amr::defBaseLevel() 1 0.003865 0.003865 0.003865 0.45% Castro::estTimeStep() 21 0.003381 0.003381 0.003381 0.39% Castro::initData() 1 0.003376 0.003376 0.003376 0.39% Castro::construct_new_source() 50 0.002262 0.002262 0.002262 0.26% Castro::construct_new_gravity_source() 10 0.002244 0.002244 0.002244 0.26% MLMG::ResNormInf() 93 0.002066 0.002066 0.002066 0.24% Castro::apply_source_to_state() 20 0.001823 0.001823 0.001823 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001663 0.001663 0.001663 0.19% Castro::construct_old_source() 50 0.001632 0.001632 0.001632 0.19% Castro::construct_old_gravity_source() 10 0.001614 0.001614 0.001614 0.19% Castro::reset_internal_energy(Fab) 504 0.001499 0.001499 0.001499 0.17% FabArrayBase::getCPC() 1323 0.001412 0.001412 0.001412 0.16% MLCellLinOp::setLevelBC() 11 0.001365 0.001365 0.001365 0.16% MLMG::getGradSolution() 11 0.001355 0.001355 0.001355 0.16% MLCellLinOp::compGrad() 11 0.001349 0.001349 0.001349 0.16% FabArray::mult() 43 0.001311 0.001311 0.001311 0.15% Castro::computeNewDt() 9 0.001301 0.001301 0.001301 0.15% FabArray::setDomainBndry() 41 0.001278 0.001278 0.001278 0.15% Castro::check_for_nan() 20 0.001218 0.001218 0.001218 0.14% MultiFab::contains_nan() 20 0.001207 0.001207 0.001207 0.14% Castro::post_regrid() 1 0.001159 0.001159 0.001159 0.14% MLPoisson::prepareForSolve() 11 0.001099 0.001099 0.001099 0.13% MLCellLinOp::prepareForSolve() 11 0.001085 0.001085 0.001085 0.13% MLMG::computeMLResidual() 11 0.001014 0.001014 0.001014 0.12% Castro::enforce_speed_limit() 62 0.0009321 0.0009321 0.0009321 0.11% Castro::computeInitialDt() 2 0.0008841 0.0008841 0.0008841 0.10% Gravity::update_max_rhs() 11 0.0008313 0.0008313 0.0008313 0.10% FabArrayBase::getFB() 4023 0.0006956 0.0006956 0.0006956 0.08% FabArrayBase::CPC::define() 454 0.0006664 0.0006664 0.0006664 0.08% Castro::finalize_advance() 10 0.0006476 0.0006476 0.0006476 0.08% Amr::InitAmr() 1 0.0004646 0.0004646 0.0004646 0.05% MLLinOp::define() 11 0.0004637 0.0004637 0.0004637 0.05% MLLinOp::defineGrids() 11 0.0004486 0.0004486 0.0004486 0.05% Gravity::swapTimeLevels() 10 0.0004439 0.0004439 0.0004439 0.05% Castro::Castro() 1 0.0004218 0.0004218 0.0004218 0.05% MLMG::MLResNormInf() 11 0.0002907 0.0002907 0.0002907 0.03% MultiFab::max() 11 0.0002582 0.0002582 0.0002582 0.03% MLMG::MLRhsNormInf() 11 0.0002201 0.0002201 0.0002201 0.03% Castro::buildMetrics() 1 0.0001627 0.0001627 0.0001627 0.02% FabArrayBase::FB::FB() 56 8.766e-05 8.766e-05 8.766e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.352e-05 5.352e-05 5.352e-05 0.01% Castro::finalize_do_advance() 10 5.061e-05 5.061e-05 5.061e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.974e-05 4.974e-05 4.974e-05 0.01% makeSFC 55 3.892e-05 3.892e-05 3.892e-05 0.00% Castro::swap_state_time_levels() 10 3.862e-05 3.862e-05 3.862e-05 0.00% Castro::enforce_consistent_e() 1 3.364e-05 3.364e-05 3.364e-05 0.00% StateData::define() 4 3.352e-05 3.352e-05 3.352e-05 0.00% Amr::writeSmallPlotFile() 1 2.371e-05 2.371e-05 2.371e-05 0.00% Castro::initMFs() 1 2.202e-05 2.202e-05 2.202e-05 0.00% DistributionMapping::Distribute() 56 1.661e-05 1.661e-05 1.661e-05 0.00% Amr::initSubcycle() 1 8.421e-06 8.421e-06 8.421e-06 0.00% Gravity::set_mass_offset() 11 4.609e-06 4.609e-06 4.609e-06 0.00% AmrLevel::checkPointPost() 3 4.368e-06 4.368e-06 4.368e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.246e-06 4.246e-06 4.246e-06 0.00% Castro::retry_advance_ctu() 10 4.065e-06 4.065e-06 4.065e-06 0.00% Castro::FluxRegCrseInit 10 3.774e-06 3.774e-06 3.774e-06 0.00% Castro::create_source_corrector() 10 3.15e-06 3.15e-06 3.15e-06 0.00% Castro::FluxRegFineAdd() 10 2.714e-06 2.714e-06 2.714e-06 0.00% AmrLevel::checkPointPre() 3 1.939e-06 1.939e-06 1.939e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.929e-06 1.929e-06 1.929e-06 0.00% -------------------------------------------------------------------------------------------- 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 101 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 115 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1018 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2142 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3604 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 8012 B 2053 KiB Gravity::update_max_rhs() 88 88 1846 B 2048 KiB Gravity::solve_for_phi() 80 80 564 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 209 KiB 671 KiB Castro::estTimeStep() 21 21 1912 B 480 KiB VisMF::Write(FabArray) 656 656 3416 B 320 KiB Castro::normalize_species() 62 62 4701 B 320 KiB amrex::average_down 1067 1067 1266 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1178 B 257 KiB amrex::Dot() 1360 1360 3441 B 160 KiB FabArray::norminf() 907 907 2412 B 160 KiB Castro::do_advance_ctu() 10 10 342 B 160 KiB MultiFab::max() 11 11 46 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3523 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 314 B 9648 B MLCellLinOp::applyBC() 8866 8866 228 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3866 B 6144 B StateData::FillBoundary(geom) 1992 1992 48 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 120 B 1472 B MLCellLinOp::defineBC() 66 66 370 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 585 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 51 KiB 8192 KiB VisMF::Write(FabArray) 744 744 618 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3523 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 314 B 9648 B MLCellLinOp::applyBC() 4433 4433 226 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3866 B 6144 B Gravity::get_new_grav_vector() 3 3 2904 B 3072 B StateData::FillBoundary(geom) 1992 1992 49 B 2976 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 300 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [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 (23.03-6-g5b7fa9867d02) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.03-6-g5b7fa9867d02) initialized Starting run at 10:09:52 UTC on 2023-03-10. Successfully read inputs file ... Castro git describe: 23.03-2-g0304294be AMReX git describe: 23.03-6-g5b7fa9867 Microphysics git describe: 23.03-12-g1f07dde0 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.456566357 Restart time = 0.046988849 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.047661354 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.046712665 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.045423753 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.052080551 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.058370451 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032163416 seconds Ending run at 10:09:52 UTC on 2023-03-10. Run time = 0.330369651 Run time without initialization = 0.282817328 Average number of zones advanced per microsecond: 4.635 Average number of zones advanced per microsecond per rank: 4.635 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3304 ... 0.3304 ... 0.3304 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.0749 0.0749 0.0749 22.66% VisMF::Read() 3 0.0409 0.0409 0.0409 12.38% MLCellLinOp::applyBC() 1946 0.03242 0.03242 0.03242 9.81% VisMF::Write(FabArray) 1 0.03067 0.03067 0.03067 9.28% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 4.10% FillBoundary_nowait() 1766 0.01256 0.01256 0.01256 3.80% StateData::FillBoundary(geom) 160 0.01187 0.01187 0.01187 3.59% amrex::Dot() 484 0.008473 0.008473 0.008473 2.56% Castro::normalize_species() 30 0.006841 0.006841 0.006841 2.07% amrex::Copy() 463 0.006783 0.006783 0.006783 2.05% FabArray::setVal() 537 0.006069 0.006069 0.006069 1.84% FabArray::norminf() 326 0.006021 0.006021 0.006021 1.82% FabArray::ParallelCopy_nowait() 380 0.005942 0.005942 0.005942 1.80% Castro::computeTemp() 30 0.005891 0.005891 0.005891 1.78% StateDataPhysBCFunct::() 20 0.005874 0.005874 0.005874 1.78% MLCellLinOp::defineAuxData() 6 0.005157 0.005157 0.005157 1.56% MLPoisson::Fapply() 500 0.004333 0.004333 0.004333 1.31% FabArray::Saxpy() 355 0.003543 0.003543 0.003543 1.07% FabArray::Xpay() 361 0.003395 0.003395 0.003395 1.03% Gravity::fill_multipole_BCs() 6 0.003023 0.003023 0.003023 0.91% Castro::enforce_min_density() 30 0.003012 0.003012 0.003012 0.91% MLMG::addInterpCorrection() 180 0.002922 0.002922 0.002922 0.88% Castro::estTimeStep() 10 0.00283 0.00283 0.00283 0.86% amrex::average_down 180 0.002521 0.002521 0.002521 0.76% Amr::restart() 1 0.002424 0.002424 0.002424 0.73% Castro::do_advance_ctu() 5 0.001963 0.001963 0.001963 0.59% BndryData::define() 6 0.00194 0.00194 0.00194 0.59% FabArray::LinComb() 242 0.001858 0.001858 0.001858 0.56% amrex::Add() 72 0.001832 0.001832 0.001832 0.55% Castro::reset_internal_energy(MultiFab) 30 0.001825 0.001825 0.001825 0.55% Castro::reset_internal_energy(Fab) 240 0.001569 0.001569 0.001569 0.48% Castro::construct_new_gravity_source() 5 0.001565 0.001565 0.001565 0.47% Amr::writePlotFile() 1 0.001332 0.001332 0.001332 0.40% Castro::construct_old_gravity_source() 5 0.001192 0.001192 0.001192 0.36% MLCGSolver::bicgstab 36 0.0009701 0.0009701 0.0009701 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008807 0.0008807 0.0008807 0.27% Gravity::actual_solve_with_mlmg() 6 0.0007723 0.0007723 0.0007723 0.23% MLCellLinOp::setLevelBC() 6 0.0007278 0.0007278 0.0007278 0.22% FabArray::mult() 22 0.0006448 0.0006448 0.0006448 0.20% FabArray::setDomainBndry() 20 0.0006311 0.0006311 0.0006311 0.19% MultiFab::contains_nan() 10 0.0006041 0.0006041 0.0006041 0.18% MLCellLinOp::prepareForSolve() 6 0.0005897 0.0005897 0.0005897 0.18% MLCellLinOp::smooth() 720 0.0004839 0.0004839 0.0004839 0.15% MLCellLinOp::compGrad() 6 0.0004815 0.0004815 0.0004815 0.15% MLMG::prepareForSolve() 6 0.0004639 0.0004639 0.0004639 0.14% FabArrayBase::CPC::define() 244 0.0004142 0.0004142 0.0004142 0.13% Castro::enforce_speed_limit() 30 0.0003958 0.0003958 0.0003958 0.12% Amr::InitAmr() 1 0.0003833 0.0003833 0.0003833 0.12% FabArrayBase::getCPC() 632 0.0003754 0.0003754 0.0003754 0.11% FabArray::FillBoundary() 1766 0.0003695 0.0003695 0.0003695 0.11% Gravity::get_old_grav_vector() 5 0.0003053 0.0003053 0.0003053 0.09% Gravity::get_new_grav_vector() 5 0.0002726 0.0002726 0.0002726 0.08% main() 1 0.0002719 0.0002719 0.0002719 0.08% FabArrayBase::getFB() 1766 0.0002662 0.0002662 0.0002662 0.08% MLCellLinOp::apply() 500 0.0001993 0.0001993 0.0001993 0.06% MLMG::mgVcycle() 36 0.0001832 0.0001832 0.0001832 0.06% MLLinOp::defineGrids() 6 0.0001636 0.0001636 0.0001636 0.05% Amr::coarseTimeStep() 5 0.0001625 0.0001625 0.0001625 0.05% MultiFab::max() 6 0.0001342 0.0001342 0.0001342 0.04% MLCGSolver::ParallelAllReduce 659 0.000122 0.000122 0.000122 0.04% FillPatchIterator::Initialize 20 0.0001189 0.0001189 0.0001189 0.04% MLCellLinOp::defineBC() 6 0.0001136 0.0001136 0.0001136 0.03% FabArray::ParallelCopy() 380 0.0001074 0.0001074 0.0001074 0.03% MLCellLinOp::correctionResidual() 216 9.473e-05 9.473e-05 9.473e-05 0.03% Castro::subcycle_advance_ctu() 5 9.242e-05 9.242e-05 9.242e-05 0.03% Amr::timeStep() 5 8.643e-05 8.643e-05 8.643e-05 0.03% AmrLevel::restart() 1 7.348e-05 7.348e-05 7.348e-05 0.02% Castro::advance() 5 6.688e-05 6.688e-05 6.688e-05 0.02% Gravity::update_max_rhs() 6 6.104e-05 6.104e-05 6.104e-05 0.02% StateData::restartDoit() 4 6.049e-05 6.049e-05 6.049e-05 0.02% FabArrayBase::FB::FB() 26 6.016e-05 6.016e-05 6.016e-05 0.02% Gravity::solve_for_phi() 5 5.729e-05 5.729e-05 5.729e-05 0.02% MLMG:computeResOfCorrection() 180 5.697e-05 5.697e-05 5.697e-05 0.02% Castro::finalize_advance() 5 4.31e-05 4.31e-05 4.31e-05 0.01% Castro::expand_state() 5 4.233e-05 4.233e-05 4.233e-05 0.01% MLMG::mgVcycle_down::0 36 4.149e-05 4.149e-05 4.149e-05 0.01% MLMG::actualBottomSolve() 36 4.047e-05 4.047e-05 4.047e-05 0.01% MLMG::mgVcycle_down::4 36 4.037e-05 4.037e-05 4.037e-05 0.01% MLMG::mgVcycle_down::1 36 3.83e-05 3.83e-05 3.83e-05 0.01% Castro::clean_state() 30 3.808e-05 3.808e-05 3.808e-05 0.01% MLMG::mgVcycle_down::2 36 3.595e-05 3.595e-05 3.595e-05 0.01% MLMG::mgVcycle_down::3 36 3.469e-05 3.469e-05 3.469e-05 0.01% MLMG::solve() 6 3.432e-05 3.432e-05 3.432e-05 0.01% Castro::initialize_advance() 5 3.42e-05 3.42e-05 3.42e-05 0.01% Castro::construct_new_source() 25 3.177e-05 3.177e-05 3.177e-05 0.01% MLMG::mgVcycle_up::4 36 3.142e-05 3.142e-05 3.142e-05 0.01% Castro::post_restart() 1 3.092e-05 3.092e-05 3.092e-05 0.01% Castro::initialize_do_advance() 5 2.7e-05 2.7e-05 2.7e-05 0.01% Castro::buildMetrics() 1 2.675e-05 2.675e-05 2.675e-05 0.01% MLMG::mgVcycle_up::0 36 2.6e-05 2.6e-05 2.6e-05 0.01% MLMG::mgVcycle_up::3 36 2.531e-05 2.531e-05 2.531e-05 0.01% Amr::writeSmallPlotFile() 1 2.524e-05 2.524e-05 2.524e-05 0.01% Castro::swap_state_time_levels() 5 2.463e-05 2.463e-05 2.463e-05 0.01% MLMG::mgVcycle_up::2 36 2.439e-05 2.439e-05 2.439e-05 0.01% Castro::initMFs() 1 2.431e-05 2.431e-05 2.431e-05 0.01% MLMG::mgVcycle_up::1 36 2.407e-05 2.407e-05 2.407e-05 0.01% MLMG::oneIter() 36 2.333e-05 2.333e-05 2.333e-05 0.01% MLCellLinOp::solutionResidual() 42 2.15e-05 2.15e-05 2.15e-05 0.01% Castro::finalize_do_advance() 5 1.974e-05 1.974e-05 1.974e-05 0.01% MLMG::mgVcycle_bottom 36 1.87e-05 1.87e-05 1.87e-05 0.01% Gravity::solve_phi_with_mlmg() 6 1.67e-05 1.67e-05 1.67e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 1.593e-05 1.593e-05 1.593e-05 0.00% MLMG::ResNormInf() 42 1.543e-05 1.543e-05 1.543e-05 0.00% FillPatchSingleLevel 20 1.527e-05 1.527e-05 1.527e-05 0.00% MLMG::computeResidual() 36 1.458e-05 1.458e-05 1.458e-05 0.00% MLPoisson::define() 6 1.381e-05 1.381e-05 1.381e-05 0.00% makeSFC 30 1.351e-05 1.351e-05 1.351e-05 0.00% Castro::construct_new_gravity() 5 1.244e-05 1.244e-05 1.244e-05 0.00% Castro::construct_old_source() 25 1.027e-05 1.027e-05 1.027e-05 0.00% MLPoisson::prepareForSolve() 6 9.889e-06 9.889e-06 9.889e-06 0.00% DistributionMapping::Distribute() 31 9.226e-06 9.226e-06 9.226e-06 0.00% Castro::do_new_sources() 5 8.666e-06 8.666e-06 8.666e-06 0.00% Amr::initSubcycle() 1 8.413e-06 8.413e-06 8.413e-06 0.00% Castro::do_old_sources() 5 8.294e-06 8.294e-06 8.294e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.759e-06 7.759e-06 7.759e-06 0.00% Gravity::actual_multilevel_solve() 1 7.357e-06 7.357e-06 7.357e-06 0.00% Castro::check_for_nan() 10 5.936e-06 5.936e-06 5.936e-06 0.00% Castro::construct_old_gravity() 5 5.616e-06 5.616e-06 5.616e-06 0.00% Castro::apply_source_to_state() 10 5.205e-06 5.205e-06 5.205e-06 0.00% Castro::post_timestep() 5 5.02e-06 5.02e-06 5.02e-06 0.00% MLLinOp::define() 6 4.909e-06 4.909e-06 4.909e-06 0.00% Gravity::swapTimeLevels() 5 4.581e-06 4.581e-06 4.581e-06 0.00% MLMG::computeMLResidual() 6 3.428e-06 3.428e-06 3.428e-06 0.00% Castro::computeNewDt() 5 3.409e-06 3.409e-06 3.409e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.02e-06 3.02e-06 3.02e-06 0.00% MLMG::getGradSolution() 6 2.992e-06 2.992e-06 2.992e-06 0.00% MLMG::MLResNormInf() 6 2.232e-06 2.232e-06 2.232e-06 0.00% Castro::retry_advance_ctu() 5 2.063e-06 2.063e-06 2.063e-06 0.00% MLMG::MLRhsNormInf() 6 2.022e-06 2.022e-06 2.022e-06 0.00% Castro::create_source_corrector() 5 1.962e-06 1.962e-06 1.962e-06 0.00% Gravity::set_mass_offset() 6 1.768e-06 1.768e-06 1.768e-06 0.00% Castro::FluxRegCrseInit 5 1.524e-06 1.524e-06 1.524e-06 0.00% Amr::init() 1 1.309e-06 1.309e-06 1.309e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.138e-06 1.138e-06 1.138e-06 0.00% Castro::FluxRegFineAdd() 5 1.115e-06 1.115e-06 1.115e-06 0.00% AmrLevel::AmrLevel() 1 8.36e-07 8.36e-07 8.36e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3304 0.3304 0.3304 99.99% Amr::coarseTimeStep() 5 0.2504 0.2504 0.2504 75.79% Amr::timeStep() 5 0.2482 0.2482 0.2482 75.11% Castro::advance() 5 0.2448 0.2448 0.2448 74.09% Castro::subcycle_advance_ctu() 5 0.2385 0.2385 0.2385 72.18% Castro::do_advance_ctu() 5 0.2384 0.2384 0.2384 72.15% Castro::construct_new_gravity() 5 0.1264 0.1264 0.1264 38.26% Gravity::solve_phi_with_mlmg() 6 0.1218 0.1218 0.1218 36.85% Gravity::solve_for_phi() 5 0.1188 0.1188 0.1188 35.94% Gravity::actual_solve_with_mlmg() 6 0.1185 0.1185 0.1185 35.86% MLMG::solve() 6 0.1076 0.1076 0.1076 32.55% MLMG::oneIter() 36 0.1009 0.1009 0.1009 30.53% MLMG::mgVcycle() 36 0.09932 0.09932 0.09932 30.06% Castro::construct_ctu_hydro_source() 5 0.07486 0.07486 0.07486 22.66% MLCellLinOp::smooth() 720 0.04872 0.04872 0.04872 14.74% Amr::init() 1 0.04703 0.04703 0.04703 14.23% Amr::restart() 1 0.04703 0.04703 0.04703 14.23% MLCellLinOp::applyBC() 1946 0.04568 0.04568 0.04568 13.83% AmrLevel::restart() 1 0.04109 0.04109 0.04109 12.44% StateData::restartDoit() 4 0.04101 0.04101 0.04101 12.41% VisMF::Read() 3 0.0409 0.0409 0.0409 12.38% Amr::writePlotFile() 1 0.03225 0.03225 0.03225 9.76% VisMF::Write(FabArray) 1 0.03067 0.03067 0.03067 9.28% MLMG::mgVcycle_bottom 36 0.03057 0.03057 0.03057 9.25% MLMG::actualBottomSolve() 36 0.03055 0.03055 0.03055 9.25% MLCGSolver::bicgstab 36 0.03026 0.03026 0.03026 9.16% FillPatchIterator::Initialize 20 0.02055 0.02055 0.02055 6.22% FillPatchSingleLevel 20 0.0198 0.0198 0.0198 5.99% Castro::clean_state() 30 0.01957 0.01957 0.01957 5.92% StateDataPhysBCFunct::() 20 0.01775 0.01775 0.01775 5.37% MLCellLinOp::apply() 500 0.01529 0.01529 0.01529 4.63% MLMG::mgVcycle_down::0 36 0.01405 0.01405 0.01405 4.25% MLPoisson::Fsmooth() 1440 0.01356 0.01356 0.01356 4.10% FabArray::FillBoundary() 1766 0.01326 0.01326 0.01326 4.01% FillBoundary_nowait() 1766 0.01289 0.01289 0.01289 3.90% StateData::FillBoundary(geom) 160 0.01187 0.01187 0.01187 3.59% MLMG::mgVcycle_up::0 36 0.01056 0.01056 0.01056 3.20% Castro::computeTemp() 30 0.009285 0.009285 0.009285 2.81% MLCellLinOp::correctionResidual() 216 0.009273 0.009273 0.009273 2.81% Castro::initialize_do_advance() 5 0.008774 0.008774 0.008774 2.66% MLPoisson::define() 6 0.008696 0.008696 0.008696 2.63% amrex::Dot() 484 0.008473 0.008473 0.008473 2.56% MLMG:computeResOfCorrection() 180 0.00817 0.00817 0.00817 2.47% Castro::construct_old_gravity() 5 0.007608 0.007608 0.007608 2.30% Gravity::get_old_grav_vector() 5 0.007603 0.007603 0.007603 2.30% Gravity::get_new_grav_vector() 5 0.007534 0.007534 0.007534 2.28% Castro::do_new_sources() 5 0.007361 0.007361 0.007361 2.23% Castro::normalize_species() 30 0.006841 0.006841 0.006841 2.07% amrex::Copy() 463 0.006783 0.006783 0.006783 2.05% MLMG::mgVcycle_down::1 36 0.006653 0.006653 0.006653 2.01% FabArray::ParallelCopy() 380 0.006447 0.006447 0.006447 1.95% FabArray::ParallelCopy_nowait() 380 0.006339 0.006339 0.006339 1.92% MLMG::mgVcycle_down::2 36 0.006184 0.006184 0.006184 1.87% FabArray::setVal() 537 0.006069 0.006069 0.006069 1.84% MLMG::mgVcycle_down::3 36 0.006024 0.006024 0.006024 1.82% FabArray::norminf() 326 0.006021 0.006021 0.006021 1.82% MLMG::mgVcycle_down::4 36 0.005995 0.005995 0.005995 1.81% Castro::expand_state() 5 0.005975 0.005975 0.005975 1.81% Castro::initialize_advance() 5 0.00597 0.00597 0.00597 1.81% MLCellLinOp::defineAuxData() 6 0.005889 0.005889 0.005889 1.78% MLCGSolver::ParallelAllReduce 659 0.005118 0.005118 0.005118 1.55% MLMG::addInterpCorrection() 180 0.005108 0.005108 0.005108 1.55% MLMG::mgVcycle_up::4 36 0.004893 0.004893 0.004893 1.48% MLMG::mgVcycle_up::1 36 0.00483 0.00483 0.00483 1.46% amrex::average_down 180 0.004742 0.004742 0.004742 1.44% MLMG::mgVcycle_up::2 36 0.004739 0.004739 0.004739 1.43% MLMG::mgVcycle_up::3 36 0.004635 0.004635 0.004635 1.40% MLPoisson::Fapply() 500 0.004333 0.004333 0.004333 1.31% Castro::do_old_sources() 5 0.00385 0.00385 0.00385 1.17% FabArray::Saxpy() 355 0.003543 0.003543 0.003543 1.07% FabArray::Xpay() 361 0.003395 0.003395 0.003395 1.03% Castro::reset_internal_energy(MultiFab) 30 0.003394 0.003394 0.003394 1.03% Castro::post_restart() 1 0.003352 0.003352 0.003352 1.01% Castro::post_timestep() 5 0.003271 0.003271 0.003271 0.99% Gravity::multilevel_solve_for_new_phi() 1 0.003234 0.003234 0.003234 0.98% Gravity::actual_multilevel_solve() 1 0.003218 0.003218 0.003218 0.97% MLCellLinOp::solutionResidual() 42 0.003164 0.003164 0.003164 0.96% Gravity::fill_multipole_BCs() 6 0.003145 0.003145 0.003145 0.95% Castro::enforce_min_density() 30 0.003012 0.003012 0.003012 0.91% Castro::estTimeStep() 10 0.00283 0.00283 0.00283 0.86% MLMG::computeResidual() 36 0.002623 0.002623 0.002623 0.79% MLCellLinOp::defineBC() 6 0.002595 0.002595 0.002595 0.79% BndryData::define() 6 0.002481 0.002481 0.002481 0.75% MLMG::prepareForSolve() 6 0.002443 0.002443 0.002443 0.74% Castro::computeNewDt() 5 0.00208 0.00208 0.00208 0.63% FabArray::LinComb() 242 0.001858 0.001858 0.001858 0.56% amrex::Add() 72 0.001832 0.001832 0.001832 0.55% Castro::construct_new_source() 25 0.001597 0.001597 0.001597 0.48% Castro::reset_internal_energy(Fab) 240 0.001569 0.001569 0.001569 0.48% Castro::construct_new_gravity_source() 5 0.001565 0.001565 0.001565 0.47% Castro::construct_old_source() 25 0.001202 0.001202 0.001202 0.36% Castro::construct_old_gravity_source() 5 0.001192 0.001192 0.001192 0.36% Castro::apply_source_to_state() 10 0.0009221 0.0009221 0.0009221 0.28% MLMG::ResNormInf() 42 0.0009125 0.0009125 0.0009125 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008807 0.0008807 0.0008807 0.27% FabArrayBase::getCPC() 632 0.0007895 0.0007895 0.0007895 0.24% MLMG::getGradSolution() 6 0.0007423 0.0007423 0.0007423 0.22% MLCellLinOp::compGrad() 6 0.0007393 0.0007393 0.0007393 0.22% MLCellLinOp::setLevelBC() 6 0.0007278 0.0007278 0.0007278 0.22% FabArray::mult() 22 0.0006448 0.0006448 0.0006448 0.20% FabArray::setDomainBndry() 20 0.0006311 0.0006311 0.0006311 0.19% Castro::check_for_nan() 10 0.00061 0.00061 0.00061 0.18% MultiFab::contains_nan() 10 0.0006041 0.0006041 0.0006041 0.18% MLPoisson::prepareForSolve() 6 0.0005996 0.0005996 0.0005996 0.18% MLCellLinOp::prepareForSolve() 6 0.0005897 0.0005897 0.0005897 0.18% MLMG::computeMLResidual() 6 0.000559 0.000559 0.000559 0.17% Gravity::update_max_rhs() 6 0.0004355 0.0004355 0.0004355 0.13% FabArrayBase::CPC::define() 244 0.0004142 0.0004142 0.0004142 0.13% Castro::enforce_speed_limit() 30 0.0003958 0.0003958 0.0003958 0.12% Amr::InitAmr() 1 0.0003917 0.0003917 0.0003917 0.12% FabArrayBase::getFB() 1766 0.0003263 0.0003263 0.0003263 0.10% Castro::finalize_advance() 5 0.0002989 0.0002989 0.0002989 0.09% Gravity::swapTimeLevels() 5 0.0002216 0.0002216 0.0002216 0.07% MLLinOp::define() 6 0.0001988 0.0001988 0.0001988 0.06% MLLinOp::defineGrids() 6 0.0001939 0.0001939 0.0001939 0.06% MLMG::MLResNormInf() 6 0.0001515 0.0001515 0.0001515 0.05% Castro::buildMetrics() 1 0.0001419 0.0001419 0.0001419 0.04% MultiFab::max() 6 0.0001342 0.0001342 0.0001342 0.04% MLMG::MLRhsNormInf() 6 0.0001162 0.0001162 0.0001162 0.04% FabArrayBase::FB::FB() 26 6.016e-05 6.016e-05 6.016e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.915e-05 2.915e-05 2.915e-05 0.01% Amr::writeSmallPlotFile() 1 2.524e-05 2.524e-05 2.524e-05 0.01% Castro::swap_state_time_levels() 5 2.463e-05 2.463e-05 2.463e-05 0.01% Castro::initMFs() 1 2.431e-05 2.431e-05 2.431e-05 0.01% makeSFC 30 2.139e-05 2.139e-05 2.139e-05 0.01% Castro::finalize_do_advance() 5 1.974e-05 1.974e-05 1.974e-05 0.01% DistributionMapping::Distribute() 31 9.226e-06 9.226e-06 9.226e-06 0.00% Amr::initSubcycle() 1 8.413e-06 8.413e-06 8.413e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.371e-06 4.371e-06 4.371e-06 0.00% Castro::retry_advance_ctu() 5 2.063e-06 2.063e-06 2.063e-06 0.00% Castro::create_source_corrector() 5 1.962e-06 1.962e-06 1.962e-06 0.00% Gravity::set_mass_offset() 6 1.768e-06 1.768e-06 1.768e-06 0.00% Castro::FluxRegCrseInit 5 1.524e-06 1.524e-06 1.524e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.138e-06 1.138e-06 1.138e-06 0.00% Castro::FluxRegFineAdd() 5 1.115e-06 1.115e-06 1.115e-06 0.00% AmrLevel::AmrLevel() 1 8.36e-07 8.36e-07 8.36e-07 0.00% -------------------------------------------------------------------------------------------- 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 261 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 95 MiB 692 MiB Castro::initMFs() 48 48 58 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB FillPatchIterator::Initialize 160 160 1369 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2730 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 6557 KiB 14 MiB MLMG::prepareForSolve() 361 361 3996 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 237 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 233 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6552 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2537 B 2048 KiB Gravity::solve_for_phi() 40 40 734 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 19 KiB 2048 KiB BndryData::define() 576 576 367 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 236 KiB 671 KiB Castro::estTimeStep() 10 10 2935 B 480 KiB VisMF::Write(FabArray) 112 112 1466 B 320 KiB Castro::normalize_species() 30 30 6728 B 320 KiB amrex::average_down 469 469 1354 B 257 KiB MLMG::addInterpCorrection() 468 468 1308 B 257 KiB amrex::Dot() 592 592 3777 B 160 KiB FabArray::norminf() 398 398 2695 B 160 KiB Castro::do_advance_ctu() 5 5 542 B 160 KiB MultiFab::max() 6 6 62 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 36 B 20 KiB MLPoisson::Fsmooth() 60 60 3887 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 58 B 10 KiB FillBoundary_nowait() 336 336 330 B 9648 B MLCellLinOp::applyBC() 3892 3892 254 B 9344 B amrex::Copy() 56 56 5878 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 55 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 133 B 1472 B MLCellLinOp::defineBC() 36 36 413 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1433 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 133 KiB 8192 KiB VisMF::Write(FabArray) 120 120 285 KiB 3584 KiB VisMF::Read() 24 24 230 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3887 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 58 B 10 KiB FillBoundary_nowait() 336 336 330 B 9648 B MLCellLinOp::applyBC() 1946 1946 252 B 9328 B amrex::Copy() 56 56 5878 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2577 B 3072 B Gravity::fill_multipole_BCs() 18 18 6 B 2832 B StateData::FillBoundary(geom) 960 960 55 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 566 B 1296 B amrex::average_down 37 37 216 B 1296 B MLMG::addInterpCorrection() 36 36 3 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 398 398 19 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2459 [The Arena] space allocated (MB): 9042 [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 (23.03-6-g5b7fa9867d02) finalized