Initializing AMReX (v2024-42-g7437aa17d36f)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-42-g7437aa17d36f) initialized Starting run at 07:39:04 UTC on 2024-03-29. Successfully read inputs file ... Castro git describe: 24.03-37-g6b90dd1c0 AMReX git describe: v2024-42-g7437aa17d Microphysics git describe: 24.03-23-g3112c13a 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.044137669 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024312343 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.065309034 [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.067342373 [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.071565103 [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.062286843 [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.055411043 [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.049560448 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.049077401 [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.07471477 [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.073730437 [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.059217621 [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.058137749 [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.042299814 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.023874529 seconds Ending run at 07:39:05 UTC on 2024-03-29. Run time = 0.875876086 Run time without initialization = 0.753206095 Average number of zones advanced per microsecond: 3.480 Average number of zones advanced per microsecond per rank: 3.480 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.8759 ... 0.8759 ... 0.8759 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2625 0.2625 0.2625 29.96% VisMF::Write(FabArray) 11 0.1746 0.1746 0.1746 19.93% MLCellLinOp::applyBC() 4351 0.08035 0.08035 0.08035 9.17% MLPoisson::Fsmooth() 3280 0.03276 0.03276 0.03276 3.74% FillBoundary_nowait() 3941 0.0304 0.0304 0.0304 3.47% StateData::FillBoundary(geom) 328 0.02587 0.02587 0.02587 2.95% amrex::Dot() 1114 0.02089 0.02089 0.02089 2.39% FabArray::norminf() 1061 0.01941 0.01941 0.01941 2.22% Castro::normalize_species() 62 0.01908 0.01908 0.01908 2.18% Castro::computeTemp() 63 0.01535 0.01535 0.01535 1.75% FabArray::ParallelCopy_nowait() 861 0.01348 0.01348 0.01348 1.54% FabArray::setVal() 1062 0.01317 0.01317 0.01317 1.50% FabArray::Saxpy() 1370 0.01282 0.01282 0.01282 1.46% StateDataPhysBCFunct::() 41 0.01244 0.01244 0.01244 1.42% Castro::enforce_min_density() 62 0.01146 0.01146 0.01146 1.31% amrex::Copy() 472 0.01078 0.01078 0.01078 1.23% MLCellLinOp::defineAuxData() 11 0.01003 0.01003 0.01003 1.14% MLPoisson::Fapply() 1060 0.01001 0.01001 0.01001 1.14% Gravity::fill_multipole_BCs() 11 0.009493 0.009493 0.009493 1.08% FabArray::Xpay() 739 0.007668 0.007668 0.007668 0.88% Amr::checkPoint() 3 0.007004 0.007004 0.007004 0.80% MLMG::addInterpCorrection() 410 0.006959 0.006959 0.006959 0.79% Castro::reset_internal_energy(MultiFab) 63 0.006441 0.006441 0.006441 0.74% Castro::estTimeStep() 21 0.006171 0.006171 0.006171 0.70% amrex::average_down 410 0.006089 0.006089 0.006089 0.70% BndryData::define() 11 0.003911 0.003911 0.003911 0.45% amrex::Add() 82 0.003604 0.003604 0.003604 0.41% Castro::construct_new_gravity_source() 10 0.003539 0.003539 0.003539 0.40% Castro::enforce_speed_limit() 62 0.003305 0.003305 0.003305 0.38% Castro::construct_old_gravity_source() 10 0.002989 0.002989 0.002989 0.34% Amr::writePlotFile() 2 0.002203 0.002203 0.002203 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001757 0.001757 0.001757 0.20% check_for_negative_density() 10 0.001636 0.001636 0.001636 0.19% Castro::reset_internal_energy(Fab) 504 0.00158 0.00158 0.00158 0.18% MLCellLinOp::setLevelBC() 11 0.001559 0.001559 0.001559 0.18% MLCGSolver::bicgstab 82 0.001557 0.001557 0.001557 0.18% Gravity::actual_solve_with_mlmg() 11 0.001526 0.001526 0.001526 0.17% Castro::initData() 1 0.001518 0.001518 0.001518 0.17% FabArray::mult() 43 0.00138 0.00138 0.00138 0.16% FabArray::setDomainBndry() 41 0.001329 0.001329 0.001329 0.15% MLCellLinOp::prepareForSolve() 11 0.00131 0.00131 0.00131 0.15% MultiFab::contains_nan() 20 0.00125 0.00125 0.00125 0.14% MLCellLinOp::smooth() 1640 0.001183 0.001183 0.001183 0.14% MLCellLinOp::compGrad() 11 0.001055 0.001055 0.001055 0.12% MLMG::prepareForSolve() 11 0.0009507 0.0009507 0.0009507 0.11% FabArray::FillBoundary() 3941 0.0008173 0.0008173 0.0008173 0.09% FabArrayBase::getCPC() 1323 0.0007882 0.0007882 0.0007882 0.09% FabArrayBase::CPC::define() 454 0.0006674 0.0006674 0.0006674 0.08% FabArrayBase::getFB() 3941 0.000623 0.000623 0.000623 0.07% Gravity::get_new_grav_vector() 11 0.0006061 0.0006061 0.0006061 0.07% Amr::InitAmr() 1 0.0005435 0.0005435 0.0005435 0.06% Gravity::get_old_grav_vector() 10 0.0004883 0.0004883 0.0004883 0.06% MLCellLinOp::apply() 1060 0.0004378 0.0004378 0.0004378 0.05% AmrLevel::FillPatch() 41 0.0004093 0.0004093 0.0004093 0.05% MultiFab::max() 11 0.0003367 0.0003367 0.0003367 0.04% Amr::coarseTimeStep() 10 0.0003283 0.0003283 0.0003283 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003283 0.0003283 0.0003283 0.04% main() 1 0.0002824 0.0002824 0.0002824 0.03% MLCellLinOp::defineBC() 11 0.0002643 0.0002643 0.0002643 0.03% FabArray::ParallelCopy() 861 0.0002588 0.0002588 0.0002588 0.03% FillPatchIterator::Initialize 41 0.0002253 0.0002253 0.0002253 0.03% MLMG::mgVcycle() 82 0.0002024 0.0002024 0.0002024 0.02% Castro::subcycle_advance_ctu() 10 0.0001878 0.0001878 0.0001878 0.02% MLCellLinOp::correctionResidual() 410 0.000174 0.000174 0.000174 0.02% Castro::create_source_corrector() 10 0.0001684 0.0001684 0.0001684 0.02% MLLinOp::defineGrids() 11 0.0001666 0.0001666 0.0001666 0.02% Amr::timeStep() 10 0.0001581 0.0001581 0.0001581 0.02% Gravity::update_max_rhs() 11 0.0001414 0.0001414 0.0001414 0.02% Castro::advance() 10 0.0001358 0.0001358 0.0001358 0.02% StateData::checkPoint() 12 0.000131 0.000131 0.000131 0.01% MLMG:computeResOfCorrection() 410 0.0001249 0.0001249 0.0001249 0.01% Gravity::solve_for_phi() 10 0.0001081 0.0001081 0.0001081 0.01% Castro::Castro() 1 9.432e-05 9.432e-05 9.432e-05 0.01% FabArrayBase::FB::FB() 56 8.91e-05 8.91e-05 8.91e-05 0.01% Castro::initialize_advance() 10 8.655e-05 8.655e-05 8.655e-05 0.01% MLMG::actualBottomSolve() 82 8.3e-05 8.3e-05 8.3e-05 0.01% Castro::construct_new_source() 50 8.088e-05 8.088e-05 8.088e-05 0.01% MLMG::mgVcycle_down::0 82 7.811e-05 7.811e-05 7.811e-05 0.01% MLMG::solve() 11 7.463e-05 7.463e-05 7.463e-05 0.01% MLMG::mgVcycle_down::1 82 6.997e-05 6.997e-05 6.997e-05 0.01% MLMG::mgVcycle_down::2 82 6.945e-05 6.945e-05 6.945e-05 0.01% Castro::clean_state() 62 6.883e-05 6.883e-05 6.883e-05 0.01% MLMG::mgVcycle_down::3 82 6.878e-05 6.878e-05 6.878e-05 0.01% Castro::enforce_consistent_e() 1 6.713e-05 6.713e-05 6.713e-05 0.01% MLMG::mgVcycle_down::4 82 6.689e-05 6.689e-05 6.689e-05 0.01% Castro::initialize_do_advance() 10 6.352e-05 6.352e-05 6.352e-05 0.01% MLMG::mgVcycle_up::4 82 6.318e-05 6.318e-05 6.318e-05 0.01% AmrLevel::checkPoint() 3 6.195e-05 6.195e-05 6.195e-05 0.01% Castro::finalize_advance() 10 6.059e-05 6.059e-05 6.059e-05 0.01% MLMG::oneIter() 82 5.282e-05 5.282e-05 5.282e-05 0.01% MLMG::mgVcycle_up::0 82 5.209e-05 5.209e-05 5.209e-05 0.01% MLMG::mgVcycle_up::3 82 4.993e-05 4.993e-05 4.993e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.94e-05 4.94e-05 4.94e-05 0.01% Castro::do_advance_ctu() 10 4.743e-05 4.743e-05 4.743e-05 0.01% Castro::do_new_sources() 10 4.704e-05 4.704e-05 4.704e-05 0.01% MLMG::mgVcycle_up::1 82 4.67e-05 4.67e-05 4.67e-05 0.01% MLMG::mgVcycle_up::2 82 4.663e-05 4.663e-05 4.663e-05 0.01% MLCellLinOp::solutionResidual() 93 4.563e-05 4.563e-05 4.563e-05 0.01% Castro::finalize_do_advance() 10 4.388e-05 4.388e-05 4.388e-05 0.01% Castro::post_timestep() 10 3.865e-05 3.865e-05 3.865e-05 0.00% Amr::defBaseLevel() 1 3.721e-05 3.721e-05 3.721e-05 0.00% StateData::define() 4 3.701e-05 3.701e-05 3.701e-05 0.00% Castro::swap_state_time_levels() 10 3.698e-05 3.698e-05 3.698e-05 0.00% MLMG::mgVcycle_bottom 82 3.67e-05 3.67e-05 3.67e-05 0.00% Amr::writeSmallPlotFile() 1 3.578e-05 3.578e-05 3.578e-05 0.00% FillPatchSingleLevel 41 3.322e-05 3.322e-05 3.322e-05 0.00% MLMG::computeResidual() 82 3.16e-05 3.16e-05 3.16e-05 0.00% Castro::initMFs() 1 2.971e-05 2.971e-05 2.971e-05 0.00% MLMG::ResNormInf() 93 2.931e-05 2.931e-05 2.931e-05 0.00% Castro::buildMetrics() 1 2.758e-05 2.758e-05 2.758e-05 0.00% Castro::construct_new_gravity() 10 2.62e-05 2.62e-05 2.62e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.548e-05 2.548e-05 2.548e-05 0.00% makeSFC 55 2.515e-05 2.515e-05 2.515e-05 0.00% Castro::do_old_sources() 10 2.398e-05 2.398e-05 2.398e-05 0.00% MLPoisson::define() 11 2.09e-05 2.09e-05 2.09e-05 0.00% Amr::FinalizeInit() 1 2.005e-05 2.005e-05 2.005e-05 0.00% Castro::construct_old_source() 50 1.969e-05 1.969e-05 1.969e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.888e-05 1.888e-05 1.888e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.803e-05 1.803e-05 1.803e-05 0.00% DistributionMapping::Distribute() 56 1.635e-05 1.635e-05 1.635e-05 0.00% MLLinOp::define() 11 1.615e-05 1.615e-05 1.615e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.464e-05 1.464e-05 1.464e-05 0.00% Castro::apply_source_to_state() 20 1.197e-05 1.197e-05 1.197e-05 0.00% Castro::check_for_nan() 20 1.108e-05 1.108e-05 1.108e-05 0.00% Castro::construct_old_gravity() 10 1.011e-05 1.011e-05 1.011e-05 0.00% MLMG::computeMLResidual() 11 9.913e-06 9.913e-06 9.913e-06 0.00% Amr::initSubcycle() 1 9.84e-06 9.84e-06 9.84e-06 0.00% Gravity::swapTimeLevels() 10 9.82e-06 9.82e-06 9.82e-06 0.00% Castro::post_init() 1 9.415e-06 9.415e-06 9.415e-06 0.00% AmrLevel::checkPointPost() 3 9.251e-06 9.251e-06 9.251e-06 0.00% Castro::computeNewDt() 9 9.055e-06 9.055e-06 9.055e-06 0.00% Gravity::actual_multilevel_solve() 1 8.379e-06 8.379e-06 8.379e-06 0.00% Amr::InitializeInit() 1 8.097e-06 8.097e-06 8.097e-06 0.00% MLPoisson::prepareForSolve() 11 7.702e-06 7.702e-06 7.702e-06 0.00% MLMG::getGradSolution() 11 6.097e-06 6.097e-06 6.097e-06 0.00% Castro::expand_state() 10 6.02e-06 6.02e-06 6.02e-06 0.00% Castro::retry_advance_ctu() 10 4.833e-06 4.833e-06 4.833e-06 0.00% Gravity::set_mass_offset() 11 4.098e-06 4.098e-06 4.098e-06 0.00% MLMG::MLRhsNormInf() 11 3.976e-06 3.976e-06 3.976e-06 0.00% MLMG::MLResNormInf() 11 3.926e-06 3.926e-06 3.926e-06 0.00% Castro::FluxRegCrseInit 10 3.137e-06 3.137e-06 3.137e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.815e-06 2.815e-06 2.815e-06 0.00% Castro::computeInitialDt() 2 2.664e-06 2.664e-06 2.664e-06 0.00% Amr::init() 1 2.554e-06 2.554e-06 2.554e-06 0.00% AmrLevel::checkPointPre() 3 2.458e-06 2.458e-06 2.458e-06 0.00% Castro::FluxRegFineAdd() 10 2.313e-06 2.313e-06 2.313e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.926e-06 1.926e-06 1.926e-06 0.00% Castro::post_regrid() 1 1.515e-06 1.515e-06 1.515e-06 0.00% Amr::initialInit() 1 1.276e-06 1.276e-06 1.276e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8759 0.8759 0.8759 100.00% Amr::coarseTimeStep() 10 0.7291 0.7291 0.7291 83.24% Amr::timeStep() 10 0.6331 0.6331 0.6331 72.28% Castro::advance() 10 0.6218 0.6218 0.6218 70.99% Castro::subcycle_advance_ctu() 10 0.6079 0.6079 0.6079 69.40% Castro::do_advance_ctu() 10 0.6077 0.6077 0.6077 69.38% Gravity::solve_phi_with_mlmg() 11 0.2901 0.2901 0.2901 33.12% Gravity::actual_solve_with_mlmg() 11 0.2801 0.2801 0.2801 31.98% Castro::construct_ctu_hydro_source() 10 0.2732 0.2732 0.2732 31.19% Castro::construct_new_gravity() 10 0.2619 0.2619 0.2619 29.90% MLMG::solve() 11 0.2586 0.2586 0.2586 29.52% Gravity::solve_for_phi() 10 0.2459 0.2459 0.2459 28.07% MLMG::oneIter() 82 0.2435 0.2435 0.2435 27.80% MLMG::mgVcycle() 82 0.2398 0.2398 0.2398 27.38% VisMF::Write(FabArray) 11 0.1746 0.1746 0.1746 19.93% Amr::checkPoint() 3 0.1362 0.1362 0.1362 15.55% AmrLevel::checkPoint() 3 0.1291 0.1291 0.1291 14.74% StateData::checkPoint() 12 0.1291 0.1291 0.1291 14.74% Amr::init() 1 0.122 0.122 0.122 13.93% MLCellLinOp::smooth() 1640 0.1204 0.1204 0.1204 13.75% MLCellLinOp::applyBC() 4351 0.1123 0.1123 0.1123 12.82% MLMG::mgVcycle_bottom 82 0.07107 0.07107 0.07107 8.11% MLMG::actualBottomSolve() 82 0.07104 0.07104 0.07104 8.11% MLCGSolver::bicgstab 82 0.07025 0.07025 0.07025 8.02% Castro::clean_state() 62 0.05633 0.05633 0.05633 6.43% Amr::initialInit() 1 0.0534 0.0534 0.0534 6.10% Amr::FinalizeInit() 1 0.04837 0.04837 0.04837 5.52% Amr::writePlotFile() 2 0.04834 0.04834 0.04834 5.52% AmrLevel::FillPatch() 41 0.04828 0.04828 0.04828 5.51% Castro::post_init() 1 0.04695 0.04695 0.04695 5.36% Gravity::multilevel_solve_for_new_phi() 1 0.0446 0.0446 0.0446 5.09% Gravity::actual_multilevel_solve() 1 0.04458 0.04458 0.04458 5.09% FillPatchIterator::Initialize 41 0.044 0.044 0.044 5.02% FillPatchIterator::FillFromLevel0() 41 0.04245 0.04245 0.04245 4.85% FillPatchSingleLevel 41 0.0424 0.0424 0.0424 4.84% StateDataPhysBCFunct::() 41 0.03832 0.03832 0.03832 4.37% MLCellLinOp::apply() 1060 0.03576 0.03576 0.03576 4.08% MLMG::mgVcycle_down::0 82 0.03439 0.03439 0.03439 3.93% MLPoisson::Fsmooth() 3280 0.03276 0.03276 0.03276 3.74% FabArray::FillBoundary() 3941 0.03193 0.03193 0.03193 3.65% FillBoundary_nowait() 3941 0.03111 0.03111 0.03111 3.55% MLMG::mgVcycle_up::0 82 0.02606 0.02606 0.02606 2.98% StateData::FillBoundary(geom) 328 0.02587 0.02587 0.02587 2.95% Castro::computeTemp() 63 0.02337 0.02337 0.02337 2.67% Castro::initialize_do_advance() 10 0.02244 0.02244 0.02244 2.56% amrex::Dot() 1114 0.02089 0.02089 0.02089 2.39% MLMG:computeResOfCorrection() 410 0.02018 0.02018 0.02018 2.30% MLCellLinOp::correctionResidual() 410 0.02005 0.02005 0.02005 2.29% FabArray::norminf() 1061 0.01941 0.01941 0.01941 2.22% Castro::normalize_species() 62 0.01908 0.01908 0.01908 2.18% Castro::do_old_sources() 10 0.01902 0.01902 0.01902 2.17% Gravity::get_new_grav_vector() 11 0.01789 0.01789 0.01789 2.04% MLPoisson::define() 11 0.01686 0.01686 0.01686 1.93% MLMG::mgVcycle_down::1 82 0.01635 0.01635 0.01635 1.87% MLMG::mgVcycle_down::2 82 0.01525 0.01525 0.01525 1.74% Castro::construct_old_gravity() 10 0.01512 0.01512 0.01512 1.73% Gravity::get_old_grav_vector() 10 0.01511 0.01511 0.01511 1.73% MLMG::mgVcycle_down::3 82 0.01486 0.01486 0.01486 1.70% MLMG::mgVcycle_down::4 82 0.01481 0.01481 0.01481 1.69% FabArray::ParallelCopy() 861 0.01455 0.01455 0.01455 1.66% FabArray::ParallelCopy_nowait() 861 0.01429 0.01429 0.01429 1.63% FabArray::setVal() 1062 0.01317 0.01317 0.01317 1.50% Castro::initialize_advance() 10 0.01317 0.01317 0.01317 1.50% FabArray::Saxpy() 1370 0.01282 0.01282 0.01282 1.46% Castro::do_new_sources() 10 0.01278 0.01278 0.01278 1.46% MLCGSolver::ParallelAllReduce 1832 0.01254 0.01254 0.01254 1.43% Castro::expand_state() 10 0.01232 0.01232 0.01232 1.41% MLMG::addInterpCorrection() 410 0.01221 0.01221 0.01221 1.39% MLMG::mgVcycle_up::1 82 0.01187 0.01187 0.01187 1.36% MLMG::mgVcycle_up::4 82 0.01186 0.01186 0.01186 1.35% MLMG::mgVcycle_up::2 82 0.01163 0.01163 0.01163 1.33% Castro::enforce_min_density() 62 0.01146 0.01146 0.01146 1.31% MLMG::mgVcycle_up::3 82 0.01145 0.01145 0.01145 1.31% MLCellLinOp::defineAuxData() 11 0.01144 0.01144 0.01144 1.31% amrex::average_down 410 0.01134 0.01134 0.01134 1.29% Castro::post_timestep() 10 0.01115 0.01115 0.01115 1.27% amrex::Copy() 472 0.01078 0.01078 0.01078 1.23% MLPoisson::Fapply() 1060 0.01001 0.01001 0.01001 1.14% Gravity::fill_multipole_BCs() 11 0.009736 0.009736 0.009736 1.11% Castro::reset_internal_energy(MultiFab) 63 0.00802 0.00802 0.00802 0.92% FabArray::Xpay() 739 0.007668 0.007668 0.007668 0.88% MLCellLinOp::solutionResidual() 93 0.007583 0.007583 0.007583 0.87% MLMG::computeResidual() 82 0.006363 0.006363 0.006363 0.73% Castro::estTimeStep() 21 0.006171 0.006171 0.006171 0.70% MLCellLinOp::defineBC() 11 0.005163 0.005163 0.005163 0.59% MLMG::prepareForSolve() 11 0.005051 0.005051 0.005051 0.58% Amr::InitializeInit() 1 0.005032 0.005032 0.005032 0.57% Amr::defBaseLevel() 1 0.005023 0.005023 0.005023 0.57% BndryData::define() 11 0.004899 0.004899 0.004899 0.56% Castro::initData() 1 0.00437 0.00437 0.00437 0.50% Castro::construct_new_source() 50 0.00362 0.00362 0.00362 0.41% amrex::Add() 82 0.003604 0.003604 0.003604 0.41% Castro::construct_new_gravity_source() 10 0.003539 0.003539 0.003539 0.40% Castro::enforce_speed_limit() 62 0.003305 0.003305 0.003305 0.38% Castro::construct_old_source() 50 0.003009 0.003009 0.003009 0.34% Castro::construct_old_gravity_source() 10 0.002989 0.002989 0.002989 0.34% Castro::computeNewDt() 9 0.002967 0.002967 0.002967 0.34% Castro::finalize_do_advance() 10 0.002265 0.002265 0.002265 0.26% MLMG::ResNormInf() 93 0.002142 0.002142 0.002142 0.24% Castro::apply_source_to_state() 20 0.001868 0.001868 0.001868 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001757 0.001757 0.001757 0.20% check_for_negative_density() 10 0.001636 0.001636 0.001636 0.19% Castro::reset_internal_energy(Fab) 504 0.00158 0.00158 0.00158 0.18% MLMG::getGradSolution() 11 0.001565 0.001565 0.001565 0.18% MLCellLinOp::setLevelBC() 11 0.001559 0.001559 0.001559 0.18% MLCellLinOp::compGrad() 11 0.001559 0.001559 0.001559 0.18% FabArrayBase::getCPC() 1323 0.001456 0.001456 0.001456 0.17% FabArray::mult() 43 0.00138 0.00138 0.00138 0.16% FabArray::setDomainBndry() 41 0.001329 0.001329 0.001329 0.15% MLPoisson::prepareForSolve() 11 0.001317 0.001317 0.001317 0.15% MLCellLinOp::prepareForSolve() 11 0.00131 0.00131 0.00131 0.15% MLMG::computeMLResidual() 11 0.001262 0.001262 0.001262 0.14% Castro::check_for_nan() 20 0.001261 0.001261 0.001261 0.14% MultiFab::contains_nan() 20 0.00125 0.00125 0.00125 0.14% Castro::post_regrid() 1 0.001131 0.001131 0.001131 0.13% Gravity::update_max_rhs() 11 0.001027 0.001027 0.001027 0.12% Castro::computeInitialDt() 2 0.0009942 0.0009942 0.0009942 0.11% FabArrayBase::getFB() 3941 0.0007121 0.0007121 0.0007121 0.08% FabArrayBase::CPC::define() 454 0.0006674 0.0006674 0.0006674 0.08% Castro::finalize_advance() 10 0.0006025 0.0006025 0.0006025 0.07% Castro::Castro() 1 0.0005566 0.0005566 0.0005566 0.06% Amr::InitAmr() 1 0.0005534 0.0005534 0.0005534 0.06% Gravity::swapTimeLevels() 10 0.0004751 0.0004751 0.0004751 0.05% MultiFab::max() 11 0.0003367 0.0003367 0.0003367 0.04% MLMG::MLResNormInf() 11 0.0003243 0.0003243 0.0003243 0.04% Castro::buildMetrics() 1 0.0002626 0.0002626 0.0002626 0.03% MLLinOp::define() 11 0.0002394 0.0002394 0.0002394 0.03% MLMG::MLRhsNormInf() 11 0.000227 0.000227 0.000227 0.03% MLLinOp::defineGrids() 11 0.0002233 0.0002233 0.0002233 0.03% Castro::create_source_corrector() 10 0.0001684 0.0001684 0.0001684 0.02% FabArrayBase::FB::FB() 56 8.91e-05 8.91e-05 8.91e-05 0.01% Castro::enforce_consistent_e() 1 6.713e-05 6.713e-05 6.713e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.504e-05 5.504e-05 5.504e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.478e-05 5.478e-05 5.478e-05 0.01% makeSFC 55 4.014e-05 4.014e-05 4.014e-05 0.00% StateData::define() 4 3.701e-05 3.701e-05 3.701e-05 0.00% Castro::swap_state_time_levels() 10 3.698e-05 3.698e-05 3.698e-05 0.00% Amr::writeSmallPlotFile() 1 3.578e-05 3.578e-05 3.578e-05 0.00% Castro::initMFs() 1 2.971e-05 2.971e-05 2.971e-05 0.00% DistributionMapping::Distribute() 56 1.635e-05 1.635e-05 1.635e-05 0.00% Amr::initSubcycle() 1 9.84e-06 9.84e-06 9.84e-06 0.00% AmrLevel::checkPointPost() 3 9.251e-06 9.251e-06 9.251e-06 0.00% Castro::retry_advance_ctu() 10 4.833e-06 4.833e-06 4.833e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.168e-06 4.168e-06 4.168e-06 0.00% Gravity::set_mass_offset() 11 4.098e-06 4.098e-06 4.098e-06 0.00% Castro::FluxRegCrseInit 10 3.137e-06 3.137e-06 3.137e-06 0.00% AmrLevel::checkPointPre() 3 2.458e-06 2.458e-06 2.458e-06 0.00% Castro::FluxRegFineAdd() 10 2.313e-06 2.313e-06 2.313e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.926e-06 1.926e-06 1.926e-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 6100 KiB 9037 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1085 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1536 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3631 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 212 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 176 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2256 B 2048 KiB Gravity::solve_for_phi() 80 80 574 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 104 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 3431 B 480 KiB VisMF::Write(FabArray) 656 656 3474 B 320 KiB Castro::normalize_species() 62 62 7095 B 320 KiB amrex::average_down 1067 1067 1621 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1196 B 257 KiB amrex::Dot() 1360 1360 3511 B 160 KiB FabArray::norminf() 1143 1143 3408 B 160 KiB check_for_negative_density() 10 10 299 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 59 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3545 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 303 B 9648 B MLCellLinOp::applyBC() 8702 8702 227 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B StateData::FillBoundary(geom) 1992 1992 49 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 374 B 1248 B MLCGSolver::bicgstab 410 410 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 605 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 431 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3545 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 303 B 9648 B MLCellLinOp::applyBC() 4351 4351 226 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3925 B 6144 B Gravity::get_new_grav_vector() 3 3 2886 B 3072 B StateData::FillBoundary(geom) 1992 1992 50 B 3024 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 302 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 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 (v2024-42-g7437aa17d36f) finalized Initializing AMReX (v2024-42-g7437aa17d36f)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-42-g7437aa17d36f) initialized Starting run at 07:39:05 UTC on 2024-03-29. Successfully read inputs file ... Castro git describe: 24.03-37-g6b90dd1c0 AMReX git describe: v2024-42-g7437aa17d Microphysics git describe: 24.03-23-g3112c13a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.494185665 Restart time = 0.071167273 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.067489816 [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.048091313 [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.065875929 [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.071677977 [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.07025257 [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.026870823 seconds Ending run at 07:39:06 UTC on 2024-03-29. Run time = 0.422489144 Run time without initialization = 0.350683593 Average number of zones advanced per microsecond: 3.738 Average number of zones advanced per microsecond per rank: 3.738 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4225 ... 0.4225 ... 0.4225 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1345 0.1345 0.1345 31.84% VisMF::Read() 3 0.05996 0.05996 0.05996 14.19% MLCellLinOp::applyBC() 1910 0.03502 0.03502 0.03502 8.29% VisMF::Write(FabArray) 1 0.0242 0.0242 0.0242 5.73% MLPoisson::Fsmooth() 1440 0.01442 0.01442 0.01442 3.41% FillBoundary_nowait() 1730 0.0135 0.0135 0.0135 3.19% StateData::FillBoundary(geom) 160 0.01262 0.01262 0.01262 2.99% amrex::Dot() 484 0.008946 0.008946 0.008946 2.12% Castro::normalize_species() 30 0.008507 0.008507 0.008507 2.01% FabArray::norminf() 465 0.008473 0.008473 0.008473 2.01% Castro::computeTemp() 30 0.006692 0.006692 0.006692 1.58% FabArray::setVal() 501 0.006449 0.006449 0.006449 1.53% FabArray::ParallelCopy_nowait() 380 0.006035 0.006035 0.006035 1.43% FabArray::Saxpy() 597 0.005721 0.005721 0.005721 1.35% amrex::Copy() 221 0.005439 0.005439 0.005439 1.29% MLCellLinOp::defineAuxData() 6 0.005391 0.005391 0.005391 1.28% Castro::enforce_min_density() 30 0.00518 0.00518 0.00518 1.23% Gravity::fill_multipole_BCs() 6 0.005041 0.005041 0.005041 1.19% Amr::restart() 1 0.004939 0.004939 0.004939 1.17% StateDataPhysBCFunct::() 20 0.004526 0.004526 0.004526 1.07% MLPoisson::Fapply() 464 0.00439 0.00439 0.00439 1.04% Castro::estTimeStep() 10 0.003939 0.003939 0.003939 0.93% FabArray::Xpay() 325 0.003398 0.003398 0.003398 0.80% MLMG::addInterpCorrection() 180 0.00308 0.00308 0.00308 0.73% amrex::average_down 180 0.002678 0.002678 0.002678 0.63% Amr::writePlotFile() 1 0.002518 0.002518 0.002518 0.60% BndryData::define() 6 0.002117 0.002117 0.002117 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002113 0.002113 0.002113 0.50% Castro::construct_new_gravity_source() 5 0.001851 0.001851 0.001851 0.44% Castro::subcycle_advance_ctu() 5 0.001817 0.001817 0.001817 0.43% amrex::Add() 36 0.001544 0.001544 0.001544 0.37% Castro::construct_old_gravity_source() 5 0.001446 0.001446 0.001446 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009502 0.0009502 0.0009502 0.22% check_for_negative_density() 5 0.000871 0.000871 0.000871 0.21% MLCellLinOp::setLevelBC() 6 0.0008517 0.0008517 0.0008517 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008312 0.0008312 0.0008312 0.20% Castro::reset_internal_energy(Fab) 240 0.0007896 0.0007896 0.0007896 0.19% MLCellLinOp::prepareForSolve() 6 0.0007266 0.0007266 0.0007266 0.17% FabArray::mult() 22 0.0006944 0.0006944 0.0006944 0.16% FabArray::setDomainBndry() 20 0.0006901 0.0006901 0.0006901 0.16% MLCGSolver::bicgstab 36 0.0006812 0.0006812 0.0006812 0.16% MultiFab::contains_nan() 10 0.0006521 0.0006521 0.0006521 0.15% MLCellLinOp::compGrad() 6 0.000602 0.000602 0.000602 0.14% MLMG::prepareForSolve() 6 0.000553 0.000553 0.000553 0.13% MLCellLinOp::smooth() 720 0.0005081 0.0005081 0.0005081 0.12% Castro::enforce_speed_limit() 30 0.0004858 0.0004858 0.0004858 0.11% Amr::InitAmr() 1 0.0004591 0.0004591 0.0004591 0.11% FabArrayBase::CPC::define() 244 0.0004295 0.0004295 0.0004295 0.10% FabArrayBase::getCPC() 632 0.0003712 0.0003712 0.0003712 0.09% FabArray::FillBoundary() 1730 0.0003461 0.0003461 0.0003461 0.08% Gravity::get_old_grav_vector() 5 0.0002899 0.0002899 0.0002899 0.07% FabArrayBase::getFB() 1730 0.0002633 0.0002633 0.0002633 0.06% main() 1 0.0002594 0.0002594 0.0002594 0.06% Gravity::get_new_grav_vector() 5 0.0002329 0.0002329 0.0002329 0.06% MultiFab::max() 6 0.0002144 0.0002144 0.0002144 0.05% AmrLevel::FillPatch() 20 0.0001988 0.0001988 0.0001988 0.05% MLCellLinOp::apply() 464 0.0001899 0.0001899 0.0001899 0.04% Amr::coarseTimeStep() 5 0.0001583 0.0001583 0.0001583 0.04% MLCGSolver::ParallelAllReduce 798 0.0001467 0.0001467 0.0001467 0.03% MLCellLinOp::defineBC() 6 0.0001422 0.0001422 0.0001422 0.03% FabArray::ParallelCopy() 380 0.0001121 0.0001121 0.0001121 0.03% Castro::construct_new_source() 25 0.0001116 0.0001116 0.0001116 0.03% FillPatchIterator::Initialize 20 0.0001093 0.0001093 0.0001093 0.03% Castro::finalize_do_advance() 5 0.0001081 0.0001081 0.0001081 0.03% Amr::timeStep() 5 0.0001015 0.0001015 0.0001015 0.02% MLLinOp::defineGrids() 6 0.0001006 0.0001006 0.0001006 0.02% Castro::do_new_sources() 5 9.352e-05 9.352e-05 9.352e-05 0.02% Castro::create_source_corrector() 5 9.22e-05 9.22e-05 9.22e-05 0.02% MLMG::mgVcycle() 36 8.774e-05 8.774e-05 8.774e-05 0.02% MLCellLinOp::correctionResidual() 180 7.411e-05 7.411e-05 7.411e-05 0.02% StateData::restartDoit() 4 6.814e-05 6.814e-05 6.814e-05 0.02% AmrLevel::restart() 1 6.799e-05 6.799e-05 6.799e-05 0.02% Gravity::update_max_rhs() 6 6.61e-05 6.61e-05 6.61e-05 0.02% Castro::post_timestep() 5 6.515e-05 6.515e-05 6.515e-05 0.02% FabArrayBase::FB::FB() 26 5.94e-05 5.94e-05 5.94e-05 0.01% Castro::advance() 5 5.782e-05 5.782e-05 5.782e-05 0.01% Gravity::solve_for_phi() 5 5.301e-05 5.301e-05 5.301e-05 0.01% MLMG:computeResOfCorrection() 180 5.209e-05 5.209e-05 5.209e-05 0.01% Castro::finalize_advance() 5 4.172e-05 4.172e-05 4.172e-05 0.01% MLMG::actualBottomSolve() 36 3.821e-05 3.821e-05 3.821e-05 0.01% Castro::initialize_advance() 5 3.72e-05 3.72e-05 3.72e-05 0.01% Castro::clean_state() 30 3.336e-05 3.336e-05 3.336e-05 0.01% MLMG::mgVcycle_down::0 36 3.269e-05 3.269e-05 3.269e-05 0.01% MLMG::solve() 6 3.142e-05 3.142e-05 3.142e-05 0.01% Castro::initMFs() 1 3.138e-05 3.138e-05 3.138e-05 0.01% Amr::writeSmallPlotFile() 1 3.099e-05 3.099e-05 3.099e-05 0.01% MLMG::mgVcycle_down::1 36 3.057e-05 3.057e-05 3.057e-05 0.01% Castro::initialize_do_advance() 5 2.978e-05 2.978e-05 2.978e-05 0.01% Castro::buildMetrics() 1 2.922e-05 2.922e-05 2.922e-05 0.01% MLMG::mgVcycle_down::2 36 2.821e-05 2.821e-05 2.821e-05 0.01% Castro::post_restart() 1 2.693e-05 2.693e-05 2.693e-05 0.01% MLMG::mgVcycle_down::4 36 2.662e-05 2.662e-05 2.662e-05 0.01% Castro::swap_state_time_levels() 5 2.621e-05 2.621e-05 2.621e-05 0.01% MLMG::mgVcycle_down::3 36 2.538e-05 2.538e-05 2.538e-05 0.01% MLMG::mgVcycle_up::4 36 2.501e-05 2.501e-05 2.501e-05 0.01% MLMG::oneIter() 36 2.399e-05 2.399e-05 2.399e-05 0.01% Castro::do_advance_ctu() 5 2.325e-05 2.325e-05 2.325e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.209e-05 2.209e-05 2.209e-05 0.01% MLMG::mgVcycle_up::0 36 2.129e-05 2.129e-05 2.129e-05 0.01% MLCellLinOp::solutionResidual() 42 2.128e-05 2.128e-05 2.128e-05 0.01% MLMG::mgVcycle_up::3 36 2.106e-05 2.106e-05 2.106e-05 0.00% MLMG::mgVcycle_up::2 36 2.003e-05 2.003e-05 2.003e-05 0.00% MLMG::mgVcycle_up::1 36 1.893e-05 1.893e-05 1.893e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.833e-05 1.833e-05 1.833e-05 0.00% MLMG::ResNormInf() 42 1.58e-05 1.58e-05 1.58e-05 0.00% MLMG::mgVcycle_bottom 36 1.504e-05 1.504e-05 1.504e-05 0.00% FillPatchSingleLevel 20 1.501e-05 1.501e-05 1.501e-05 0.00% MLPoisson::define() 6 1.484e-05 1.484e-05 1.484e-05 0.00% makeSFC 30 1.438e-05 1.438e-05 1.438e-05 0.00% MLMG::computeResidual() 36 1.433e-05 1.433e-05 1.433e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.347e-05 1.347e-05 1.347e-05 0.00% Castro::construct_new_gravity() 5 1.217e-05 1.217e-05 1.217e-05 0.00% Castro::do_old_sources() 5 1.207e-05 1.207e-05 1.207e-05 0.00% MLLinOp::define() 6 1.137e-05 1.137e-05 1.137e-05 0.00% Castro::construct_old_source() 25 1.079e-05 1.079e-05 1.079e-05 0.00% MLMG::getGradSolution() 6 9.518e-06 9.518e-06 9.518e-06 0.00% Amr::initSubcycle() 1 9.443e-06 9.443e-06 9.443e-06 0.00% DistributionMapping::Distribute() 31 8.967e-06 8.967e-06 8.967e-06 0.00% Gravity::actual_multilevel_solve() 1 8.79e-06 8.79e-06 8.79e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.539e-06 7.539e-06 7.539e-06 0.00% Castro::apply_source_to_state() 10 6.206e-06 6.206e-06 6.206e-06 0.00% Castro::check_for_nan() 10 5.976e-06 5.976e-06 5.976e-06 0.00% Castro::construct_old_gravity() 5 5.077e-06 5.077e-06 5.077e-06 0.00% MLMG::computeMLResidual() 6 4.262e-06 4.262e-06 4.262e-06 0.00% Gravity::swapTimeLevels() 5 4.26e-06 4.26e-06 4.26e-06 0.00% MLPoisson::prepareForSolve() 6 4.005e-06 4.005e-06 4.005e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.725e-06 3.725e-06 3.725e-06 0.00% Castro::computeNewDt() 5 3.529e-06 3.529e-06 3.529e-06 0.00% Castro::expand_state() 5 3.353e-06 3.353e-06 3.353e-06 0.00% Castro::retry_advance_ctu() 5 3.348e-06 3.348e-06 3.348e-06 0.00% Gravity::set_mass_offset() 6 2.438e-06 2.438e-06 2.438e-06 0.00% MLMG::MLResNormInf() 6 2.337e-06 2.337e-06 2.337e-06 0.00% MLMG::MLRhsNormInf() 6 2.125e-06 2.125e-06 2.125e-06 0.00% Castro::FluxRegCrseInit 5 2.099e-06 2.099e-06 2.099e-06 0.00% Castro::FluxRegFineAdd() 5 1.771e-06 1.771e-06 1.771e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.88e-07 9.88e-07 9.88e-07 0.00% Amr::init() 1 7.87e-07 7.87e-07 7.87e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4225 0.4225 0.4225 100.00% Amr::coarseTimeStep() 5 0.3235 0.3235 0.3235 76.57% Amr::timeStep() 5 0.3205 0.3205 0.3205 75.86% Castro::advance() 5 0.3167 0.3167 0.3167 74.96% Castro::subcycle_advance_ctu() 5 0.31 0.31 0.31 73.37% Castro::do_advance_ctu() 5 0.3082 0.3082 0.3082 72.93% Castro::construct_ctu_hydro_source() 5 0.1394 0.1394 0.1394 33.00% Castro::construct_new_gravity() 5 0.1333 0.1333 0.1333 31.56% Gravity::solve_phi_with_mlmg() 6 0.1306 0.1306 0.1306 30.91% Gravity::solve_for_phi() 5 0.1254 0.1254 0.1254 29.68% Gravity::actual_solve_with_mlmg() 6 0.1253 0.1253 0.1253 29.65% MLMG::solve() 6 0.1136 0.1136 0.1136 26.88% MLMG::oneIter() 36 0.106 0.106 0.106 25.09% MLMG::mgVcycle() 36 0.1044 0.1044 0.1044 24.72% Amr::init() 1 0.07123 0.07123 0.07123 16.86% Amr::restart() 1 0.07123 0.07123 0.07123 16.86% AmrLevel::restart() 1 0.06031 0.06031 0.06031 14.27% StateData::restartDoit() 4 0.06024 0.06024 0.06024 14.26% VisMF::Read() 3 0.05996 0.05996 0.05996 14.19% MLCellLinOp::smooth() 720 0.05266 0.05266 0.05266 12.46% MLCellLinOp::applyBC() 1910 0.04918 0.04918 0.04918 11.64% MLMG::mgVcycle_bottom 36 0.03076 0.03076 0.03076 7.28% MLMG::actualBottomSolve() 36 0.03075 0.03075 0.03075 7.28% MLCGSolver::bicgstab 36 0.03039 0.03039 0.03039 7.19% Amr::writePlotFile() 1 0.02697 0.02697 0.02697 6.38% VisMF::Write(FabArray) 1 0.0242 0.0242 0.0242 5.73% Castro::clean_state() 30 0.0238 0.0238 0.0238 5.63% AmrLevel::FillPatch() 20 0.02214 0.02214 0.02214 5.24% FillPatchIterator::Initialize 20 0.02003 0.02003 0.02003 4.74% FillPatchIterator::FillFromLevel0() 20 0.01923 0.01923 0.01923 4.55% FillPatchSingleLevel 20 0.01921 0.01921 0.01921 4.55% StateDataPhysBCFunct::() 20 0.01714 0.01714 0.01714 4.06% MLCellLinOp::apply() 464 0.01575 0.01575 0.01575 3.73% MLMG::mgVcycle_down::0 36 0.01524 0.01524 0.01524 3.61% MLPoisson::Fsmooth() 1440 0.01442 0.01442 0.01442 3.41% FabArray::FillBoundary() 1730 0.01416 0.01416 0.01416 3.35% FillBoundary_nowait() 1730 0.01382 0.01382 0.01382 3.27% StateData::FillBoundary(geom) 160 0.01262 0.01262 0.01262 2.99% MLMG::mgVcycle_up::0 36 0.0115 0.0115 0.0115 2.72% Castro::do_old_sources() 5 0.009944 0.009944 0.009944 2.35% Castro::initialize_do_advance() 5 0.009943 0.009943 0.009943 2.35% Castro::computeTemp() 30 0.009595 0.009595 0.009595 2.27% MLPoisson::define() 6 0.009163 0.009163 0.009163 2.17% amrex::Dot() 484 0.008946 0.008946 0.008946 2.12% MLMG:computeResOfCorrection() 180 0.008776 0.008776 0.008776 2.08% MLCellLinOp::correctionResidual() 180 0.008724 0.008724 0.008724 2.06% Castro::normalize_species() 30 0.008507 0.008507 0.008507 2.01% FabArray::norminf() 465 0.008473 0.008473 0.008473 2.01% Gravity::get_new_grav_vector() 5 0.007824 0.007824 0.007824 1.85% Castro::construct_old_gravity() 5 0.007614 0.007614 0.007614 1.80% Gravity::get_old_grav_vector() 5 0.007609 0.007609 0.007609 1.80% MLMG::mgVcycle_down::1 36 0.007211 0.007211 0.007211 1.71% MLMG::mgVcycle_down::2 36 0.006618 0.006618 0.006618 1.57% FabArray::ParallelCopy() 380 0.006542 0.006542 0.006542 1.55% FabArray::setVal() 501 0.006449 0.006449 0.006449 1.53% FabArray::ParallelCopy_nowait() 380 0.00643 0.00643 0.00643 1.52% MLMG::mgVcycle_down::3 36 0.006393 0.006393 0.006393 1.51% MLMG::mgVcycle_down::4 36 0.006378 0.006378 0.006378 1.51% Castro::initialize_advance() 5 0.006325 0.006325 0.006325 1.50% Castro::do_new_sources() 5 0.006198 0.006198 0.006198 1.47% MLCellLinOp::defineAuxData() 6 0.006174 0.006174 0.006174 1.46% Castro::post_restart() 1 0.005791 0.005791 0.005791 1.37% FabArray::Saxpy() 597 0.005721 0.005721 0.005721 1.35% amrex::Copy() 221 0.005439 0.005439 0.005439 1.29% MLCGSolver::ParallelAllReduce 798 0.005438 0.005438 0.005438 1.29% Gravity::multilevel_solve_for_new_phi() 1 0.005415 0.005415 0.005415 1.28% Gravity::actual_multilevel_solve() 1 0.005397 0.005397 0.005397 1.28% Castro::expand_state() 5 0.005329 0.005329 0.005329 1.26% MLMG::addInterpCorrection() 180 0.005321 0.005321 0.005321 1.26% Castro::enforce_min_density() 30 0.00518 0.00518 0.00518 1.23% Gravity::fill_multipole_BCs() 6 0.005167 0.005167 0.005167 1.22% MLMG::mgVcycle_up::4 36 0.005145 0.005145 0.005145 1.22% MLMG::mgVcycle_up::1 36 0.005131 0.005131 0.005131 1.21% MLMG::mgVcycle_up::2 36 0.005028 0.005028 0.005028 1.19% MLMG::mgVcycle_up::3 36 0.004939 0.004939 0.004939 1.17% amrex::average_down 180 0.004927 0.004927 0.004927 1.17% MLPoisson::Fapply() 464 0.00439 0.00439 0.00439 1.04% Castro::estTimeStep() 10 0.003939 0.003939 0.003939 0.93% Castro::post_timestep() 5 0.003732 0.003732 0.003732 0.88% MLCellLinOp::solutionResidual() 42 0.003574 0.003574 0.003574 0.85% FabArray::Xpay() 325 0.003398 0.003398 0.003398 0.80% Castro::reset_internal_energy(MultiFab) 30 0.002903 0.002903 0.002903 0.69% Castro::computeNewDt() 5 0.002846 0.002846 0.002846 0.67% MLCellLinOp::defineBC() 6 0.002832 0.002832 0.002832 0.67% MLMG::prepareForSolve() 6 0.002822 0.002822 0.002822 0.67% MLMG::computeResidual() 36 0.002787 0.002787 0.002787 0.66% BndryData::define() 6 0.002689 0.002689 0.002689 0.64% Castro::construct_new_source() 25 0.001962 0.001962 0.001962 0.46% Castro::construct_new_gravity_source() 5 0.001851 0.001851 0.001851 0.44% amrex::Add() 36 0.001544 0.001544 0.001544 0.37% Castro::construct_old_source() 25 0.001456 0.001456 0.001456 0.34% Castro::construct_old_gravity_source() 5 0.001446 0.001446 0.001446 0.34% Castro::finalize_do_advance() 5 0.001205 0.001205 0.001205 0.29% MLMG::ResNormInf() 42 0.0009848 0.0009848 0.0009848 0.23% Castro::apply_source_to_state() 10 0.0009592 0.0009592 0.0009592 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009502 0.0009502 0.0009502 0.22% MLMG::getGradSolution() 6 0.0008923 0.0008923 0.0008923 0.21% MLCellLinOp::compGrad() 6 0.0008828 0.0008828 0.0008828 0.21% check_for_negative_density() 5 0.000871 0.000871 0.000871 0.21% MLCellLinOp::setLevelBC() 6 0.0008517 0.0008517 0.0008517 0.20% MLMG::computeMLResidual() 6 0.0008059 0.0008059 0.0008059 0.19% FabArrayBase::getCPC() 632 0.0008007 0.0008007 0.0008007 0.19% Castro::reset_internal_energy(Fab) 240 0.0007896 0.0007896 0.0007896 0.19% MLPoisson::prepareForSolve() 6 0.0007306 0.0007306 0.0007306 0.17% MLCellLinOp::prepareForSolve() 6 0.0007266 0.0007266 0.0007266 0.17% Gravity::update_max_rhs() 6 0.0007204 0.0007204 0.0007204 0.17% FabArray::mult() 22 0.0006944 0.0006944 0.0006944 0.16% FabArray::setDomainBndry() 20 0.0006901 0.0006901 0.0006901 0.16% Castro::check_for_nan() 10 0.000658 0.000658 0.000658 0.16% MultiFab::contains_nan() 10 0.0006521 0.0006521 0.0006521 0.15% Castro::enforce_speed_limit() 30 0.0004858 0.0004858 0.0004858 0.11% Amr::InitAmr() 1 0.0004685 0.0004685 0.0004685 0.11% FabArrayBase::CPC::define() 244 0.0004295 0.0004295 0.0004295 0.10% Castro::finalize_advance() 5 0.0003334 0.0003334 0.0003334 0.08% FabArrayBase::getFB() 1730 0.0003227 0.0003227 0.0003227 0.08% Gravity::swapTimeLevels() 5 0.0002502 0.0002502 0.0002502 0.06% MultiFab::max() 6 0.0002144 0.0002144 0.0002144 0.05% MLMG::MLResNormInf() 6 0.0001917 0.0001917 0.0001917 0.05% Castro::buildMetrics() 1 0.000157 0.000157 0.000157 0.04% MLLinOp::define() 6 0.0001427 0.0001427 0.0001427 0.03% MLLinOp::defineGrids() 6 0.0001313 0.0001313 0.0001313 0.03% MLMG::MLRhsNormInf() 6 0.0001203 0.0001203 0.0001203 0.03% Castro::create_source_corrector() 5 9.22e-05 9.22e-05 9.22e-05 0.02% FabArrayBase::FB::FB() 26 5.94e-05 5.94e-05 5.94e-05 0.01% Castro::initMFs() 1 3.138e-05 3.138e-05 3.138e-05 0.01% Amr::writeSmallPlotFile() 1 3.099e-05 3.099e-05 3.099e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.97e-05 2.97e-05 2.97e-05 0.01% Castro::swap_state_time_levels() 5 2.621e-05 2.621e-05 2.621e-05 0.01% makeSFC 30 2.216e-05 2.216e-05 2.216e-05 0.01% Amr::initSubcycle() 1 9.443e-06 9.443e-06 9.443e-06 0.00% DistributionMapping::Distribute() 31 8.967e-06 8.967e-06 8.967e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.907e-06 4.907e-06 4.907e-06 0.00% Castro::retry_advance_ctu() 5 3.348e-06 3.348e-06 3.348e-06 0.00% Gravity::set_mass_offset() 6 2.438e-06 2.438e-06 2.438e-06 0.00% Castro::FluxRegCrseInit 5 2.099e-06 2.099e-06 2.099e-06 0.00% Castro::FluxRegFineAdd() 5 1.771e-06 1.771e-06 1.771e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.88e-07 9.88e-07 9.88e-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 11 MiB 9037 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1011 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1695 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 6395 KiB 14 MiB MLMG::prepareForSolve() 361 361 3299 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 186 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6382 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3385 B 2048 KiB Gravity::solve_for_phi() 40 40 606 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 304 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 195 KiB 671 KiB Castro::estTimeStep() 10 10 4427 B 480 KiB VisMF::Write(FabArray) 112 112 1278 B 320 KiB Castro::normalize_species() 30 30 6548 B 320 KiB amrex::average_down 469 469 1375 B 257 KiB MLMG::addInterpCorrection() 468 468 1083 B 257 KiB amrex::Dot() 592 592 3122 B 160 KiB FabArray::norminf() 501 501 3088 B 160 KiB check_for_negative_density() 5 5 330 B 160 KiB MultiFab::max() 6 6 79 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3196 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 278 B 9648 B MLCellLinOp::applyBC() 3820 3820 207 B 9344 B amrex::Copy() 56 56 5830 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 341 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1204 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 159 KiB 3584 KiB VisMF::Read() 24 24 216 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3196 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 278 B 9648 B MLCellLinOp::applyBC() 1910 1910 206 B 9328 B amrex::Copy() 56 56 5830 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2504 B 3072 B StateData::FillBoundary(geom) 960 960 41 B 3024 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B MLMG::prepareForSolve() 7 7 794 B 1648 B amrex::average_down 37 37 458 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 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 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 (v2024-42-g7437aa17d36f) finalized