Initializing AMReX (24.04-3-gd78e241d1ad4)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-3-gd78e241d1ad4) initialized Starting run at 18:59:28 UTC on 2024-04-02. Successfully read inputs file ... Castro git describe: 24.04-1-g670698e55 AMReX git describe: 24.04-3-gd78e241d1 Microphysics git describe: 24.04 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.04640414 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025892634 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.065956837 [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.069161499 [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.080958923 [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.06931365 [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.061603517 [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.05328122 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.0521241 [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.074484304 [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.073122703 [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.058052378 [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.070657078 [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.045761333 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025622383 seconds Ending run at 18:59:29 UTC on 2024-04-02. Run time = 0.928426636 Run time without initialization = 0.800712526 Average number of zones advanced per microsecond: 3.274 Average number of zones advanced per microsecond per rank: 3.274 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.9285 ... 0.9285 ... 0.9285 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2870 0.2870 0.2870 30.92% VisMF::Write(FabArray) 11 0.1873 0.1873 0.1873 20.17% MLCellLinOp::applyBC() 4351 0.08219 0.08219 0.08219 8.85% MLPoisson::Fsmooth() 3280 0.03382 0.03382 0.03382 3.64% FillBoundary_nowait() 3941 0.03149 0.03149 0.03149 3.39% StateData::FillBoundary(geom) 328 0.02727 0.02727 0.02727 2.94% amrex::Dot() 1114 0.0218 0.0218 0.0218 2.35% Castro::normalize_species() 62 0.02135 0.02135 0.02135 2.30% FabArray::norminf() 1061 0.02018 0.02018 0.02018 2.17% Castro::computeTemp() 63 0.01801 0.01801 0.01801 1.94% FabArray::ParallelCopy_nowait() 861 0.01392 0.01392 0.01392 1.50% FabArray::setVal() 1062 0.01368 0.01368 0.01368 1.47% Castro::enforce_min_density() 62 0.01341 0.01341 0.01341 1.44% FabArray::Saxpy() 1370 0.01327 0.01327 0.01327 1.43% amrex::Copy() 472 0.01098 0.01098 0.01098 1.18% StateDataPhysBCFunct::() 41 0.01082 0.01082 0.01082 1.17% MLCellLinOp::defineAuxData() 11 0.01062 0.01062 0.01062 1.14% MLPoisson::Fapply() 1060 0.01043 0.01043 0.01043 1.12% Gravity::fill_multipole_BCs() 11 0.009715 0.009715 0.009715 1.05% FabArray::Xpay() 739 0.007881 0.007881 0.007881 0.85% MLMG::addInterpCorrection() 410 0.007106 0.007106 0.007106 0.77% Amr::checkPoint() 3 0.00702 0.00702 0.00702 0.76% Castro::estTimeStep() 21 0.006431 0.006431 0.006431 0.69% amrex::average_down 410 0.006249 0.006249 0.006249 0.67% Castro::reset_internal_energy(MultiFab) 63 0.005041 0.005041 0.005041 0.54% BndryData::define() 11 0.004077 0.004077 0.004077 0.44% amrex::Add() 82 0.003656 0.003656 0.003656 0.39% Castro::construct_new_gravity_source() 10 0.003613 0.003613 0.003613 0.39% Castro::construct_old_gravity_source() 10 0.002988 0.002988 0.002988 0.32% Castro::enforce_speed_limit() 62 0.002491 0.002491 0.002491 0.27% Amr::writePlotFile() 2 0.00214 0.00214 0.00214 0.23% check_for_negative_density() 10 0.001872 0.001872 0.001872 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001862 0.001862 0.001862 0.20% Castro::reset_internal_energy(Fab) 504 0.001782 0.001782 0.001782 0.19% Castro::initData() 1 0.001687 0.001687 0.001687 0.18% MLCGSolver::bicgstab 82 0.001667 0.001667 0.001667 0.18% MLCellLinOp::setLevelBC() 11 0.001647 0.001647 0.001647 0.18% Gravity::actual_solve_with_mlmg() 11 0.001541 0.001541 0.001541 0.17% FabArray::setDomainBndry() 41 0.0014 0.0014 0.0014 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLCellLinOp::prepareForSolve() 11 0.001344 0.001344 0.001344 0.14% MultiFab::contains_nan() 20 0.001278 0.001278 0.001278 0.14% MLCellLinOp::smooth() 1640 0.001224 0.001224 0.001224 0.13% MLCellLinOp::compGrad() 11 0.001077 0.001077 0.001077 0.12% MLMG::prepareForSolve() 11 0.0009575 0.0009575 0.0009575 0.10% FabArrayBase::getCPC() 1323 0.0008071 0.0008071 0.0008071 0.09% FabArray::FillBoundary() 3941 0.0007683 0.0007683 0.0007683 0.08% FabArrayBase::getFB() 3941 0.0007366 0.0007366 0.0007366 0.08% FabArrayBase::CPC::define() 454 0.0006966 0.0006966 0.0006966 0.08% Gravity::get_new_grav_vector() 11 0.0006087 0.0006087 0.0006087 0.07% Amr::InitAmr() 1 0.000561 0.000561 0.000561 0.06% Gravity::get_old_grav_vector() 10 0.0005022 0.0005022 0.0005022 0.05% MLCellLinOp::apply() 1060 0.000439 0.000439 0.000439 0.05% AmrLevel::FillPatch() 41 0.0004225 0.0004225 0.0004225 0.05% MultiFab::max() 11 0.0003473 0.0003473 0.0003473 0.04% Amr::coarseTimeStep() 10 0.0003219 0.0003219 0.0003219 0.03% MLCGSolver::ParallelAllReduce 1832 0.0003109 0.0003109 0.0003109 0.03% main() 1 0.0002761 0.0002761 0.0002761 0.03% FabArray::ParallelCopy() 861 0.0002605 0.0002605 0.0002605 0.03% MLCellLinOp::defineBC() 11 0.0002564 0.0002564 0.0002564 0.03% FillPatchIterator::Initialize 41 0.0002225 0.0002225 0.0002225 0.02% MLMG::mgVcycle() 82 0.0001983 0.0001983 0.0001983 0.02% Castro::subcycle_advance_ctu() 10 0.000182 0.000182 0.000182 0.02% Castro::create_source_corrector() 10 0.0001792 0.0001792 0.0001792 0.02% MLLinOp::defineGrids() 11 0.0001723 0.0001723 0.0001723 0.02% MLCellLinOp::correctionResidual() 410 0.0001645 0.0001645 0.0001645 0.02% Amr::timeStep() 10 0.0001615 0.0001615 0.0001615 0.02% Castro::advance() 10 0.0001447 0.0001447 0.0001447 0.02% Gravity::update_max_rhs() 11 0.0001418 0.0001418 0.0001418 0.02% Castro::construct_new_source() 50 0.0001352 0.0001352 0.0001352 0.01% StateData::checkPoint() 12 0.0001233 0.0001233 0.0001233 0.01% MLMG:computeResOfCorrection() 410 0.0001161 0.0001161 0.0001161 0.01% Gravity::solve_for_phi() 10 0.0001066 0.0001066 0.0001066 0.01% Castro::Castro() 1 8.877e-05 8.877e-05 8.877e-05 0.01% Castro::initialize_advance() 10 8.743e-05 8.743e-05 8.743e-05 0.01% MLMG::actualBottomSolve() 82 8.55e-05 8.55e-05 8.55e-05 0.01% FabArrayBase::FB::FB() 56 8.259e-05 8.259e-05 8.259e-05 0.01% MLMG::mgVcycle_down::0 82 7.908e-05 7.908e-05 7.908e-05 0.01% MLMG::mgVcycle_down::1 82 7.55e-05 7.55e-05 7.55e-05 0.01% MLMG::mgVcycle_down::2 82 7.212e-05 7.212e-05 7.212e-05 0.01% Castro::clean_state() 62 7.15e-05 7.15e-05 7.15e-05 0.01% MLMG::solve() 11 7.146e-05 7.146e-05 7.146e-05 0.01% Castro::enforce_consistent_e() 1 6.916e-05 6.916e-05 6.916e-05 0.01% MLMG::mgVcycle_down::4 82 6.907e-05 6.907e-05 6.907e-05 0.01% Castro::finalize_advance() 10 6.898e-05 6.898e-05 6.898e-05 0.01% MLMG::mgVcycle_down::3 82 6.665e-05 6.665e-05 6.665e-05 0.01% AmrLevel::checkPoint() 3 6.665e-05 6.665e-05 6.665e-05 0.01% Castro::initialize_do_advance() 10 6.089e-05 6.089e-05 6.089e-05 0.01% MLMG::oneIter() 82 5.993e-05 5.993e-05 5.993e-05 0.01% MLMG::mgVcycle_up::0 82 5.192e-05 5.192e-05 5.192e-05 0.01% MLMG::mgVcycle_up::4 82 5.038e-05 5.038e-05 5.038e-05 0.01% MLCellLinOp::solutionResidual() 93 4.746e-05 4.746e-05 4.746e-05 0.01% Castro::finalize_do_advance() 10 4.742e-05 4.742e-05 4.742e-05 0.01% MLMG::mgVcycle_up::3 82 4.729e-05 4.729e-05 4.729e-05 0.01% Castro::do_advance_ctu() 10 4.631e-05 4.631e-05 4.631e-05 0.00% MLMG::mgVcycle_up::1 82 4.56e-05 4.56e-05 4.56e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.522e-05 4.522e-05 4.522e-05 0.00% MLMG::mgVcycle_up::2 82 4.488e-05 4.488e-05 4.488e-05 0.00% Castro::swap_state_time_levels() 10 3.886e-05 3.886e-05 3.886e-05 0.00% StateData::define() 4 3.841e-05 3.841e-05 3.841e-05 0.00% FillPatchSingleLevel 41 3.76e-05 3.76e-05 3.76e-05 0.00% MLMG::mgVcycle_bottom 82 3.431e-05 3.431e-05 3.431e-05 0.00% Amr::defBaseLevel() 1 3.149e-05 3.149e-05 3.149e-05 0.00% MLMG::computeResidual() 82 3.127e-05 3.127e-05 3.127e-05 0.00% MLMG::ResNormInf() 93 3.011e-05 3.011e-05 3.011e-05 0.00% Amr::writeSmallPlotFile() 1 2.812e-05 2.812e-05 2.812e-05 0.00% Castro::initMFs() 1 2.782e-05 2.782e-05 2.782e-05 0.00% makeSFC 55 2.564e-05 2.564e-05 2.564e-05 0.00% MLPoisson::define() 11 2.543e-05 2.543e-05 2.543e-05 0.00% Castro::buildMetrics() 1 2.482e-05 2.482e-05 2.482e-05 0.00% Castro::construct_new_gravity() 10 2.481e-05 2.481e-05 2.481e-05 0.00% Castro::do_old_sources() 10 2.316e-05 2.316e-05 2.316e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.314e-05 2.314e-05 2.314e-05 0.00% Castro::construct_old_source() 50 2.119e-05 2.119e-05 2.119e-05 0.00% Castro::do_new_sources() 10 1.925e-05 1.925e-05 1.925e-05 0.00% Amr::FinalizeInit() 1 1.812e-05 1.812e-05 1.812e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.783e-05 1.783e-05 1.783e-05 0.00% DistributionMapping::Distribute() 56 1.715e-05 1.715e-05 1.715e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.412e-05 1.412e-05 1.412e-05 0.00% Gravity::actual_multilevel_solve() 1 1.407e-05 1.407e-05 1.407e-05 0.00% Castro::check_for_nan() 20 1.367e-05 1.367e-05 1.367e-05 0.00% Castro::apply_source_to_state() 20 1.235e-05 1.235e-05 1.235e-05 0.00% MLLinOp::define() 11 1.16e-05 1.16e-05 1.16e-05 0.00% Gravity::swapTimeLevels() 10 1.048e-05 1.048e-05 1.048e-05 0.00% Castro::construct_old_gravity() 10 1.035e-05 1.035e-05 1.035e-05 0.00% Amr::initSubcycle() 1 1.017e-05 1.017e-05 1.017e-05 0.00% Castro::computeNewDt() 9 1.016e-05 1.016e-05 1.016e-05 0.00% MLMG::computeMLResidual() 11 1.015e-05 1.015e-05 1.015e-05 0.00% Castro::post_timestep() 10 9.08e-06 9.08e-06 9.08e-06 0.00% AmrLevel::AmrLevel(dm) 1 8.405e-06 8.405e-06 8.405e-06 0.00% MLPoisson::prepareForSolve() 11 6.53e-06 6.53e-06 6.53e-06 0.00% MLMG::getGradSolution() 11 6.336e-06 6.336e-06 6.336e-06 0.00% Amr::InitializeInit() 1 6.246e-06 6.246e-06 6.246e-06 0.00% Castro::expand_state() 10 6.244e-06 6.244e-06 6.244e-06 0.00% AmrLevel::checkPointPost() 3 5.691e-06 5.691e-06 5.691e-06 0.00% Castro::retry_advance_ctu() 10 4.96e-06 4.96e-06 4.96e-06 0.00% Castro::post_init() 1 4.604e-06 4.604e-06 4.604e-06 0.00% Gravity::set_mass_offset() 11 4.232e-06 4.232e-06 4.232e-06 0.00% MLMG::MLRhsNormInf() 11 3.996e-06 3.996e-06 3.996e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.859e-06 3.859e-06 3.859e-06 0.00% MLMG::MLResNormInf() 11 3.483e-06 3.483e-06 3.483e-06 0.00% Castro::FluxRegCrseInit 10 3.24e-06 3.24e-06 3.24e-06 0.00% Amr::init() 1 2.72e-06 2.72e-06 2.72e-06 0.00% Castro::computeInitialDt() 2 2.699e-06 2.699e-06 2.699e-06 0.00% AmrLevel::checkPointPre() 3 2.657e-06 2.657e-06 2.657e-06 0.00% Castro::FluxRegFineAdd() 10 2.081e-06 2.081e-06 2.081e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.064e-06 2.064e-06 2.064e-06 0.00% Castro::post_regrid() 1 1.395e-06 1.395e-06 1.395e-06 0.00% Amr::initialInit() 1 1.085e-06 1.085e-06 1.085e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9284 0.9284 0.9284 100.00% Amr::coarseTimeStep() 10 0.7749 0.7749 0.7749 83.46% Amr::timeStep() 10 0.6717 0.6717 0.6717 72.34% Castro::advance() 10 0.6602 0.6602 0.6602 71.10% Castro::subcycle_advance_ctu() 10 0.6453 0.6453 0.6453 69.50% Castro::do_advance_ctu() 10 0.6451 0.6451 0.6451 69.48% Gravity::solve_phi_with_mlmg() 11 0.2994 0.2994 0.2994 32.25% Castro::construct_ctu_hydro_source() 10 0.2984 0.2984 0.2984 32.14% Gravity::actual_solve_with_mlmg() 11 0.2893 0.2893 0.2893 31.15% Castro::construct_new_gravity() 10 0.2706 0.2706 0.2706 29.15% MLMG::solve() 11 0.2667 0.2667 0.2667 28.72% Gravity::solve_for_phi() 10 0.2543 0.2543 0.2543 27.39% MLMG::oneIter() 82 0.2511 0.2511 0.2511 27.04% MLMG::mgVcycle() 82 0.2473 0.2473 0.2473 26.64% VisMF::Write(FabArray) 11 0.1873 0.1873 0.1873 20.17% Amr::checkPoint() 3 0.1456 0.1456 0.1456 15.68% AmrLevel::checkPoint() 3 0.1385 0.1385 0.1385 14.92% StateData::checkPoint() 12 0.1385 0.1385 0.1385 14.91% Amr::init() 1 0.127 0.127 0.127 13.68% MLCellLinOp::smooth() 1640 0.1238 0.1238 0.1238 13.33% MLCellLinOp::applyBC() 4351 0.1153 0.1153 0.1153 12.41% MLMG::mgVcycle_bottom 82 0.07395 0.07395 0.07395 7.96% MLMG::actualBottomSolve() 82 0.07391 0.07391 0.07391 7.96% MLCGSolver::bicgstab 82 0.07309 0.07309 0.07309 7.87% Castro::clean_state() 62 0.06128 0.06128 0.06128 6.60% Amr::initialInit() 1 0.05461 0.05461 0.05461 5.88% Amr::writePlotFile() 2 0.05165 0.05165 0.05165 5.56% Amr::FinalizeInit() 1 0.04937 0.04937 0.04937 5.32% AmrLevel::FillPatch() 41 0.04826 0.04826 0.04826 5.20% Castro::post_init() 1 0.04792 0.04792 0.04792 5.16% Gravity::multilevel_solve_for_new_phi() 1 0.04552 0.04552 0.04552 4.90% Gravity::actual_multilevel_solve() 1 0.0455 0.0455 0.0455 4.90% FillPatchIterator::Initialize 41 0.04394 0.04394 0.04394 4.73% FillPatchIterator::FillFromLevel0() 41 0.04232 0.04232 0.04232 4.56% FillPatchSingleLevel 41 0.04227 0.04227 0.04227 4.55% StateDataPhysBCFunct::() 41 0.03809 0.03809 0.03809 4.10% MLCellLinOp::apply() 1060 0.03688 0.03688 0.03688 3.97% MLMG::mgVcycle_down::0 82 0.03518 0.03518 0.03518 3.79% MLPoisson::Fsmooth() 3280 0.03382 0.03382 0.03382 3.64% FabArray::FillBoundary() 3941 0.03307 0.03307 0.03307 3.56% FillBoundary_nowait() 3941 0.03231 0.03231 0.03231 3.48% StateData::FillBoundary(geom) 328 0.02727 0.02727 0.02727 2.94% MLMG::mgVcycle_up::0 82 0.02685 0.02685 0.02685 2.89% Castro::computeTemp() 63 0.02483 0.02483 0.02483 2.67% Castro::initialize_do_advance() 10 0.02253 0.02253 0.02253 2.43% amrex::Dot() 1114 0.0218 0.0218 0.0218 2.35% Castro::normalize_species() 62 0.02135 0.02135 0.02135 2.30% Castro::do_old_sources() 10 0.02086 0.02086 0.02086 2.25% MLMG:computeResOfCorrection() 410 0.02063 0.02063 0.02063 2.22% MLCellLinOp::correctionResidual() 410 0.02052 0.02052 0.02052 2.21% FabArray::norminf() 1061 0.02018 0.02018 0.02018 2.17% Gravity::get_new_grav_vector() 11 0.01826 0.01826 0.01826 1.97% MLPoisson::define() 11 0.01777 0.01777 0.01777 1.91% MLMG::mgVcycle_down::1 82 0.01689 0.01689 0.01689 1.82% MLMG::mgVcycle_down::2 82 0.01567 0.01567 0.01567 1.69% Castro::construct_old_gravity() 10 0.01554 0.01554 0.01554 1.67% Gravity::get_old_grav_vector() 10 0.01553 0.01553 0.01553 1.67% MLMG::mgVcycle_down::3 82 0.01531 0.01531 0.01531 1.65% MLMG::mgVcycle_down::4 82 0.01521 0.01521 0.01521 1.64% FabArray::ParallelCopy() 861 0.015 0.015 0.015 1.62% FabArray::ParallelCopy_nowait() 861 0.01474 0.01474 0.01474 1.59% Castro::initialize_advance() 10 0.01412 0.01412 0.01412 1.52% FabArray::setVal() 1062 0.01368 0.01368 0.01368 1.47% Castro::do_new_sources() 10 0.01363 0.01363 0.01363 1.47% Castro::enforce_min_density() 62 0.01341 0.01341 0.01341 1.44% FabArray::Saxpy() 1370 0.01327 0.01327 0.01327 1.43% MLCGSolver::ParallelAllReduce 1832 0.01304 0.01304 0.01304 1.40% MLMG::addInterpCorrection() 410 0.01251 0.01251 0.01251 1.35% MLMG::mgVcycle_up::1 82 0.01223 0.01223 0.01223 1.32% MLMG::mgVcycle_up::4 82 0.01215 0.01215 0.01215 1.31% MLCellLinOp::defineAuxData() 11 0.01212 0.01212 0.01212 1.31% MLMG::mgVcycle_up::2 82 0.01195 0.01195 0.01195 1.29% Castro::expand_state() 10 0.01184 0.01184 0.01184 1.28% MLMG::mgVcycle_up::3 82 0.01175 0.01175 0.01175 1.27% amrex::average_down 410 0.0117 0.0117 0.0117 1.26% Castro::post_timestep() 10 0.01135 0.01135 0.01135 1.22% amrex::Copy() 472 0.01098 0.01098 0.01098 1.18% MLPoisson::Fapply() 1060 0.01043 0.01043 0.01043 1.12% Gravity::fill_multipole_BCs() 11 0.009948 0.009948 0.009948 1.07% FabArray::Xpay() 739 0.007881 0.007881 0.007881 0.85% MLCellLinOp::solutionResidual() 93 0.007853 0.007853 0.007853 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006823 0.006823 0.006823 0.73% MLMG::computeResidual() 82 0.006585 0.006585 0.006585 0.71% Castro::estTimeStep() 21 0.006431 0.006431 0.006431 0.69% MLCellLinOp::defineBC() 11 0.005378 0.005378 0.005378 0.58% MLMG::prepareForSolve() 11 0.005254 0.005254 0.005254 0.57% Amr::InitializeInit() 1 0.005239 0.005239 0.005239 0.56% Amr::defBaseLevel() 1 0.005233 0.005233 0.005233 0.56% BndryData::define() 11 0.005121 0.005121 0.005121 0.55% Castro::initData() 1 0.00455 0.00455 0.00455 0.49% Castro::construct_new_source() 50 0.003749 0.003749 0.003749 0.40% amrex::Add() 82 0.003656 0.003656 0.003656 0.39% Castro::construct_new_gravity_source() 10 0.003613 0.003613 0.003613 0.39% Castro::computeNewDt() 9 0.003031 0.003031 0.003031 0.33% Castro::construct_old_source() 50 0.003009 0.003009 0.003009 0.32% Castro::construct_old_gravity_source() 10 0.002988 0.002988 0.002988 0.32% Castro::enforce_speed_limit() 62 0.002491 0.002491 0.002491 0.27% Castro::finalize_do_advance() 10 0.002464 0.002464 0.002464 0.27% MLMG::ResNormInf() 93 0.002189 0.002189 0.002189 0.24% Castro::apply_source_to_state() 20 0.001878 0.001878 0.001878 0.20% check_for_negative_density() 10 0.001872 0.001872 0.001872 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001862 0.001862 0.001862 0.20% Castro::reset_internal_energy(Fab) 504 0.001782 0.001782 0.001782 0.19% MLCellLinOp::setLevelBC() 11 0.001647 0.001647 0.001647 0.18% MLMG::getGradSolution() 11 0.001605 0.001605 0.001605 0.17% MLCellLinOp::compGrad() 11 0.001599 0.001599 0.001599 0.17% FabArrayBase::getCPC() 1323 0.001504 0.001504 0.001504 0.16% FabArray::setDomainBndry() 41 0.0014 0.0014 0.0014 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLPoisson::prepareForSolve() 11 0.001351 0.001351 0.001351 0.15% MLCellLinOp::prepareForSolve() 11 0.001344 0.001344 0.001344 0.14% MLMG::computeMLResidual() 11 0.001309 0.001309 0.001309 0.14% Castro::check_for_nan() 20 0.001292 0.001292 0.001292 0.14% MultiFab::contains_nan() 20 0.001278 0.001278 0.001278 0.14% Castro::post_regrid() 1 0.001155 0.001155 0.001155 0.12% Gravity::update_max_rhs() 11 0.001046 0.001046 0.001046 0.11% Castro::computeInitialDt() 2 0.0009956 0.0009956 0.0009956 0.11% FabArrayBase::getFB() 3941 0.0008191 0.0008191 0.0008191 0.09% FabArrayBase::CPC::define() 454 0.0006966 0.0006966 0.0006966 0.08% Castro::finalize_advance() 10 0.0006287 0.0006287 0.0006287 0.07% Castro::Castro() 1 0.0006 0.0006 0.0006 0.06% Amr::InitAmr() 1 0.0005712 0.0005712 0.0005712 0.06% Gravity::swapTimeLevels() 10 0.0004945 0.0004945 0.0004945 0.05% MultiFab::max() 11 0.0003473 0.0003473 0.0003473 0.04% MLMG::MLResNormInf() 11 0.0003271 0.0003271 0.0003271 0.04% Castro::buildMetrics() 1 0.0003085 0.0003085 0.0003085 0.03% MLLinOp::define() 11 0.0002418 0.0002418 0.0002418 0.03% MLMG::MLRhsNormInf() 11 0.0002325 0.0002325 0.0002325 0.03% MLLinOp::defineGrids() 11 0.0002302 0.0002302 0.0002302 0.02% Castro::create_source_corrector() 10 0.0001792 0.0001792 0.0001792 0.02% FabArrayBase::FB::FB() 56 8.259e-05 8.259e-05 8.259e-05 0.01% Castro::enforce_consistent_e() 1 6.916e-05 6.916e-05 6.916e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.585e-05 5.585e-05 5.585e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.682e-05 4.682e-05 4.682e-05 0.01% makeSFC 55 4.174e-05 4.174e-05 4.174e-05 0.00% Castro::swap_state_time_levels() 10 3.886e-05 3.886e-05 3.886e-05 0.00% StateData::define() 4 3.841e-05 3.841e-05 3.841e-05 0.00% Amr::writeSmallPlotFile() 1 2.812e-05 2.812e-05 2.812e-05 0.00% Castro::initMFs() 1 2.782e-05 2.782e-05 2.782e-05 0.00% DistributionMapping::Distribute() 56 1.715e-05 1.715e-05 1.715e-05 0.00% Amr::initSubcycle() 1 1.017e-05 1.017e-05 1.017e-05 0.00% AmrLevel::checkPointPost() 3 5.691e-06 5.691e-06 5.691e-06 0.00% Castro::retry_advance_ctu() 10 4.96e-06 4.96e-06 4.96e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.907e-06 4.907e-06 4.907e-06 0.00% Gravity::set_mass_offset() 11 4.232e-06 4.232e-06 4.232e-06 0.00% Castro::FluxRegCrseInit 10 3.24e-06 3.24e-06 3.24e-06 0.00% AmrLevel::checkPointPre() 3 2.657e-06 2.657e-06 2.657e-06 0.00% Castro::FluxRegFineAdd() 10 2.081e-06 2.081e-06 2.081e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.064e-06 2.064e-06 2.064e-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 6591 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 1004 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1553 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3533 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 204 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2170 B 2048 KiB Gravity::solve_for_phi() 80 80 560 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 100 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 3372 B 480 KiB VisMF::Write(FabArray) 656 656 3368 B 320 KiB Castro::normalize_species() 62 62 7493 B 320 KiB amrex::average_down 1067 1067 1593 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1156 B 257 KiB amrex::Dot() 1360 1360 3464 B 160 KiB FabArray::norminf() 1143 1143 3358 B 160 KiB check_for_negative_density() 10 10 324 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3448 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 8702 8702 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3924 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 364 B 1248 B MLCGSolver::bicgstab 410 410 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 525 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 446 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3448 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 4351 4351 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3924 B 6144 B Gravity::get_new_grav_vector() 3 3 2893 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 2928 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [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.04-3-gd78e241d1ad4) finalized Initializing AMReX (24.04-3-gd78e241d1ad4)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.04-3-gd78e241d1ad4) initialized Starting run at 18:59:30 UTC on 2024-04-02. Successfully read inputs file ... Castro git describe: 24.04-1-g670698e55 AMReX git describe: 24.04-3-gd78e241d1 Microphysics git describe: 24.04 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.528030987 Restart time = 0.07270729 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.072315242 [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.080423364 [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.076650465 [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.051646017 [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.055009299 [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.05742262 seconds Ending run at 18:59:30 UTC on 2024-04-02. Run time = 0.467281129 Run time without initialization = 0.393927756 Average number of zones advanced per microsecond: 3.327 Average number of zones advanced per microsecond per rank: 3.327 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4673 ... 0.4673 ... 0.4673 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1397 0.1397 0.1397 29.90% VisMF::Read() 3 0.06159 0.06159 0.06159 13.18% MLCellLinOp::applyBC() 1910 0.03607 0.03607 0.03607 7.72% Amr::writePlotFile() 1 0.03182 0.03182 0.03182 6.81% VisMF::Write(FabArray) 1 0.02543 0.02543 0.02543 5.44% MLPoisson::Fsmooth() 1440 0.01485 0.01485 0.01485 3.18% StateData::FillBoundary(geom) 160 0.01354 0.01354 0.01354 2.90% FillBoundary_nowait() 1730 0.01306 0.01306 0.01306 2.79% Castro::normalize_species() 30 0.01007 0.01007 0.01007 2.16% amrex::Dot() 484 0.009398 0.009398 0.009398 2.01% FabArray::norminf() 465 0.008836 0.008836 0.008836 1.89% Castro::computeTemp() 30 0.007316 0.007316 0.007316 1.57% FabArray::setVal() 501 0.006687 0.006687 0.006687 1.43% Castro::enforce_min_density() 30 0.006477 0.006477 0.006477 1.39% FabArray::ParallelCopy_nowait() 380 0.006317 0.006317 0.006317 1.35% FabArray::Saxpy() 597 0.005937 0.005937 0.005937 1.27% MLCellLinOp::defineAuxData() 6 0.005798 0.005798 0.005798 1.24% amrex::Copy() 221 0.005546 0.005546 0.005546 1.19% Gravity::fill_multipole_BCs() 6 0.00534 0.00534 0.00534 1.14% StateDataPhysBCFunct::() 20 0.004871 0.004871 0.004871 1.04% Amr::restart() 1 0.004734 0.004734 0.004734 1.01% MLPoisson::Fapply() 464 0.004562 0.004562 0.004562 0.98% FabArray::Xpay() 325 0.003521 0.003521 0.003521 0.75% Castro::estTimeStep() 10 0.003178 0.003178 0.003178 0.68% MLMG::addInterpCorrection() 180 0.003175 0.003175 0.003175 0.68% amrex::average_down 180 0.002778 0.002778 0.002778 0.59% BndryData::define() 6 0.002249 0.002249 0.002249 0.48% Castro::reset_internal_energy(MultiFab) 30 0.001942 0.001942 0.001942 0.42% Castro::construct_new_gravity_source() 5 0.001902 0.001902 0.001902 0.41% amrex::Add() 36 0.001559 0.001559 0.001559 0.33% Castro::construct_old_gravity_source() 5 0.001491 0.001491 0.001491 0.32% Castro::enforce_speed_limit() 30 0.001204 0.001204 0.001204 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001019 0.001019 0.001019 0.22% check_for_negative_density() 5 0.0009624 0.0009624 0.0009624 0.21% MLCellLinOp::setLevelBC() 6 0.0008963 0.0008963 0.0008963 0.19% Gravity::actual_solve_with_mlmg() 6 0.000835 0.000835 0.000835 0.18% Castro::reset_internal_energy(Fab) 240 0.0008349 0.0008349 0.0008349 0.18% MLCellLinOp::prepareForSolve() 6 0.0007631 0.0007631 0.0007631 0.16% MLCGSolver::bicgstab 36 0.0007563 0.0007563 0.0007563 0.16% FabArray::mult() 22 0.0007058 0.0007058 0.0007058 0.15% FabArray::setDomainBndry() 20 0.0007038 0.0007038 0.0007038 0.15% MultiFab::contains_nan() 10 0.0006685 0.0006685 0.0006685 0.14% MLCellLinOp::compGrad() 6 0.0006074 0.0006074 0.0006074 0.13% MLCellLinOp::smooth() 720 0.0005666 0.0005666 0.0005666 0.12% MLMG::prepareForSolve() 6 0.0005529 0.0005529 0.0005529 0.12% Amr::InitAmr() 1 0.0004805 0.0004805 0.0004805 0.10% FabArrayBase::CPC::define() 244 0.0004205 0.0004205 0.0004205 0.09% FabArrayBase::getCPC() 632 0.0003862 0.0003862 0.0003862 0.08% Gravity::get_old_grav_vector() 5 0.000348 0.000348 0.000348 0.07% FabArray::FillBoundary() 1730 0.0003367 0.0003367 0.0003367 0.07% Gravity::get_new_grav_vector() 5 0.0002922 0.0002922 0.0002922 0.06% FabArrayBase::getFB() 1730 0.0002696 0.0002696 0.0002696 0.06% main() 1 0.0002643 0.0002643 0.0002643 0.06% MultiFab::max() 6 0.0002124 0.0002124 0.0002124 0.05% AmrLevel::FillPatch() 20 0.0002068 0.0002068 0.0002068 0.04% MLCellLinOp::apply() 464 0.00019 0.00019 0.00019 0.04% Amr::coarseTimeStep() 5 0.0001878 0.0001878 0.0001878 0.04% MLCGSolver::ParallelAllReduce 798 0.0001408 0.0001408 0.0001408 0.03% MLCellLinOp::defineBC() 6 0.0001392 0.0001392 0.0001392 0.03% FabArray::ParallelCopy() 380 0.0001178 0.0001178 0.0001178 0.03% FillPatchIterator::Initialize 20 0.0001097 0.0001097 0.0001097 0.02% Castro::create_source_corrector() 5 0.0001061 0.0001061 0.0001061 0.02% MLLinOp::defineGrids() 6 0.0001013 0.0001013 0.0001013 0.02% MLMG::mgVcycle() 36 9.202e-05 9.202e-05 9.202e-05 0.02% Castro::subcycle_advance_ctu() 5 9.192e-05 9.192e-05 9.192e-05 0.02% Amr::timeStep() 5 8.974e-05 8.974e-05 8.974e-05 0.02% Castro::do_advance_ctu() 5 8.188e-05 8.188e-05 8.188e-05 0.02% Castro::construct_new_source() 25 7.921e-05 7.921e-05 7.921e-05 0.02% MLCellLinOp::correctionResidual() 180 7.49e-05 7.49e-05 7.49e-05 0.02% AmrLevel::restart() 1 7.183e-05 7.183e-05 7.183e-05 0.02% Gravity::update_max_rhs() 6 6.693e-05 6.693e-05 6.693e-05 0.01% Castro::initialize_do_advance() 5 6.526e-05 6.526e-05 6.526e-05 0.01% StateData::restartDoit() 4 6.498e-05 6.498e-05 6.498e-05 0.01% Castro::finalize_do_advance() 5 6.413e-05 6.413e-05 6.413e-05 0.01% FabArrayBase::FB::FB() 26 5.911e-05 5.911e-05 5.911e-05 0.01% Castro::advance() 5 5.385e-05 5.385e-05 5.385e-05 0.01% MLMG:computeResOfCorrection() 180 5.135e-05 5.135e-05 5.135e-05 0.01% Castro::post_timestep() 5 5.116e-05 5.116e-05 5.116e-05 0.01% Gravity::solve_for_phi() 5 5.092e-05 5.092e-05 5.092e-05 0.01% Castro::construct_old_source() 25 4.926e-05 4.926e-05 4.926e-05 0.01% MLMG::actualBottomSolve() 36 4.059e-05 4.059e-05 4.059e-05 0.01% MLMG::mgVcycle_down::0 36 3.704e-05 3.704e-05 3.704e-05 0.01% Castro::initialize_advance() 5 3.693e-05 3.693e-05 3.693e-05 0.01% MLMG::solve() 6 3.577e-05 3.577e-05 3.577e-05 0.01% MLMG::mgVcycle_down::1 36 3.546e-05 3.546e-05 3.546e-05 0.01% MLMG::mgVcycle_down::2 36 3.361e-05 3.361e-05 3.361e-05 0.01% Castro::clean_state() 30 3.357e-05 3.357e-05 3.357e-05 0.01% Amr::writeSmallPlotFile() 1 3.267e-05 3.267e-05 3.267e-05 0.01% Castro::finalize_advance() 5 3.225e-05 3.225e-05 3.225e-05 0.01% MLMG::mgVcycle_down::4 36 3.182e-05 3.182e-05 3.182e-05 0.01% MLMG::mgVcycle_down::3 36 3.119e-05 3.119e-05 3.119e-05 0.01% Castro::do_old_sources() 5 3.084e-05 3.084e-05 3.084e-05 0.01% Castro::buildMetrics() 1 2.823e-05 2.823e-05 2.823e-05 0.01% MLMG::oneIter() 36 2.546e-05 2.546e-05 2.546e-05 0.01% Castro::swap_state_time_levels() 5 2.533e-05 2.533e-05 2.533e-05 0.01% MLMG::mgVcycle_up::4 36 2.514e-05 2.514e-05 2.514e-05 0.01% Castro::initMFs() 1 2.432e-05 2.432e-05 2.432e-05 0.01% MLCellLinOp::solutionResidual() 42 2.211e-05 2.211e-05 2.211e-05 0.00% Castro::post_restart() 1 2.187e-05 2.187e-05 2.187e-05 0.00% MLMG::mgVcycle_up::3 36 2.177e-05 2.177e-05 2.177e-05 0.00% MLMG::mgVcycle_up::0 36 2.169e-05 2.169e-05 2.169e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.095e-05 2.095e-05 2.095e-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.962e-05 1.962e-05 1.962e-05 0.00% MLPoisson::define() 6 1.923e-05 1.923e-05 1.923e-05 0.00% MLMG::ResNormInf() 42 1.682e-05 1.682e-05 1.682e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.658e-05 1.658e-05 1.658e-05 0.00% FillPatchSingleLevel 20 1.654e-05 1.654e-05 1.654e-05 0.00% Gravity::actual_multilevel_solve() 1 1.646e-05 1.646e-05 1.646e-05 0.00% MLMG::mgVcycle_bottom 36 1.639e-05 1.639e-05 1.639e-05 0.00% makeSFC 30 1.404e-05 1.404e-05 1.404e-05 0.00% MLMG::computeResidual() 36 1.381e-05 1.381e-05 1.381e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.321e-05 1.321e-05 1.321e-05 0.00% Castro::construct_new_gravity() 5 1.263e-05 1.263e-05 1.263e-05 0.00% Castro::do_new_sources() 5 1.04e-05 1.04e-05 1.04e-05 0.00% DistributionMapping::Distribute() 31 1.02e-05 1.02e-05 1.02e-05 0.00% Amr::initSubcycle() 1 1.017e-05 1.017e-05 1.017e-05 0.00% MLLinOp::makeAgglomeratedDMap 6 7.598e-06 7.598e-06 7.598e-06 0.00% MLLinOp::define() 6 6.999e-06 6.999e-06 6.999e-06 0.00% Castro::check_for_nan() 10 6.536e-06 6.536e-06 6.536e-06 0.00% Castro::apply_source_to_state() 10 6.41e-06 6.41e-06 6.41e-06 0.00% Castro::construct_old_gravity() 5 6.127e-06 6.127e-06 6.127e-06 0.00% MLMG::computeMLResidual() 6 4.545e-06 4.545e-06 4.545e-06 0.00% Gravity::swapTimeLevels() 5 4.509e-06 4.509e-06 4.509e-06 0.00% Castro::computeNewDt() 5 3.737e-06 3.737e-06 3.737e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.528e-06 3.528e-06 3.528e-06 0.00% MLPoisson::prepareForSolve() 6 3.471e-06 3.471e-06 3.471e-06 0.00% Castro::expand_state() 5 3.432e-06 3.432e-06 3.432e-06 0.00% MLMG::getGradSolution() 6 3.251e-06 3.251e-06 3.251e-06 0.00% MLMG::MLResNormInf() 6 2.584e-06 2.584e-06 2.584e-06 0.00% Castro::retry_advance_ctu() 5 2.385e-06 2.385e-06 2.385e-06 0.00% Gravity::set_mass_offset() 6 2.278e-06 2.278e-06 2.278e-06 0.00% MLMG::MLRhsNormInf() 6 2.112e-06 2.112e-06 2.112e-06 0.00% Castro::FluxRegCrseInit 5 1.816e-06 1.816e-06 1.816e-06 0.00% Castro::FluxRegFineAdd() 5 1.404e-06 1.404e-06 1.404e-06 0.00% Amr::init() 1 1.167e-06 1.167e-06 1.167e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.05e-06 1.05e-06 1.05e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4673 0.4673 0.4673 100.00% Amr::coarseTimeStep() 5 0.3362 0.3362 0.3362 71.95% Amr::timeStep() 5 0.334 0.334 0.334 71.47% Castro::advance() 5 0.3281 0.3281 0.3281 70.21% Castro::subcycle_advance_ctu() 5 0.3205 0.3205 0.3205 68.58% Castro::do_advance_ctu() 5 0.3204 0.3204 0.3204 68.56% Castro::construct_ctu_hydro_source() 5 0.1451 0.1451 0.1451 31.04% Castro::construct_new_gravity() 5 0.1377 0.1377 0.1377 29.47% Gravity::solve_phi_with_mlmg() 6 0.1348 0.1348 0.1348 28.85% Gravity::solve_for_phi() 5 0.1296 0.1296 0.1296 27.72% Gravity::actual_solve_with_mlmg() 6 0.1292 0.1292 0.1292 27.65% MLMG::solve() 6 0.1168 0.1168 0.1168 25.00% MLMG::oneIter() 36 0.109 0.109 0.109 23.33% MLMG::mgVcycle() 36 0.1074 0.1074 0.1074 22.99% Amr::init() 1 0.07275 0.07275 0.07275 15.57% Amr::restart() 1 0.07275 0.07275 0.07275 15.57% AmrLevel::restart() 1 0.06196 0.06196 0.06196 13.26% StateData::restartDoit() 4 0.06188 0.06188 0.06188 13.24% VisMF::Read() 3 0.06159 0.06159 0.06159 13.18% Amr::writePlotFile() 1 0.05753 0.05753 0.05753 12.31% MLCellLinOp::smooth() 720 0.05341 0.05341 0.05341 11.43% MLCellLinOp::applyBC() 1910 0.04979 0.04979 0.04979 10.65% MLMG::mgVcycle_bottom 36 0.03221 0.03221 0.03221 6.89% MLMG::actualBottomSolve() 36 0.0322 0.0322 0.0322 6.89% MLCGSolver::bicgstab 36 0.03182 0.03182 0.03182 6.81% Castro::clean_state() 30 0.02788 0.02788 0.02788 5.97% VisMF::Write(FabArray) 1 0.02543 0.02543 0.02543 5.44% AmrLevel::FillPatch() 20 0.02345 0.02345 0.02345 5.02% FillPatchIterator::Initialize 20 0.02133 0.02133 0.02133 4.56% FillPatchIterator::FillFromLevel0() 20 0.02052 0.02052 0.02052 4.39% FillPatchSingleLevel 20 0.02049 0.02049 0.02049 4.39% StateDataPhysBCFunct::() 20 0.01841 0.01841 0.01841 3.94% MLCellLinOp::apply() 464 0.01626 0.01626 0.01626 3.48% MLMG::mgVcycle_down::0 36 0.01517 0.01517 0.01517 3.25% MLPoisson::Fsmooth() 1440 0.01485 0.01485 0.01485 3.18% FabArray::FillBoundary() 1730 0.01373 0.01373 0.01373 2.94% StateData::FillBoundary(geom) 160 0.01354 0.01354 0.01354 2.90% FillBoundary_nowait() 1730 0.01339 0.01339 0.01339 2.87% Castro::initialize_do_advance() 5 0.01171 0.01171 0.01171 2.51% MLMG::mgVcycle_up::0 36 0.01142 0.01142 0.01142 2.44% Castro::computeTemp() 30 0.01009 0.01009 0.01009 2.16% Castro::normalize_species() 30 0.01007 0.01007 0.01007 2.16% MLPoisson::define() 6 0.009767 0.009767 0.009767 2.09% amrex::Dot() 484 0.009398 0.009398 0.009398 2.01% MLMG:computeResOfCorrection() 180 0.008974 0.008974 0.008974 1.92% Castro::do_old_sources() 5 0.008952 0.008952 0.008952 1.92% MLCellLinOp::correctionResidual() 180 0.008922 0.008922 0.008922 1.91% FabArray::norminf() 465 0.008836 0.008836 0.008836 1.89% Gravity::get_new_grav_vector() 5 0.008047 0.008047 0.008047 1.72% Castro::construct_old_gravity() 5 0.007867 0.007867 0.007867 1.68% Gravity::get_old_grav_vector() 5 0.00786 0.00786 0.00786 1.68% MLMG::mgVcycle_down::1 36 0.007487 0.007487 0.007487 1.60% Castro::initialize_advance() 5 0.007291 0.007291 0.007291 1.56% Castro::do_new_sources() 5 0.007286 0.007286 0.007286 1.56% MLMG::mgVcycle_down::2 36 0.006868 0.006868 0.006868 1.47% FabArray::ParallelCopy() 380 0.006839 0.006839 0.006839 1.46% FabArray::ParallelCopy_nowait() 380 0.006721 0.006721 0.006721 1.44% FabArray::setVal() 501 0.006687 0.006687 0.006687 1.43% MLMG::mgVcycle_down::3 36 0.006662 0.006662 0.006662 1.43% MLCellLinOp::defineAuxData() 6 0.006625 0.006625 0.006625 1.42% MLMG::mgVcycle_down::4 36 0.006601 0.006601 0.006601 1.41% Castro::enforce_min_density() 30 0.006477 0.006477 0.006477 1.39% Castro::expand_state() 5 0.006173 0.006173 0.006173 1.32% FabArray::Saxpy() 597 0.005937 0.005937 0.005937 1.27% Castro::post_restart() 1 0.005878 0.005878 0.005878 1.26% Castro::post_timestep() 5 0.005788 0.005788 0.005788 1.24% MLCGSolver::ParallelAllReduce 798 0.005678 0.005678 0.005678 1.21% MLMG::addInterpCorrection() 180 0.005547 0.005547 0.005547 1.19% amrex::Copy() 221 0.005546 0.005546 0.005546 1.19% Gravity::multilevel_solve_for_new_phi() 1 0.005494 0.005494 0.005494 1.18% Gravity::actual_multilevel_solve() 1 0.005478 0.005478 0.005478 1.17% Gravity::fill_multipole_BCs() 6 0.005467 0.005467 0.005467 1.17% MLMG::mgVcycle_up::1 36 0.005308 0.005308 0.005308 1.14% MLMG::mgVcycle_up::4 36 0.005307 0.005307 0.005307 1.14% MLMG::mgVcycle_up::2 36 0.005208 0.005208 0.005208 1.11% amrex::average_down 180 0.005175 0.005175 0.005175 1.11% MLMG::mgVcycle_up::3 36 0.005105 0.005105 0.005105 1.09% MLPoisson::Fapply() 464 0.004562 0.004562 0.004562 0.98% MLCellLinOp::solutionResidual() 42 0.003709 0.003709 0.003709 0.79% FabArray::Xpay() 325 0.003521 0.003521 0.003521 0.75% Castro::estTimeStep() 10 0.003178 0.003178 0.003178 0.68% MLCellLinOp::defineBC() 6 0.002983 0.002983 0.002983 0.64% MLMG::prepareForSolve() 6 0.002905 0.002905 0.002905 0.62% MLMG::computeResidual() 36 0.002886 0.002886 0.002886 0.62% BndryData::define() 6 0.002844 0.002844 0.002844 0.61% Castro::reset_internal_energy(MultiFab) 30 0.002777 0.002777 0.002777 0.59% Castro::computeNewDt() 5 0.002038 0.002038 0.002038 0.44% Castro::construct_new_source() 25 0.001981 0.001981 0.001981 0.42% Castro::construct_new_gravity_source() 5 0.001902 0.001902 0.001902 0.41% amrex::Add() 36 0.001559 0.001559 0.001559 0.33% Castro::construct_old_source() 25 0.00154 0.00154 0.00154 0.33% Castro::construct_old_gravity_source() 5 0.001491 0.001491 0.001491 0.32% Castro::finalize_do_advance() 5 0.001208 0.001208 0.001208 0.26% Castro::enforce_speed_limit() 30 0.001204 0.001204 0.001204 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001019 0.001019 0.001019 0.22% MLMG::ResNormInf() 42 0.001004 0.001004 0.001004 0.21% Castro::apply_source_to_state() 10 0.000978 0.000978 0.000978 0.21% check_for_negative_density() 5 0.0009624 0.0009624 0.0009624 0.21% MLMG::getGradSolution() 6 0.0009057 0.0009057 0.0009057 0.19% MLCellLinOp::compGrad() 6 0.0009025 0.0009025 0.0009025 0.19% MLCellLinOp::setLevelBC() 6 0.0008963 0.0008963 0.0008963 0.19% MLMG::computeMLResidual() 6 0.0008418 0.0008418 0.0008418 0.18% Castro::reset_internal_energy(Fab) 240 0.0008349 0.0008349 0.0008349 0.18% FabArrayBase::getCPC() 632 0.0008067 0.0008067 0.0008067 0.17% MLPoisson::prepareForSolve() 6 0.0007666 0.0007666 0.0007666 0.16% MLCellLinOp::prepareForSolve() 6 0.0007631 0.0007631 0.0007631 0.16% Gravity::update_max_rhs() 6 0.0007478 0.0007478 0.0007478 0.16% FabArray::mult() 22 0.0007058 0.0007058 0.0007058 0.15% FabArray::setDomainBndry() 20 0.0007038 0.0007038 0.0007038 0.15% Castro::check_for_nan() 10 0.0006751 0.0006751 0.0006751 0.14% MultiFab::contains_nan() 10 0.0006685 0.0006685 0.0006685 0.14% Amr::InitAmr() 1 0.0004906 0.0004906 0.0004906 0.10% FabArrayBase::CPC::define() 244 0.0004205 0.0004205 0.0004205 0.09% FabArrayBase::getFB() 1730 0.0003287 0.0003287 0.0003287 0.07% Castro::finalize_advance() 5 0.0003093 0.0003093 0.0003093 0.07% Gravity::swapTimeLevels() 5 0.0002533 0.0002533 0.0002533 0.05% MultiFab::max() 6 0.0002124 0.0002124 0.0002124 0.05% MLMG::MLResNormInf() 6 0.0001927 0.0001927 0.0001927 0.04% Castro::buildMetrics() 1 0.0001595 0.0001595 0.0001595 0.03% MLLinOp::define() 6 0.0001399 0.0001399 0.0001399 0.03% MLLinOp::defineGrids() 6 0.0001329 0.0001329 0.0001329 0.03% MLMG::MLRhsNormInf() 6 0.0001243 0.0001243 0.0001243 0.03% Castro::create_source_corrector() 5 0.0001061 0.0001061 0.0001061 0.02% FabArrayBase::FB::FB() 26 5.911e-05 5.911e-05 5.911e-05 0.01% Amr::writeSmallPlotFile() 1 3.267e-05 3.267e-05 3.267e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.049e-05 3.049e-05 3.049e-05 0.01% Castro::swap_state_time_levels() 5 2.533e-05 2.533e-05 2.533e-05 0.01% Castro::initMFs() 1 2.432e-05 2.432e-05 2.432e-05 0.01% makeSFC 30 2.289e-05 2.289e-05 2.289e-05 0.00% DistributionMapping::Distribute() 31 1.02e-05 1.02e-05 1.02e-05 0.00% Amr::initSubcycle() 1 1.017e-05 1.017e-05 1.017e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.876e-06 4.876e-06 4.876e-06 0.00% Castro::retry_advance_ctu() 5 2.385e-06 2.385e-06 2.385e-06 0.00% Gravity::set_mass_offset() 6 2.278e-06 2.278e-06 2.278e-06 0.00% Castro::FluxRegCrseInit 5 1.816e-06 1.816e-06 1.816e-06 0.00% Castro::FluxRegFineAdd() 5 1.404e-06 1.404e-06 1.404e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.05e-06 1.05e-06 1.05e-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 15 MiB 9037 MiB Castro::initMFs() 48 48 58 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1000 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1611 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6486 KiB 14 MiB MLMG::prepareForSolve() 361 361 3069 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 174 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6473 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3181 B 2048 KiB Gravity::solve_for_phi() 40 40 566 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 23 KiB 2048 KiB BndryData::define() 576 576 283 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 182 KiB 671 KiB Castro::estTimeStep() 10 10 3178 B 480 KiB VisMF::Write(FabArray) 112 112 1198 B 320 KiB Castro::normalize_species() 30 30 7018 B 320 KiB amrex::average_down 469 469 1337 B 257 KiB MLMG::addInterpCorrection() 468 468 1016 B 257 KiB amrex::Dot() 592 592 2963 B 160 KiB FabArray::norminf() 501 501 2918 B 160 KiB check_for_negative_density() 5 5 330 B 160 KiB MultiFab::max() 6 6 70 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 2973 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 241 B 9648 B MLCellLinOp::applyBC() 3820 3820 192 B 9344 B amrex::Copy() 56 56 5824 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 34 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 318 B 1248 B MLCGSolver::bicgstab 180 180 82 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1100 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 78 KiB 8192 KiB VisMF::Write(FabArray) 120 120 152 KiB 3584 KiB VisMF::Read() 24 24 201 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 2973 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 241 B 9648 B MLCellLinOp::applyBC() 1910 1910 191 B 9328 B amrex::Copy() 56 56 5824 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2549 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 34 B 2640 B MLMG::prepareForSolve() 7 7 783 B 1648 B amrex::average_down 37 37 468 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [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.04-3-gd78e241d1ad4) finalized