Initializing AMReX (24.02-30-g2ecafcff4013)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-30-g2ecafcff4013) initialized Starting run at 09:32:04 UTC on 2024-02-26. Successfully read inputs file ... Castro git describe: 24.02-23-g9a07326d4 AMReX git describe: 24.02-30-g2ecafcff4 Microphysics git describe: 24.02-23-g3df6ba0c 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.045697146 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025023347 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.06571577 [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.075056264 [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.076051268 [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.066220024 [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.061316361 [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.045019693 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.060544097 [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.071061996 [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.076344066 [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.070971552 [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.0647618 [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.043533204 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.02483074 seconds Ending run at 09:32:05 UTC on 2024-02-26. Run time = 0.928730946 Run time without initialization = 0.80215657 Average number of zones advanced per microsecond: 3.268 Average number of zones advanced per microsecond per rank: 3.268 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9288 ... 0.9288 ... 0.9288 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3065 0.3065 0.3065 33.00% VisMF::Write(FabArray) 11 0.1764 0.1764 0.1764 18.99% MLCellLinOp::applyBC() 4351 0.08226 0.08226 0.08226 8.86% MLPoisson::Fsmooth() 3280 0.03374 0.03374 0.03374 3.63% FillBoundary_nowait() 3941 0.03089 0.03089 0.03089 3.33% StateData::FillBoundary(geom) 328 0.02708 0.02708 0.02708 2.92% amrex::Dot() 1114 0.02176 0.02176 0.02176 2.34% Castro::normalize_species() 62 0.02099 0.02099 0.02099 2.26% FabArray::norminf() 1061 0.02021 0.02021 0.02021 2.18% Castro::computeTemp() 63 0.01621 0.01621 0.01621 1.75% FabArray::ParallelCopy_nowait() 861 0.01377 0.01377 0.01377 1.48% FabArray::setVal() 1062 0.01351 0.01351 0.01351 1.45% FabArray::Saxpy() 1370 0.01327 0.01327 0.01327 1.43% Castro::enforce_min_density() 62 0.01266 0.01266 0.01266 1.36% amrex::Copy() 472 0.01089 0.01089 0.01089 1.17% StateDataPhysBCFunct::() 41 0.01058 0.01058 0.01058 1.14% MLCellLinOp::defineAuxData() 11 0.01045 0.01045 0.01045 1.12% MLPoisson::Fapply() 1060 0.01043 0.01043 0.01043 1.12% Gravity::fill_multipole_BCs() 11 0.009079 0.009079 0.009079 0.98% FabArray::Xpay() 739 0.007958 0.007958 0.007958 0.86% MLMG::addInterpCorrection() 410 0.00716 0.00716 0.00716 0.77% amrex::average_down 410 0.006299 0.006299 0.006299 0.68% Castro::estTimeStep() 21 0.005947 0.005947 0.005947 0.64% Amr::checkPoint() 3 0.005432 0.005432 0.005432 0.58% Castro::reset_internal_energy(MultiFab) 63 0.005003 0.005003 0.005003 0.54% BndryData::define() 11 0.00405 0.00405 0.00405 0.44% amrex::Add() 82 0.00361 0.00361 0.00361 0.39% Castro::construct_new_gravity_source() 10 0.00334 0.00334 0.00334 0.36% Castro::construct_old_gravity_source() 10 0.002922 0.002922 0.002922 0.31% Castro::enforce_speed_limit() 62 0.002343 0.002343 0.002343 0.25% check_for_negative_density() 10 0.001851 0.001851 0.001851 0.20% Amr::writePlotFile() 2 0.001816 0.001816 0.001816 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001815 0.001815 0.001815 0.20% Castro::reset_internal_energy(Fab) 504 0.001638 0.001638 0.001638 0.18% MLCGSolver::bicgstab 82 0.001625 0.001625 0.001625 0.17% Gravity::actual_solve_with_mlmg() 11 0.001605 0.001605 0.001605 0.17% MLCellLinOp::setLevelBC() 11 0.001602 0.001602 0.001602 0.17% Castro::initData() 1 0.001512 0.001512 0.001512 0.16% FabArray::mult() 43 0.001388 0.001388 0.001388 0.15% FabArray::setDomainBndry() 41 0.001374 0.001374 0.001374 0.15% MLCellLinOp::prepareForSolve() 11 0.00136 0.00136 0.00136 0.15% MultiFab::contains_nan() 20 0.001278 0.001278 0.001278 0.14% MLCellLinOp::smooth() 1640 0.001147 0.001147 0.001147 0.12% MLCellLinOp::compGrad() 11 0.001095 0.001095 0.001095 0.12% MLMG::prepareForSolve() 11 0.0009974 0.0009974 0.0009974 0.11% FabArray::FillBoundary() 3941 0.0008552 0.0008552 0.0008552 0.09% FabArrayBase::getCPC() 1323 0.0007707 0.0007707 0.0007707 0.08% FabArrayBase::CPC::define() 454 0.0007013 0.0007013 0.0007013 0.08% Gravity::get_new_grav_vector() 11 0.0006217 0.0006217 0.0006217 0.07% FabArrayBase::getFB() 3941 0.000621 0.000621 0.000621 0.07% Amr::InitAmr() 1 0.0005685 0.0005685 0.0005685 0.06% Gravity::get_old_grav_vector() 10 0.0004817 0.0004817 0.0004817 0.05% MLCellLinOp::apply() 1060 0.0004155 0.0004155 0.0004155 0.04% Amr::coarseTimeStep() 10 0.0004062 0.0004062 0.0004062 0.04% AmrLevel::FillPatch() 41 0.0004055 0.0004055 0.0004055 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003578 0.0003578 0.0003578 0.04% main() 1 0.0003414 0.0003414 0.0003414 0.04% MultiFab::max() 11 0.0003344 0.0003344 0.0003344 0.04% MLCellLinOp::defineBC() 11 0.000286 0.000286 0.000286 0.03% FabArray::ParallelCopy() 861 0.0002451 0.0002451 0.0002451 0.03% FillPatchIterator::Initialize 41 0.0002186 0.0002186 0.0002186 0.02% MLMG::mgVcycle() 82 0.0002047 0.0002047 0.0002047 0.02% Castro::create_source_corrector() 10 0.0001981 0.0001981 0.0001981 0.02% MLCellLinOp::correctionResidual() 410 0.0001836 0.0001836 0.0001836 0.02% MLLinOp::defineGrids() 11 0.0001662 0.0001662 0.0001662 0.02% Amr::timeStep() 10 0.0001606 0.0001606 0.0001606 0.02% Castro::subcycle_advance_ctu() 10 0.0001475 0.0001475 0.0001475 0.02% StateData::checkPoint() 12 0.0001334 0.0001334 0.0001334 0.01% Gravity::update_max_rhs() 11 0.0001278 0.0001278 0.0001278 0.01% MLMG:computeResOfCorrection() 410 0.0001268 0.0001268 0.0001268 0.01% Castro::construct_new_source() 50 0.0001213 0.0001213 0.0001213 0.01% Gravity::solve_for_phi() 10 0.0001165 0.0001165 0.0001165 0.01% Castro::post_timestep() 10 9.711e-05 9.711e-05 9.711e-05 0.01% FabArrayBase::FB::FB() 56 9.385e-05 9.385e-05 9.385e-05 0.01% MLMG::actualBottomSolve() 82 8.974e-05 8.974e-05 8.974e-05 0.01% MLMG::mgVcycle_down::1 82 8.755e-05 8.755e-05 8.755e-05 0.01% Castro::Castro() 1 8.752e-05 8.752e-05 8.752e-05 0.01% MLMG::mgVcycle_down::2 82 8.672e-05 8.672e-05 8.672e-05 0.01% MLMG::mgVcycle_down::0 82 8.66e-05 8.66e-05 8.66e-05 0.01% MLMG::mgVcycle_down::4 82 8.148e-05 8.148e-05 8.148e-05 0.01% MLMG::mgVcycle_down::3 82 8.026e-05 8.026e-05 8.026e-05 0.01% Castro::initialize_advance() 10 7.699e-05 7.699e-05 7.699e-05 0.01% AmrLevel::checkPoint() 3 7.613e-05 7.613e-05 7.613e-05 0.01% Castro::clean_state() 62 7.478e-05 7.478e-05 7.478e-05 0.01% MLMG::solve() 11 7.109e-05 7.109e-05 7.109e-05 0.01% Castro::enforce_consistent_e() 1 6.68e-05 6.68e-05 6.68e-05 0.01% Castro::finalize_advance() 10 6.467e-05 6.467e-05 6.467e-05 0.01% MLMG::mgVcycle_up::4 82 6.271e-05 6.271e-05 6.271e-05 0.01% Castro::initialize_do_advance() 10 5.91e-05 5.91e-05 5.91e-05 0.01% MLMG::mgVcycle_up::3 82 5.529e-05 5.529e-05 5.529e-05 0.01% MLMG::mgVcycle_up::0 82 5.467e-05 5.467e-05 5.467e-05 0.01% MLMG::mgVcycle_up::1 82 5.413e-05 5.413e-05 5.413e-05 0.01% MLMG::mgVcycle_up::2 82 5.301e-05 5.301e-05 5.301e-05 0.01% MLMG::oneIter() 82 5.285e-05 5.285e-05 5.285e-05 0.01% MLCellLinOp::solutionResidual() 93 5.082e-05 5.082e-05 5.082e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.884e-05 4.884e-05 4.884e-05 0.01% Castro::do_advance_ctu() 10 4.696e-05 4.696e-05 4.696e-05 0.01% Castro::do_new_sources() 10 4.616e-05 4.616e-05 4.616e-05 0.00% Castro::finalize_do_advance() 10 4.457e-05 4.457e-05 4.457e-05 0.00% Castro::advance() 10 4.433e-05 4.433e-05 4.433e-05 0.00% Castro::swap_state_time_levels() 10 3.69e-05 3.69e-05 3.69e-05 0.00% StateData::define() 4 3.565e-05 3.565e-05 3.565e-05 0.00% FillPatchSingleLevel 41 3.54e-05 3.54e-05 3.54e-05 0.00% MLMG::mgVcycle_bottom 82 3.458e-05 3.458e-05 3.458e-05 0.00% Castro::initMFs() 1 3.449e-05 3.449e-05 3.449e-05 0.00% MLMG::ResNormInf() 93 3.396e-05 3.396e-05 3.396e-05 0.00% Amr::writeSmallPlotFile() 1 3.323e-05 3.323e-05 3.323e-05 0.00% MLMG::computeResidual() 82 3.248e-05 3.248e-05 3.248e-05 0.00% makeSFC 55 3.001e-05 3.001e-05 3.001e-05 0.00% Castro::construct_new_gravity() 10 2.977e-05 2.977e-05 2.977e-05 0.00% Castro::buildMetrics() 1 2.603e-05 2.603e-05 2.603e-05 0.00% Amr::defBaseLevel() 1 2.548e-05 2.548e-05 2.548e-05 0.00% Castro::do_old_sources() 10 2.411e-05 2.411e-05 2.411e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.297e-05 2.297e-05 2.297e-05 0.00% MLPoisson::define() 11 2.189e-05 2.189e-05 2.189e-05 0.00% Amr::FinalizeInit() 1 1.929e-05 1.929e-05 1.929e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.917e-05 1.917e-05 1.917e-05 0.00% Castro::construct_old_source() 50 1.732e-05 1.732e-05 1.732e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.727e-05 1.727e-05 1.727e-05 0.00% DistributionMapping::Distribute() 56 1.587e-05 1.587e-05 1.587e-05 0.00% MLPoisson::prepareForSolve() 11 1.472e-05 1.472e-05 1.472e-05 0.00% MLLinOp::define() 11 1.395e-05 1.395e-05 1.395e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.337e-05 1.337e-05 1.337e-05 0.00% Castro::check_for_nan() 20 1.23e-05 1.23e-05 1.23e-05 0.00% Castro::apply_source_to_state() 20 1.099e-05 1.099e-05 1.099e-05 0.00% Castro::construct_old_gravity() 10 1.098e-05 1.098e-05 1.098e-05 0.00% Castro::post_init() 1 1.023e-05 1.023e-05 1.023e-05 0.00% MLMG::computeMLResidual() 11 9.256e-06 9.256e-06 9.256e-06 0.00% Gravity::swapTimeLevels() 10 9.226e-06 9.226e-06 9.226e-06 0.00% Amr::initSubcycle() 1 8.878e-06 8.878e-06 8.878e-06 0.00% Gravity::actual_multilevel_solve() 1 8.123e-06 8.123e-06 8.123e-06 0.00% MLMG::getGradSolution() 11 7.235e-06 7.235e-06 7.235e-06 0.00% Castro::computeNewDt() 9 6.165e-06 6.165e-06 6.165e-06 0.00% Castro::expand_state() 10 5.946e-06 5.946e-06 5.946e-06 0.00% Amr::InitializeInit() 1 4.698e-06 4.698e-06 4.698e-06 0.00% AmrLevel::checkPointPost() 3 4.595e-06 4.595e-06 4.595e-06 0.00% Castro::retry_advance_ctu() 10 4.215e-06 4.215e-06 4.215e-06 0.00% MLMG::MLRhsNormInf() 11 4.209e-06 4.209e-06 4.209e-06 0.00% MLMG::MLResNormInf() 11 4.093e-06 4.093e-06 4.093e-06 0.00% Gravity::set_mass_offset() 11 4.048e-06 4.048e-06 4.048e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.803e-06 3.803e-06 3.803e-06 0.00% Castro::computeInitialDt() 2 2.736e-06 2.736e-06 2.736e-06 0.00% Castro::FluxRegCrseInit 10 2.594e-06 2.594e-06 2.594e-06 0.00% Amr::init() 1 2.281e-06 2.281e-06 2.281e-06 0.00% Castro::FluxRegFineAdd() 10 2.046e-06 2.046e-06 2.046e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.915e-06 1.915e-06 1.915e-06 0.00% AmrLevel::checkPointPre() 3 1.903e-06 1.903e-06 1.903e-06 0.00% Castro::post_regrid() 1 1.11e-06 1.11e-06 1.11e-06 0.00% Amr::initialInit() 1 1.032e-06 1.032e-06 1.032e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9287 0.9287 0.9287 100.00% Amr::coarseTimeStep() 10 0.7771 0.7771 0.7771 83.67% Amr::timeStep() 10 0.6846 0.6846 0.6846 73.71% Castro::advance() 10 0.6734 0.6734 0.6734 72.51% Castro::subcycle_advance_ctu() 10 0.6592 0.6592 0.6592 70.98% Castro::do_advance_ctu() 10 0.6591 0.6591 0.6591 70.96% Castro::construct_ctu_hydro_source() 10 0.3172 0.3172 0.3172 34.16% Gravity::solve_phi_with_mlmg() 11 0.298 0.298 0.298 32.09% Gravity::actual_solve_with_mlmg() 11 0.2885 0.2885 0.2885 31.06% Castro::construct_new_gravity() 10 0.2687 0.2687 0.2687 28.93% MLMG::solve() 11 0.2661 0.2661 0.2661 28.65% Gravity::solve_for_phi() 10 0.2525 0.2525 0.2525 27.19% MLMG::oneIter() 82 0.2504 0.2504 0.2504 26.96% MLMG::mgVcycle() 82 0.2468 0.2468 0.2468 26.57% VisMF::Write(FabArray) 11 0.1764 0.1764 0.1764 18.99% Amr::checkPoint() 3 0.1344 0.1344 0.1344 14.47% AmrLevel::checkPoint() 3 0.1289 0.1289 0.1289 13.88% StateData::checkPoint() 12 0.1289 0.1289 0.1289 13.87% Amr::init() 1 0.1258 0.1258 0.1258 13.55% MLCellLinOp::smooth() 1640 0.1231 0.1231 0.1231 13.26% MLCellLinOp::applyBC() 4351 0.1147 0.1147 0.1147 12.35% MLMG::mgVcycle_bottom 82 0.07388 0.07388 0.07388 7.95% MLMG::actualBottomSolve() 82 0.07385 0.07385 0.07385 7.95% MLCGSolver::bicgstab 82 0.073 0.073 0.073 7.86% Castro::clean_state() 62 0.05802 0.05802 0.05802 6.25% Amr::initialInit() 1 0.05499 0.05499 0.05499 5.92% Amr::writePlotFile() 2 0.05 0.05 0.05 5.38% Amr::FinalizeInit() 1 0.04991 0.04991 0.04991 5.37% Castro::post_init() 1 0.04836 0.04836 0.04836 5.21% AmrLevel::FillPatch() 41 0.04767 0.04767 0.04767 5.13% Gravity::multilevel_solve_for_new_phi() 1 0.04599 0.04599 0.04599 4.95% Gravity::actual_multilevel_solve() 1 0.04597 0.04597 0.04597 4.95% FillPatchIterator::Initialize 41 0.04338 0.04338 0.04338 4.67% FillPatchIterator::FillFromLevel0() 41 0.04179 0.04179 0.04179 4.50% FillPatchSingleLevel 41 0.04174 0.04174 0.04174 4.49% StateDataPhysBCFunct::() 41 0.03766 0.03766 0.03766 4.05% MLCellLinOp::apply() 1060 0.03684 0.03684 0.03684 3.97% MLMG::mgVcycle_down::0 82 0.03487 0.03487 0.03487 3.75% MLPoisson::Fsmooth() 3280 0.03374 0.03374 0.03374 3.63% FabArray::FillBoundary() 3941 0.03246 0.03246 0.03246 3.49% FillBoundary_nowait() 3941 0.0316 0.0316 0.0316 3.40% StateData::FillBoundary(geom) 328 0.02708 0.02708 0.02708 2.92% MLMG::mgVcycle_up::0 82 0.02644 0.02644 0.02644 2.85% Castro::computeTemp() 63 0.02285 0.02285 0.02285 2.46% Castro::initialize_do_advance() 10 0.02181 0.02181 0.02181 2.35% amrex::Dot() 1114 0.02176 0.02176 0.02176 2.34% Castro::normalize_species() 62 0.02099 0.02099 0.02099 2.26% MLMG:computeResOfCorrection() 410 0.02077 0.02077 0.02077 2.24% MLCellLinOp::correctionResidual() 410 0.02064 0.02064 0.02064 2.22% FabArray::norminf() 1061 0.02021 0.02021 0.02021 2.18% Castro::do_old_sources() 10 0.01889 0.01889 0.01889 2.03% Gravity::get_new_grav_vector() 11 0.01812 0.01812 0.01812 1.95% MLPoisson::define() 11 0.01755 0.01755 0.01755 1.89% MLMG::mgVcycle_down::1 82 0.01693 0.01693 0.01693 1.82% MLMG::mgVcycle_down::2 82 0.01578 0.01578 0.01578 1.70% Castro::construct_old_gravity() 10 0.01547 0.01547 0.01547 1.67% Gravity::get_old_grav_vector() 10 0.01546 0.01546 0.01546 1.66% MLMG::mgVcycle_down::3 82 0.01535 0.01535 0.01535 1.65% MLMG::mgVcycle_down::4 82 0.01522 0.01522 0.01522 1.64% FabArray::ParallelCopy() 861 0.0148 0.0148 0.0148 1.59% FabArray::ParallelCopy_nowait() 861 0.01456 0.01456 0.01456 1.57% Castro::do_new_sources() 10 0.01371 0.01371 0.01371 1.48% Castro::initialize_advance() 10 0.01351 0.01351 0.01351 1.45% FabArray::setVal() 1062 0.01351 0.01351 0.01351 1.45% FabArray::Saxpy() 1370 0.01327 0.01327 0.01327 1.43% MLCGSolver::ParallelAllReduce 1832 0.0131 0.0131 0.0131 1.41% Castro::enforce_min_density() 62 0.01266 0.01266 0.01266 1.36% MLMG::addInterpCorrection() 410 0.0125 0.0125 0.0125 1.35% MLMG::mgVcycle_up::1 82 0.01227 0.01227 0.01227 1.32% MLMG::mgVcycle_up::4 82 0.01214 0.01214 0.01214 1.31% MLMG::mgVcycle_up::2 82 0.01195 0.01195 0.01195 1.29% MLCellLinOp::defineAuxData() 11 0.0119 0.0119 0.0119 1.28% MLMG::mgVcycle_up::3 82 0.01174 0.01174 0.01174 1.26% amrex::average_down 410 0.01172 0.01172 0.01172 1.26% Castro::expand_state() 10 0.01155 0.01155 0.01155 1.24% Castro::post_timestep() 10 0.01104 0.01104 0.01104 1.19% amrex::Copy() 472 0.01089 0.01089 0.01089 1.17% MLPoisson::Fapply() 1060 0.01043 0.01043 0.01043 1.12% Gravity::fill_multipole_BCs() 11 0.00931 0.00931 0.00931 1.00% FabArray::Xpay() 739 0.007958 0.007958 0.007958 0.86% MLCellLinOp::solutionResidual() 93 0.007877 0.007877 0.007877 0.85% Castro::reset_internal_energy(MultiFab) 63 0.006641 0.006641 0.006641 0.72% MLMG::computeResidual() 82 0.006527 0.006527 0.006527 0.70% Castro::estTimeStep() 21 0.005947 0.005947 0.005947 0.64% MLCellLinOp::defineBC() 11 0.00538 0.00538 0.00538 0.58% MLMG::prepareForSolve() 11 0.005257 0.005257 0.005257 0.57% BndryData::define() 11 0.005094 0.005094 0.005094 0.55% Amr::InitializeInit() 1 0.005077 0.005077 0.005077 0.55% Amr::defBaseLevel() 1 0.005072 0.005072 0.005072 0.55% Castro::initData() 1 0.004403 0.004403 0.004403 0.47% amrex::Add() 82 0.00361 0.00361 0.00361 0.39% Castro::construct_new_source() 50 0.003461 0.003461 0.003461 0.37% Castro::construct_new_gravity_source() 10 0.00334 0.00334 0.00334 0.36% Castro::construct_old_source() 50 0.00294 0.00294 0.00294 0.32% Castro::construct_old_gravity_source() 10 0.002922 0.002922 0.002922 0.31% Castro::computeNewDt() 9 0.002636 0.002636 0.002636 0.28% Castro::enforce_speed_limit() 62 0.002343 0.002343 0.002343 0.25% Castro::finalize_do_advance() 10 0.002297 0.002297 0.002297 0.25% MLMG::ResNormInf() 93 0.002205 0.002205 0.002205 0.24% Castro::apply_source_to_state() 20 0.001887 0.001887 0.001887 0.20% check_for_negative_density() 10 0.001851 0.001851 0.001851 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001815 0.001815 0.001815 0.20% Castro::reset_internal_energy(Fab) 504 0.001638 0.001638 0.001638 0.18% MLMG::getGradSolution() 11 0.001603 0.001603 0.001603 0.17% MLCellLinOp::setLevelBC() 11 0.001602 0.001602 0.001602 0.17% MLCellLinOp::compGrad() 11 0.001596 0.001596 0.001596 0.17% FabArrayBase::getCPC() 1323 0.001472 0.001472 0.001472 0.16% MLMG::computeMLResidual() 11 0.001392 0.001392 0.001392 0.15% FabArray::mult() 43 0.001388 0.001388 0.001388 0.15% MLPoisson::prepareForSolve() 11 0.001375 0.001375 0.001375 0.15% FabArray::setDomainBndry() 41 0.001374 0.001374 0.001374 0.15% MLCellLinOp::prepareForSolve() 11 0.00136 0.00136 0.00136 0.15% Castro::check_for_nan() 20 0.00129 0.00129 0.00129 0.14% MultiFab::contains_nan() 20 0.001278 0.001278 0.001278 0.14% Castro::post_regrid() 1 0.001247 0.001247 0.001247 0.13% Castro::computeInitialDt() 2 0.001067 0.001067 0.001067 0.11% Gravity::update_max_rhs() 11 0.0009957 0.0009957 0.0009957 0.11% FabArrayBase::getFB() 3941 0.0007149 0.0007149 0.0007149 0.08% FabArrayBase::CPC::define() 454 0.0007013 0.0007013 0.0007013 0.08% Castro::finalize_advance() 10 0.0006119 0.0006119 0.0006119 0.07% Castro::Castro() 1 0.0005844 0.0005844 0.0005844 0.06% Amr::InitAmr() 1 0.0005774 0.0005774 0.0005774 0.06% Gravity::swapTimeLevels() 10 0.000466 0.000466 0.000466 0.05% MLMG::MLResNormInf() 11 0.0003424 0.0003424 0.0003424 0.04% MultiFab::max() 11 0.0003344 0.0003344 0.0003344 0.04% Castro::buildMetrics() 1 0.0002781 0.0002781 0.0002781 0.03% MLLinOp::define() 11 0.0002403 0.0002403 0.0002403 0.03% MLMG::MLRhsNormInf() 11 0.0002311 0.0002311 0.0002311 0.02% MLLinOp::defineGrids() 11 0.0002263 0.0002263 0.0002263 0.02% Castro::create_source_corrector() 10 0.0001981 0.0001981 0.0001981 0.02% FabArrayBase::FB::FB() 56 9.385e-05 9.385e-05 9.385e-05 0.01% Castro::enforce_consistent_e() 1 6.68e-05 6.68e-05 6.68e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.817e-05 5.817e-05 5.817e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.482e-05 5.482e-05 5.482e-05 0.01% makeSFC 55 4.481e-05 4.481e-05 4.481e-05 0.00% Castro::swap_state_time_levels() 10 3.69e-05 3.69e-05 3.69e-05 0.00% StateData::define() 4 3.565e-05 3.565e-05 3.565e-05 0.00% Castro::initMFs() 1 3.449e-05 3.449e-05 3.449e-05 0.00% Amr::writeSmallPlotFile() 1 3.323e-05 3.323e-05 3.323e-05 0.00% DistributionMapping::Distribute() 56 1.587e-05 1.587e-05 1.587e-05 0.00% Amr::initSubcycle() 1 8.878e-06 8.878e-06 8.878e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.871e-06 4.871e-06 4.871e-06 0.00% AmrLevel::checkPointPost() 3 4.595e-06 4.595e-06 4.595e-06 0.00% Castro::retry_advance_ctu() 10 4.215e-06 4.215e-06 4.215e-06 0.00% Gravity::set_mass_offset() 11 4.048e-06 4.048e-06 4.048e-06 0.00% Castro::FluxRegCrseInit 10 2.594e-06 2.594e-06 2.594e-06 0.00% Castro::FluxRegFineAdd() 10 2.046e-06 2.046e-06 2.046e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.915e-06 1.915e-06 1.915e-06 0.00% AmrLevel::checkPointPre() 3 1.903e-06 1.903e-06 1.903e-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 86 MiB 9042 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 986 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1511 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3523 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 202 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 170 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2073 B 2048 KiB Gravity::solve_for_phi() 80 80 556 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 322 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3121 B 480 KiB VisMF::Write(FabArray) 656 656 3313 B 320 KiB Castro::normalize_species() 62 62 7361 B 320 KiB amrex::average_down 1067 1067 1595 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1154 B 257 KiB amrex::Dot() 1360 1360 3462 B 160 KiB FabArray::norminf() 1143 1143 3362 B 160 KiB check_for_negative_density() 10 10 316 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3439 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 8702 8702 219 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3939 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 2640 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 363 B 1248 B MLCGSolver::bicgstab 410 410 94 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 520 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 414 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3439 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 4351 4351 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3939 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B StateData::FillBoundary(geom) 1992 1992 39 B 2736 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 293 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): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-30-g2ecafcff4013) finalized Initializing AMReX (24.02-30-g2ecafcff4013)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-30-g2ecafcff4013) initialized Starting run at 09:32:06 UTC on 2024-02-26. Successfully read inputs file ... Castro git describe: 24.02-23-g9a07326d4 AMReX git describe: 24.02-30-g2ecafcff4 Microphysics git describe: 24.02-23-g3df6ba0c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.515984958 Restart time = 0.071746934 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.072016 [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.060495448 [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.079386805 [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.075928726 [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.060244733 [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.028324118 seconds Ending run at 09:32:07 UTC on 2024-02-26. Run time = 0.449243732 Run time without initialization = 0.376858331 Average number of zones advanced per microsecond: 3.478 Average number of zones advanced per microsecond per rank: 3.478 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4493 ... 0.4493 ... 0.4493 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1447 0.1447 0.1447 32.20% VisMF::Read() 3 0.06016 0.06016 0.06016 13.39% MLCellLinOp::applyBC() 1910 0.03637 0.03637 0.03637 8.10% VisMF::Write(FabArray) 1 0.02585 0.02585 0.02585 5.75% MLPoisson::Fsmooth() 1440 0.02188 0.02188 0.02188 4.87% StateData::FillBoundary(geom) 160 0.01311 0.01311 0.01311 2.92% FillBoundary_nowait() 1730 0.01294 0.01294 0.01294 2.88% Castro::normalize_species() 30 0.009669 0.009669 0.009669 2.15% amrex::Dot() 484 0.009371 0.009371 0.009371 2.09% FabArray::norminf() 465 0.008812 0.008812 0.008812 1.96% Castro::computeTemp() 30 0.007424 0.007424 0.007424 1.65% FabArray::setVal() 501 0.006695 0.006695 0.006695 1.49% Castro::enforce_min_density() 30 0.006613 0.006613 0.006613 1.47% FabArray::ParallelCopy_nowait() 380 0.006271 0.006271 0.006271 1.40% FabArray::Saxpy() 597 0.005956 0.005956 0.005956 1.33% MLCellLinOp::defineAuxData() 6 0.005663 0.005663 0.005663 1.26% amrex::Copy() 221 0.00549 0.00549 0.00549 1.22% StateDataPhysBCFunct::() 20 0.005478 0.005478 0.005478 1.22% Gravity::fill_multipole_BCs() 6 0.005426 0.005426 0.005426 1.21% Amr::restart() 1 0.004743 0.004743 0.004743 1.06% MLPoisson::Fapply() 464 0.004614 0.004614 0.004614 1.03% FabArray::Xpay() 325 0.003561 0.003561 0.003561 0.79% MLMG::addInterpCorrection() 180 0.003208 0.003208 0.003208 0.71% Castro::estTimeStep() 10 0.003156 0.003156 0.003156 0.70% amrex::average_down 180 0.003057 0.003057 0.003057 0.68% Amr::writePlotFile() 1 0.002311 0.002311 0.002311 0.51% BndryData::define() 6 0.002208 0.002208 0.002208 0.49% Castro::reset_internal_energy(MultiFab) 30 0.00199 0.00199 0.00199 0.44% Castro::construct_new_gravity_source() 5 0.001868 0.001868 0.001868 0.42% amrex::Add() 36 0.001551 0.001551 0.001551 0.35% Castro::construct_old_gravity_source() 5 0.001469 0.001469 0.001469 0.33% Castro::enforce_speed_limit() 30 0.001171 0.001171 0.001171 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009995 0.0009995 0.0009995 0.22% check_for_negative_density() 5 0.0009455 0.0009455 0.0009455 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008933 0.0008933 0.0008933 0.20% MLCellLinOp::setLevelBC() 6 0.0008775 0.0008775 0.0008775 0.20% Castro::reset_internal_energy(Fab) 240 0.0008067 0.0008067 0.0008067 0.18% MLCellLinOp::prepareForSolve() 6 0.0007687 0.0007687 0.0007687 0.17% MLCGSolver::bicgstab 36 0.000753 0.000753 0.000753 0.17% FabArray::mult() 22 0.0007086 0.0007086 0.0007086 0.16% FabArray::setDomainBndry() 20 0.0007036 0.0007036 0.0007036 0.16% MultiFab::contains_nan() 10 0.0006541 0.0006541 0.0006541 0.15% MLCellLinOp::compGrad() 6 0.0006243 0.0006243 0.0006243 0.14% MLCellLinOp::smooth() 720 0.000599 0.000599 0.000599 0.13% MLMG::prepareForSolve() 6 0.0005659 0.0005659 0.0005659 0.13% Amr::InitAmr() 1 0.0004743 0.0004743 0.0004743 0.11% FabArrayBase::CPC::define() 244 0.0004234 0.0004234 0.0004234 0.09% FabArray::FillBoundary() 1730 0.0003881 0.0003881 0.0003881 0.09% FabArrayBase::getCPC() 632 0.0003827 0.0003827 0.0003827 0.09% Gravity::get_old_grav_vector() 5 0.0003462 0.0003462 0.0003462 0.08% Gravity::get_new_grav_vector() 5 0.0002958 0.0002958 0.0002958 0.07% FabArrayBase::getFB() 1730 0.000278 0.000278 0.000278 0.06% main() 1 0.0002721 0.0002721 0.0002721 0.06% MultiFab::max() 6 0.0002186 0.0002186 0.0002186 0.05% AmrLevel::FillPatch() 20 0.0002052 0.0002052 0.0002052 0.05% MLCellLinOp::apply() 464 0.0002032 0.0002032 0.0002032 0.05% Amr::coarseTimeStep() 5 0.0001914 0.0001914 0.0001914 0.04% MLCGSolver::ParallelAllReduce 798 0.0001877 0.0001877 0.0001877 0.04% MLCellLinOp::defineBC() 6 0.0001538 0.0001538 0.0001538 0.03% Castro::subcycle_advance_ctu() 5 0.0001217 0.0001217 0.0001217 0.03% FabArray::ParallelCopy() 380 0.0001153 0.0001153 0.0001153 0.03% FillPatchIterator::Initialize 20 0.0001095 0.0001095 0.0001095 0.02% MLLinOp::defineGrids() 6 9.974e-05 9.974e-05 9.974e-05 0.02% MLMG::mgVcycle() 36 9.336e-05 9.336e-05 9.336e-05 0.02% Castro::construct_new_source() 25 9.123e-05 9.123e-05 9.123e-05 0.02% Amr::timeStep() 5 8.73e-05 8.73e-05 8.73e-05 0.02% MLCellLinOp::correctionResidual() 180 8.212e-05 8.212e-05 8.212e-05 0.02% Castro::create_source_corrector() 5 7.988e-05 7.988e-05 7.988e-05 0.02% AmrLevel::restart() 1 7.698e-05 7.698e-05 7.698e-05 0.02% StateData::restartDoit() 4 6.825e-05 6.825e-05 6.825e-05 0.02% Castro::initialize_do_advance() 5 6.52e-05 6.52e-05 6.52e-05 0.01% Gravity::update_max_rhs() 6 6.506e-05 6.506e-05 6.506e-05 0.01% Castro::do_advance_ctu() 5 6.401e-05 6.401e-05 6.401e-05 0.01% MLMG:computeResOfCorrection() 180 6.399e-05 6.399e-05 6.399e-05 0.01% FabArrayBase::FB::FB() 26 6.042e-05 6.042e-05 6.042e-05 0.01% Castro::post_timestep() 5 6.039e-05 6.039e-05 6.039e-05 0.01% Gravity::solve_for_phi() 5 5.595e-05 5.595e-05 5.595e-05 0.01% Castro::finalize_do_advance() 5 4.384e-05 4.384e-05 4.384e-05 0.01% MLMG::actualBottomSolve() 36 4.198e-05 4.198e-05 4.198e-05 0.01% MLMG::mgVcycle_down::3 36 4.105e-05 4.105e-05 4.105e-05 0.01% MLMG::mgVcycle_down::1 36 4.061e-05 4.061e-05 4.061e-05 0.01% MLMG::mgVcycle_down::0 36 4.027e-05 4.027e-05 4.027e-05 0.01% MLMG::mgVcycle_down::4 36 3.865e-05 3.865e-05 3.865e-05 0.01% MLMG::mgVcycle_down::2 36 3.74e-05 3.74e-05 3.74e-05 0.01% Castro::initialize_advance() 5 3.675e-05 3.675e-05 3.675e-05 0.01% Castro::clean_state() 30 3.583e-05 3.583e-05 3.583e-05 0.01% MLMG::solve() 6 3.541e-05 3.541e-05 3.541e-05 0.01% Castro::advance() 5 3.292e-05 3.292e-05 3.292e-05 0.01% Amr::writeSmallPlotFile() 1 3.213e-05 3.213e-05 3.213e-05 0.01% Castro::buildMetrics() 1 3.005e-05 3.005e-05 3.005e-05 0.01% Castro::finalize_advance() 5 2.991e-05 2.991e-05 2.991e-05 0.01% Castro::post_restart() 1 2.906e-05 2.906e-05 2.906e-05 0.01% Castro::do_new_sources() 5 2.901e-05 2.901e-05 2.901e-05 0.01% MLMG::mgVcycle_up::4 36 2.882e-05 2.882e-05 2.882e-05 0.01% Castro::construct_old_source() 25 2.825e-05 2.825e-05 2.825e-05 0.01% MLMG::mgVcycle_up::3 36 2.66e-05 2.66e-05 2.66e-05 0.01% MLMG::oneIter() 36 2.54e-05 2.54e-05 2.54e-05 0.01% MLMG::mgVcycle_up::0 36 2.539e-05 2.539e-05 2.539e-05 0.01% MLMG::mgVcycle_up::2 36 2.503e-05 2.503e-05 2.503e-05 0.01% Castro::swap_state_time_levels() 5 2.471e-05 2.471e-05 2.471e-05 0.01% Castro::initMFs() 1 2.453e-05 2.453e-05 2.453e-05 0.01% MLCellLinOp::solutionResidual() 42 2.445e-05 2.445e-05 2.445e-05 0.01% MLMG::mgVcycle_up::1 36 2.418e-05 2.418e-05 2.418e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.275e-05 2.275e-05 2.275e-05 0.01% MLMG::ResNormInf() 42 1.982e-05 1.982e-05 1.982e-05 0.00% MLMG::mgVcycle_bottom 36 1.707e-05 1.707e-05 1.707e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.666e-05 1.666e-05 1.666e-05 0.00% MLMG::computeResidual() 36 1.574e-05 1.574e-05 1.574e-05 0.00% Castro::construct_new_gravity() 5 1.566e-05 1.566e-05 1.566e-05 0.00% FillPatchSingleLevel 20 1.529e-05 1.529e-05 1.529e-05 0.00% makeSFC 30 1.451e-05 1.451e-05 1.451e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.385e-05 1.385e-05 1.385e-05 0.00% MLPoisson::define() 6 1.371e-05 1.371e-05 1.371e-05 0.00% Castro::do_old_sources() 5 1.167e-05 1.167e-05 1.167e-05 0.00% MLPoisson::prepareForSolve() 6 1.133e-05 1.133e-05 1.133e-05 0.00% DistributionMapping::Distribute() 31 1.032e-05 1.032e-05 1.032e-05 0.00% Amr::initSubcycle() 1 8.358e-06 8.358e-06 8.358e-06 0.00% Gravity::actual_multilevel_solve() 1 8.094e-06 8.094e-06 8.094e-06 0.00% Castro::check_for_nan() 10 7.572e-06 7.572e-06 7.572e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.336e-06 7.336e-06 7.336e-06 0.00% MLLinOp::define() 6 7.275e-06 7.275e-06 7.275e-06 0.00% Castro::construct_old_gravity() 5 6.434e-06 6.434e-06 6.434e-06 0.00% Castro::apply_source_to_state() 10 5.598e-06 5.598e-06 5.598e-06 0.00% MLMG::computeMLResidual() 6 4.804e-06 4.804e-06 4.804e-06 0.00% Gravity::swapTimeLevels() 5 4.362e-06 4.362e-06 4.362e-06 0.00% MLMG::getGradSolution() 6 3.627e-06 3.627e-06 3.627e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.421e-06 3.421e-06 3.421e-06 0.00% Castro::computeNewDt() 5 2.901e-06 2.901e-06 2.901e-06 0.00% MLMG::MLResNormInf() 6 2.814e-06 2.814e-06 2.814e-06 0.00% Castro::expand_state() 5 2.81e-06 2.81e-06 2.81e-06 0.00% Castro::retry_advance_ctu() 5 2.626e-06 2.626e-06 2.626e-06 0.00% Gravity::set_mass_offset() 6 2.524e-06 2.524e-06 2.524e-06 0.00% MLMG::MLRhsNormInf() 6 2.37e-06 2.37e-06 2.37e-06 0.00% Castro::FluxRegFineAdd() 5 1.425e-06 1.425e-06 1.425e-06 0.00% Castro::FluxRegCrseInit 5 1.411e-06 1.411e-06 1.411e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.95e-07 9.95e-07 9.95e-07 0.00% Amr::init() 1 9.06e-07 9.06e-07 9.06e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4493 0.4493 0.4493 100.00% Amr::coarseTimeStep() 5 0.3483 0.3483 0.3483 77.51% Amr::timeStep() 5 0.3461 0.3461 0.3461 77.04% Castro::advance() 5 0.3402 0.3402 0.3402 75.72% Castro::subcycle_advance_ctu() 5 0.3327 0.3327 0.3327 74.06% Castro::do_advance_ctu() 5 0.3326 0.3326 0.3326 74.04% Castro::construct_ctu_hydro_source() 5 0.1502 0.1502 0.1502 33.43% Castro::construct_new_gravity() 5 0.1451 0.1451 0.1451 32.31% Gravity::solve_phi_with_mlmg() 6 0.1426 0.1426 0.1426 31.73% Gravity::actual_solve_with_mlmg() 6 0.1369 0.1369 0.1369 30.46% Gravity::solve_for_phi() 5 0.1368 0.1368 0.1368 30.46% MLMG::solve() 6 0.1246 0.1246 0.1246 27.73% MLMG::oneIter() 36 0.1168 0.1168 0.1168 26.00% MLMG::mgVcycle() 36 0.1152 0.1152 0.1152 25.65% Amr::init() 1 0.07179 0.07179 0.07179 15.98% Amr::restart() 1 0.07179 0.07179 0.07179 15.98% MLCellLinOp::smooth() 720 0.06075 0.06075 0.06075 13.52% AmrLevel::restart() 1 0.06054 0.06054 0.06054 13.47% StateData::restartDoit() 4 0.06045 0.06045 0.06045 13.46% VisMF::Read() 3 0.06016 0.06016 0.06016 13.39% MLCellLinOp::applyBC() 1910 0.05004 0.05004 0.05004 11.14% MLMG::mgVcycle_bottom 36 0.03225 0.03225 0.03225 7.18% MLMG::actualBottomSolve() 36 0.03224 0.03224 0.03224 7.18% MLCGSolver::bicgstab 36 0.03186 0.03186 0.03186 7.09% Amr::writePlotFile() 1 0.02842 0.02842 0.02842 6.33% Castro::clean_state() 30 0.02771 0.02771 0.02771 6.17% VisMF::Write(FabArray) 1 0.02585 0.02585 0.02585 5.75% AmrLevel::FillPatch() 20 0.02361 0.02361 0.02361 5.25% MLPoisson::Fsmooth() 1440 0.02188 0.02188 0.02188 4.87% FillPatchIterator::Initialize 20 0.0215 0.0215 0.0215 4.78% FillPatchIterator::FillFromLevel0() 20 0.02068 0.02068 0.02068 4.60% FillPatchSingleLevel 20 0.02066 0.02066 0.02066 4.60% StateDataPhysBCFunct::() 20 0.01859 0.01859 0.01859 4.14% MLCellLinOp::apply() 464 0.0163 0.0163 0.0163 3.63% MLMG::mgVcycle_down::0 36 0.01537 0.01537 0.01537 3.42% MLMG::mgVcycle_down::3 36 0.01386 0.01386 0.01386 3.09% FabArray::FillBoundary() 1730 0.01366 0.01366 0.01366 3.04% FillBoundary_nowait() 1730 0.01328 0.01328 0.01328 2.96% StateData::FillBoundary(geom) 160 0.01311 0.01311 0.01311 2.92% MLMG::mgVcycle_up::0 36 0.01139 0.01139 0.01139 2.53% Castro::initialize_do_advance() 5 0.01082 0.01082 0.01082 2.41% Castro::computeTemp() 30 0.01022 0.01022 0.01022 2.27% Castro::normalize_species() 30 0.009669 0.009669 0.009669 2.15% MLPoisson::define() 6 0.009585 0.009585 0.009585 2.13% Castro::do_old_sources() 5 0.009574 0.009574 0.009574 2.13% amrex::Dot() 484 0.009371 0.009371 0.009371 2.09% MLMG:computeResOfCorrection() 180 0.009089 0.009089 0.009089 2.02% MLCellLinOp::correctionResidual() 180 0.009025 0.009025 0.009025 2.01% FabArray::norminf() 465 0.008812 0.008812 0.008812 1.96% Gravity::get_new_grav_vector() 5 0.008177 0.008177 0.008177 1.82% Castro::construct_old_gravity() 5 0.007813 0.007813 0.007813 1.74% Gravity::get_old_grav_vector() 5 0.007807 0.007807 0.007807 1.74% MLMG::mgVcycle_down::1 36 0.007549 0.007549 0.007549 1.68% Castro::do_new_sources() 5 0.007318 0.007318 0.007318 1.63% Castro::initialize_advance() 5 0.007092 0.007092 0.007092 1.58% MLMG::mgVcycle_down::2 36 0.006908 0.006908 0.006908 1.54% FabArray::ParallelCopy() 380 0.006783 0.006783 0.006783 1.51% FabArray::setVal() 501 0.006695 0.006695 0.006695 1.49% MLMG::mgVcycle_down::4 36 0.006688 0.006688 0.006688 1.49% FabArray::ParallelCopy_nowait() 380 0.006667 0.006667 0.006667 1.48% Castro::enforce_min_density() 30 0.006613 0.006613 0.006613 1.47% MLCellLinOp::defineAuxData() 6 0.006468 0.006468 0.006468 1.44% Castro::post_restart() 1 0.006322 0.006322 0.006322 1.41% Castro::expand_state() 5 0.00625 0.00625 0.00625 1.39% FabArray::Saxpy() 597 0.005956 0.005956 0.005956 1.33% Gravity::multilevel_solve_for_new_phi() 1 0.005938 0.005938 0.005938 1.32% Gravity::actual_multilevel_solve() 1 0.005921 0.005921 0.005921 1.32% Castro::post_timestep() 5 0.005839 0.005839 0.005839 1.30% MLCGSolver::ParallelAllReduce 798 0.005736 0.005736 0.005736 1.28% Gravity::fill_multipole_BCs() 6 0.005552 0.005552 0.005552 1.24% MLMG::addInterpCorrection() 180 0.005539 0.005539 0.005539 1.23% amrex::Copy() 221 0.00549 0.00549 0.00549 1.22% amrex::average_down 180 0.005453 0.005453 0.005453 1.21% MLMG::mgVcycle_up::1 36 0.005379 0.005379 0.005379 1.20% MLMG::mgVcycle_up::4 36 0.005351 0.005351 0.005351 1.19% MLMG::mgVcycle_up::2 36 0.005255 0.005255 0.005255 1.17% MLMG::mgVcycle_up::3 36 0.00513 0.00513 0.00513 1.14% MLPoisson::Fapply() 464 0.004614 0.004614 0.004614 1.03% MLCellLinOp::solutionResidual() 42 0.00368 0.00368 0.00368 0.82% FabArray::Xpay() 325 0.003561 0.003561 0.003561 0.79% Castro::estTimeStep() 10 0.003156 0.003156 0.003156 0.70% MLCellLinOp::defineBC() 6 0.002965 0.002965 0.002965 0.66% MLMG::prepareForSolve() 6 0.002937 0.002937 0.002937 0.65% MLMG::computeResidual() 36 0.002875 0.002875 0.002875 0.64% BndryData::define() 6 0.002811 0.002811 0.002811 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002797 0.002797 0.002797 0.62% Castro::computeNewDt() 5 0.001963 0.001963 0.001963 0.44% Castro::construct_new_source() 25 0.00196 0.00196 0.00196 0.44% Castro::construct_new_gravity_source() 5 0.001868 0.001868 0.001868 0.42% amrex::Add() 36 0.001551 0.001551 0.001551 0.35% Castro::construct_old_source() 25 0.001497 0.001497 0.001497 0.33% Castro::construct_old_gravity_source() 5 0.001469 0.001469 0.001469 0.33% Castro::finalize_do_advance() 5 0.00124 0.00124 0.00124 0.28% Castro::enforce_speed_limit() 30 0.001171 0.001171 0.001171 0.26% MLMG::ResNormInf() 42 0.001004 0.001004 0.001004 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009995 0.0009995 0.0009995 0.22% Castro::apply_source_to_state() 10 0.0009727 0.0009727 0.0009727 0.22% check_for_negative_density() 5 0.0009455 0.0009455 0.0009455 0.21% MLMG::getGradSolution() 6 0.0009103 0.0009103 0.0009103 0.20% MLCellLinOp::compGrad() 6 0.0009067 0.0009067 0.0009067 0.20% MLCellLinOp::setLevelBC() 6 0.0008775 0.0008775 0.0008775 0.20% MLMG::computeMLResidual() 6 0.0008257 0.0008257 0.0008257 0.18% Castro::reset_internal_energy(Fab) 240 0.0008067 0.0008067 0.0008067 0.18% FabArrayBase::getCPC() 632 0.0008061 0.0008061 0.0008061 0.18% MLPoisson::prepareForSolve() 6 0.0007801 0.0007801 0.0007801 0.17% MLCellLinOp::prepareForSolve() 6 0.0007687 0.0007687 0.0007687 0.17% Gravity::update_max_rhs() 6 0.000741 0.000741 0.000741 0.16% FabArray::mult() 22 0.0007086 0.0007086 0.0007086 0.16% FabArray::setDomainBndry() 20 0.0007036 0.0007036 0.0007036 0.16% Castro::check_for_nan() 10 0.0006617 0.0006617 0.0006617 0.15% MultiFab::contains_nan() 10 0.0006541 0.0006541 0.0006541 0.15% Amr::InitAmr() 1 0.0004827 0.0004827 0.0004827 0.11% FabArrayBase::CPC::define() 244 0.0004234 0.0004234 0.0004234 0.09% FabArrayBase::getFB() 1730 0.0003385 0.0003385 0.0003385 0.08% Castro::finalize_advance() 5 0.0002995 0.0002995 0.0002995 0.07% Gravity::swapTimeLevels() 5 0.0002471 0.0002471 0.0002471 0.05% MultiFab::max() 6 0.0002186 0.0002186 0.0002186 0.05% MLMG::MLResNormInf() 6 0.000195 0.000195 0.000195 0.04% Castro::buildMetrics() 1 0.0001661 0.0001661 0.0001661 0.04% MLLinOp::define() 6 0.0001388 0.0001388 0.0001388 0.03% MLLinOp::defineGrids() 6 0.0001315 0.0001315 0.0001315 0.03% MLMG::MLRhsNormInf() 6 0.0001233 0.0001233 0.0001233 0.03% Castro::create_source_corrector() 5 7.988e-05 7.988e-05 7.988e-05 0.02% FabArrayBase::FB::FB() 26 6.042e-05 6.042e-05 6.042e-05 0.01% Amr::writeSmallPlotFile() 1 3.213e-05 3.213e-05 3.213e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.076e-05 3.076e-05 3.076e-05 0.01% Castro::swap_state_time_levels() 5 2.471e-05 2.471e-05 2.471e-05 0.01% Castro::initMFs() 1 2.453e-05 2.453e-05 2.453e-05 0.01% makeSFC 30 2.343e-05 2.343e-05 2.343e-05 0.01% DistributionMapping::Distribute() 31 1.032e-05 1.032e-05 1.032e-05 0.00% Amr::initSubcycle() 1 8.358e-06 8.358e-06 8.358e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.821e-06 4.821e-06 4.821e-06 0.00% Castro::retry_advance_ctu() 5 2.626e-06 2.626e-06 2.626e-06 0.00% Gravity::set_mass_offset() 6 2.524e-06 2.524e-06 2.524e-06 0.00% Castro::FluxRegFineAdd() 5 1.425e-06 1.425e-06 1.425e-06 0.00% Castro::FluxRegCrseInit 5 1.411e-06 1.411e-06 1.411e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.95e-07 9.95e-07 9.95e-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 177 MiB 9042 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 1049 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1698 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 6465 KiB 14 MiB MLMG::prepareForSolve() 361 361 3406 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 180 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6452 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3283 B 2048 KiB Gravity::solve_for_phi() 40 40 622 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 313 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3371 B 480 KiB VisMF::Write(FabArray) 112 112 2285 B 320 KiB Castro::normalize_species() 30 30 7003 B 320 KiB amrex::average_down 469 469 1505 B 257 KiB MLMG::addInterpCorrection() 468 468 1058 B 257 KiB amrex::Dot() 592 592 3070 B 160 KiB FabArray::norminf() 501 501 3021 B 160 KiB check_for_negative_density() 5 5 338 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3305 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 249 B 9648 B MLCellLinOp::applyBC() 3820 3820 201 B 9344 B amrex::Copy() 56 56 5909 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2736 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 352 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1073 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 151 KiB 3584 KiB VisMF::Read() 24 24 201 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3305 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 249 B 9648 B MLCellLinOp::applyBC() 1910 1910 200 B 9328 B amrex::Copy() 56 56 5909 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2535 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2736 B MLMG::prepareForSolve() 7 7 808 B 1648 B amrex::average_down 37 37 464 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-30-g2ecafcff4013) finalized