Initializing AMReX (24.01-38-g689144d157a0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-38-g689144d157a0) initialized Starting run at 09:33:06 UTC on 2024-02-01. Successfully read inputs file ... Castro git describe: 24.01-24-g6d8abef7c AMReX git describe: 24.01-38-g689144d15 Microphysics git describe: 24.01-19-g6d5a4e1a 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.04394312 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024053114 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.064607281 [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.069555559 [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.077324419 [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.063383691 [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.059934637 [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.043641354 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.066281116 [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.06946656 [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.061279269 [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.054047993 [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.058887995 [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.041775089 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024136969 seconds Ending run at 09:33:07 UTC on 2024-02-01. Run time = 0.877413703 Run time without initialization = 0.754961672 Average number of zones advanced per microsecond: 3.472 Average number of zones advanced per microsecond per rank: 3.472 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8774 ... 0.8774 ... 0.8774 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2729 0.2729 0.2729 31.10% VisMF::Write(FabArray) 11 0.1689 0.1689 0.1689 19.25% MLCellLinOp::applyBC() 4351 0.07885 0.07885 0.07885 8.99% MLPoisson::Fsmooth() 3280 0.03343 0.03343 0.03343 3.81% FillBoundary_nowait() 3941 0.03061 0.03061 0.03061 3.49% StateData::FillBoundary(geom) 328 0.02613 0.02613 0.02613 2.98% amrex::Dot() 1114 0.021 0.021 0.021 2.39% Castro::normalize_species() 62 0.01998 0.01998 0.01998 2.28% FabArray::norminf() 1061 0.01952 0.01952 0.01952 2.22% Castro::computeTemp() 63 0.01614 0.01614 0.01614 1.84% FabArray::ParallelCopy_nowait() 861 0.01323 0.01323 0.01323 1.51% FabArray::setVal() 1062 0.01297 0.01297 0.01297 1.48% FabArray::Saxpy() 1370 0.01291 0.01291 0.01291 1.47% Castro::enforce_min_density() 62 0.01175 0.01175 0.01175 1.34% StateDataPhysBCFunct::() 41 0.01147 0.01147 0.01147 1.31% amrex::Copy() 472 0.01067 0.01067 0.01067 1.22% MLCellLinOp::defineAuxData() 11 0.01018 0.01018 0.01018 1.16% MLPoisson::Fapply() 1060 0.01012 0.01012 0.01012 1.15% Gravity::fill_multipole_BCs() 11 0.008576 0.008576 0.008576 0.98% FabArray::Xpay() 739 0.007705 0.007705 0.007705 0.88% MLMG::addInterpCorrection() 410 0.006878 0.006878 0.006878 0.78% Castro::estTimeStep() 21 0.006457 0.006457 0.006457 0.74% amrex::average_down 410 0.006155 0.006155 0.006155 0.70% Amr::checkPoint() 3 0.006022 0.006022 0.006022 0.69% Castro::reset_internal_energy(MultiFab) 63 0.005285 0.005285 0.005285 0.60% BndryData::define() 11 0.003704 0.003704 0.003704 0.42% amrex::Add() 82 0.003594 0.003594 0.003594 0.41% Castro::construct_new_gravity_source() 10 0.003514 0.003514 0.003514 0.40% Castro::construct_old_gravity_source() 10 0.002987 0.002987 0.002987 0.34% Amr::writePlotFile() 2 0.002081 0.002081 0.002081 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001769 0.001769 0.001769 0.20% MLCGSolver::bicgstab 82 0.001726 0.001726 0.001726 0.20% check_for_negative_density() 10 0.001714 0.001714 0.001714 0.20% Castro::enforce_speed_limit() 62 0.001631 0.001631 0.001631 0.19% Castro::reset_internal_energy(Fab) 504 0.001584 0.001584 0.001584 0.18% Gravity::actual_solve_with_mlmg() 11 0.001579 0.001579 0.001579 0.18% Castro::initData() 1 0.001554 0.001554 0.001554 0.18% MLCellLinOp::setLevelBC() 11 0.001552 0.001552 0.001552 0.18% FabArray::mult() 43 0.001357 0.001357 0.001357 0.15% MLCellLinOp::prepareForSolve() 11 0.00133 0.00133 0.00133 0.15% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.15% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.14% MLCellLinOp::smooth() 1640 0.001229 0.001229 0.001229 0.14% MLCellLinOp::compGrad() 11 0.001062 0.001062 0.001062 0.12% MLMG::prepareForSolve() 11 0.0009994 0.0009994 0.0009994 0.11% FabArray::FillBoundary() 3941 0.0009093 0.0009093 0.0009093 0.10% FabArrayBase::getCPC() 1323 0.000786 0.000786 0.000786 0.09% FabArrayBase::CPC::define() 454 0.0006821 0.0006821 0.0006821 0.08% FabArrayBase::getFB() 3941 0.0006597 0.0006597 0.0006597 0.08% Gravity::get_new_grav_vector() 11 0.0006033 0.0006033 0.0006033 0.07% Amr::InitAmr() 1 0.0005592 0.0005592 0.0005592 0.06% Gravity::get_old_grav_vector() 10 0.0004825 0.0004825 0.0004825 0.05% MLCellLinOp::apply() 1060 0.0004467 0.0004467 0.0004467 0.05% AmrLevel::FillPatch() 41 0.0004067 0.0004067 0.0004067 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003433 0.0003433 0.0003433 0.04% Amr::coarseTimeStep() 10 0.0003409 0.0003409 0.0003409 0.04% MultiFab::max() 11 0.0003244 0.0003244 0.0003244 0.04% main() 1 0.0002985 0.0002985 0.0002985 0.03% MLCellLinOp::defineBC() 11 0.0002779 0.0002779 0.0002779 0.03% FabArray::ParallelCopy() 861 0.0002636 0.0002636 0.0002636 0.03% FillPatchIterator::Initialize 41 0.0002181 0.0002181 0.0002181 0.02% MLMG::mgVcycle() 82 0.0001927 0.0001927 0.0001927 0.02% MLCellLinOp::correctionResidual() 410 0.0001897 0.0001897 0.0001897 0.02% MLLinOp::defineGrids() 11 0.0001873 0.0001873 0.0001873 0.02% Castro::subcycle_advance_ctu() 10 0.0001837 0.0001837 0.0001837 0.02% Castro::create_source_corrector() 10 0.0001766 0.0001766 0.0001766 0.02% Amr::timeStep() 10 0.0001708 0.0001708 0.0001708 0.02% Castro::construct_new_source() 50 0.0001589 0.0001589 0.0001589 0.02% StateData::checkPoint() 12 0.000138 0.000138 0.000138 0.02% Gravity::update_max_rhs() 11 0.0001314 0.0001314 0.0001314 0.01% MLMG:computeResOfCorrection() 410 0.0001234 0.0001234 0.0001234 0.01% Gravity::solve_for_phi() 10 0.0001196 0.0001196 0.0001196 0.01% Castro::advance() 10 0.0001164 0.0001164 0.0001164 0.01% MLMG::mgVcycle_down::0 82 9.496e-05 9.496e-05 9.496e-05 0.01% MLMG::actualBottomSolve() 82 9.312e-05 9.312e-05 9.312e-05 0.01% Castro::Castro() 1 9.13e-05 9.13e-05 9.13e-05 0.01% FabArrayBase::FB::FB() 56 9.094e-05 9.094e-05 9.094e-05 0.01% MLMG::mgVcycle_down::1 82 8.366e-05 8.366e-05 8.366e-05 0.01% Castro::initialize_advance() 10 7.926e-05 7.926e-05 7.926e-05 0.01% MLMG::mgVcycle_down::2 82 7.835e-05 7.835e-05 7.835e-05 0.01% AmrLevel::checkPoint() 3 7.781e-05 7.781e-05 7.781e-05 0.01% MLMG::mgVcycle_down::4 82 7.586e-05 7.586e-05 7.586e-05 0.01% Castro::clean_state() 62 7.546e-05 7.546e-05 7.546e-05 0.01% MLMG::mgVcycle_down::3 82 7.27e-05 7.27e-05 7.27e-05 0.01% MLMG::solve() 11 7.13e-05 7.13e-05 7.13e-05 0.01% Castro::enforce_consistent_e() 1 6.98e-05 6.98e-05 6.98e-05 0.01% Castro::finalize_advance() 10 6.455e-05 6.455e-05 6.455e-05 0.01% MLMG::mgVcycle_up::4 82 6.388e-05 6.388e-05 6.388e-05 0.01% Castro::initialize_do_advance() 10 6.129e-05 6.129e-05 6.129e-05 0.01% Castro::finalize_do_advance() 10 5.886e-05 5.886e-05 5.886e-05 0.01% MLMG::oneIter() 82 5.507e-05 5.507e-05 5.507e-05 0.01% MLMG::mgVcycle_up::0 82 5.226e-05 5.226e-05 5.226e-05 0.01% MLCellLinOp::solutionResidual() 93 5.084e-05 5.084e-05 5.084e-05 0.01% Castro::do_advance_ctu() 10 5.01e-05 5.01e-05 5.01e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.991e-05 4.991e-05 4.991e-05 0.01% MLMG::mgVcycle_up::3 82 4.979e-05 4.979e-05 4.979e-05 0.01% MLMG::mgVcycle_up::1 82 4.826e-05 4.826e-05 4.826e-05 0.01% MLMG::mgVcycle_up::2 82 4.769e-05 4.769e-05 4.769e-05 0.01% MLMG::ResNormInf() 93 3.947e-05 3.947e-05 3.947e-05 0.00% StateData::define() 4 3.898e-05 3.898e-05 3.898e-05 0.00% Castro::swap_state_time_levels() 10 3.704e-05 3.704e-05 3.704e-05 0.00% Castro::construct_new_gravity() 10 3.612e-05 3.612e-05 3.612e-05 0.00% MLMG::mgVcycle_bottom 82 3.54e-05 3.54e-05 3.54e-05 0.00% FillPatchSingleLevel 41 3.514e-05 3.514e-05 3.514e-05 0.00% MLMG::computeResidual() 82 3.397e-05 3.397e-05 3.397e-05 0.00% Amr::writeSmallPlotFile() 1 3.288e-05 3.288e-05 3.288e-05 0.00% Castro::initMFs() 1 3.184e-05 3.184e-05 3.184e-05 0.00% Amr::FinalizeInit() 1 2.78e-05 2.78e-05 2.78e-05 0.00% Castro::buildMetrics() 1 2.553e-05 2.553e-05 2.553e-05 0.00% makeSFC 55 2.499e-05 2.499e-05 2.499e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.44e-05 2.44e-05 2.44e-05 0.00% Amr::defBaseLevel() 1 2.34e-05 2.34e-05 2.34e-05 0.00% MLPoisson::define() 11 2.197e-05 2.197e-05 2.197e-05 0.00% Castro::do_old_sources() 10 2.163e-05 2.163e-05 2.163e-05 0.00% Castro::construct_old_source() 50 1.917e-05 1.917e-05 1.917e-05 0.00% Castro::do_new_sources() 10 1.907e-05 1.907e-05 1.907e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.849e-05 1.849e-05 1.849e-05 0.00% DistributionMapping::Distribute() 56 1.749e-05 1.749e-05 1.749e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.699e-05 1.699e-05 1.699e-05 0.00% MLPoisson::prepareForSolve() 11 1.477e-05 1.477e-05 1.477e-05 0.00% MLMG::computeMLResidual() 11 1.414e-05 1.414e-05 1.414e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.39e-05 1.39e-05 1.39e-05 0.00% Castro::apply_source_to_state() 20 1.18e-05 1.18e-05 1.18e-05 0.00% MLLinOp::define() 11 1.18e-05 1.18e-05 1.18e-05 0.00% Castro::construct_old_gravity() 10 1.165e-05 1.165e-05 1.165e-05 0.00% Castro::check_for_nan() 20 1.091e-05 1.091e-05 1.091e-05 0.00% Castro::post_init() 1 1.055e-05 1.055e-05 1.055e-05 0.00% Gravity::swapTimeLevels() 10 9.808e-06 9.808e-06 9.808e-06 0.00% Amr::initSubcycle() 1 9.157e-06 9.157e-06 9.157e-06 0.00% Gravity::actual_multilevel_solve() 1 7.684e-06 7.684e-06 7.684e-06 0.00% Castro::post_timestep() 10 7.466e-06 7.466e-06 7.466e-06 0.00% AmrLevel::checkPointPost() 3 6.465e-06 6.465e-06 6.465e-06 0.00% Castro::expand_state() 10 6.184e-06 6.184e-06 6.184e-06 0.00% MLMG::getGradSolution() 11 6.161e-06 6.161e-06 6.161e-06 0.00% Castro::computeNewDt() 9 5.726e-06 5.726e-06 5.726e-06 0.00% MLMG::MLRhsNormInf() 11 4.953e-06 4.953e-06 4.953e-06 0.00% Amr::InitializeInit() 1 4.474e-06 4.474e-06 4.474e-06 0.00% MLMG::MLResNormInf() 11 4.348e-06 4.348e-06 4.348e-06 0.00% Castro::computeInitialDt() 2 4.168e-06 4.168e-06 4.168e-06 0.00% Castro::retry_advance_ctu() 10 4.074e-06 4.074e-06 4.074e-06 0.00% Gravity::set_mass_offset() 11 3.841e-06 3.841e-06 3.841e-06 0.00% Castro::FluxRegCrseInit 10 3.105e-06 3.105e-06 3.105e-06 0.00% Amr::init() 1 2.963e-06 2.963e-06 2.963e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.926e-06 2.926e-06 2.926e-06 0.00% Castro::FluxRegFineAdd() 10 2.195e-06 2.195e-06 2.195e-06 0.00% AmrLevel::checkPointPre() 3 2.139e-06 2.139e-06 2.139e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.032e-06 2.032e-06 2.032e-06 0.00% Castro::post_regrid() 1 1.279e-06 1.279e-06 1.279e-06 0.00% Amr::initialInit() 1 1.056e-06 1.056e-06 1.056e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8774 0.8774 0.8774 100.00% Amr::coarseTimeStep() 10 0.7306 0.7306 0.7306 83.26% Amr::timeStep() 10 0.6412 0.6412 0.6412 73.08% Castro::advance() 10 0.6313 0.6313 0.6313 71.95% Castro::subcycle_advance_ctu() 10 0.6187 0.6187 0.6187 70.51% Castro::do_advance_ctu() 10 0.6185 0.6185 0.6185 70.49% Gravity::solve_phi_with_mlmg() 11 0.2892 0.2892 0.2892 32.96% Castro::construct_ctu_hydro_source() 10 0.2827 0.2827 0.2827 32.22% Gravity::actual_solve_with_mlmg() 11 0.2802 0.2802 0.2802 31.93% Castro::construct_new_gravity() 10 0.2612 0.2612 0.2612 29.77% MLMG::solve() 11 0.2586 0.2586 0.2586 29.47% Gravity::solve_for_phi() 10 0.2451 0.2451 0.2451 27.93% MLMG::oneIter() 82 0.2434 0.2434 0.2434 27.74% MLMG::mgVcycle() 82 0.2397 0.2397 0.2397 27.32% VisMF::Write(FabArray) 11 0.1689 0.1689 0.1689 19.25% Amr::checkPoint() 3 0.1295 0.1295 0.1295 14.76% AmrLevel::checkPoint() 3 0.1234 0.1234 0.1234 14.07% StateData::checkPoint() 12 0.1234 0.1234 0.1234 14.06% Amr::init() 1 0.1218 0.1218 0.1218 13.88% MLCellLinOp::smooth() 1640 0.1201 0.1201 0.1201 13.69% MLCellLinOp::applyBC() 4351 0.1111 0.1111 0.1111 12.66% MLMG::mgVcycle_bottom 82 0.07153 0.07153 0.07153 8.15% MLMG::actualBottomSolve() 82 0.07149 0.07149 0.07149 8.15% MLCGSolver::bicgstab 82 0.07075 0.07075 0.07075 8.06% Castro::clean_state() 62 0.05542 0.05542 0.05542 6.32% Amr::initialInit() 1 0.05364 0.05364 0.05364 6.11% Amr::FinalizeInit() 1 0.04832 0.04832 0.04832 5.51% Amr::writePlotFile() 2 0.04831 0.04831 0.04831 5.51% AmrLevel::FillPatch() 41 0.04749 0.04749 0.04749 5.41% Castro::post_init() 1 0.04683 0.04683 0.04683 5.34% Gravity::multilevel_solve_for_new_phi() 1 0.04455 0.04455 0.04455 5.08% Gravity::actual_multilevel_solve() 1 0.04454 0.04454 0.04454 5.08% FillPatchIterator::Initialize 41 0.04326 0.04326 0.04326 4.93% FillPatchIterator::FillFromLevel0() 41 0.04172 0.04172 0.04172 4.75% FillPatchSingleLevel 41 0.04167 0.04167 0.04167 4.75% StateDataPhysBCFunct::() 41 0.0376 0.0376 0.0376 4.29% MLCellLinOp::apply() 1060 0.03572 0.03572 0.03572 4.07% MLMG::mgVcycle_down::0 82 0.03418 0.03418 0.03418 3.90% MLPoisson::Fsmooth() 3280 0.03343 0.03343 0.03343 3.81% FabArray::FillBoundary() 3941 0.03227 0.03227 0.03227 3.68% FillBoundary_nowait() 3941 0.03136 0.03136 0.03136 3.57% StateData::FillBoundary(geom) 328 0.02613 0.02613 0.02613 2.98% MLMG::mgVcycle_up::0 82 0.02582 0.02582 0.02582 2.94% Castro::computeTemp() 63 0.02301 0.02301 0.02301 2.62% Castro::initialize_do_advance() 10 0.02196 0.02196 0.02196 2.50% amrex::Dot() 1114 0.021 0.021 0.021 2.39% MLMG:computeResOfCorrection() 410 0.02021 0.02021 0.02021 2.30% MLCellLinOp::correctionResidual() 410 0.02008 0.02008 0.02008 2.29% Castro::normalize_species() 62 0.01998 0.01998 0.01998 2.28% FabArray::norminf() 1061 0.01952 0.01952 0.01952 2.22% Castro::do_old_sources() 10 0.01939 0.01939 0.01939 2.21% Gravity::get_new_grav_vector() 11 0.01796 0.01796 0.01796 2.05% MLPoisson::define() 11 0.01689 0.01689 0.01689 1.93% MLMG::mgVcycle_down::1 82 0.01644 0.01644 0.01644 1.87% MLMG::mgVcycle_down::2 82 0.01529 0.01529 0.01529 1.74% Castro::construct_old_gravity() 10 0.01509 0.01509 0.01509 1.72% Gravity::get_old_grav_vector() 10 0.01508 0.01508 0.01508 1.72% MLMG::mgVcycle_down::3 82 0.01495 0.01495 0.01495 1.70% MLMG::mgVcycle_down::4 82 0.01474 0.01474 0.01474 1.68% Castro::do_new_sources() 10 0.01449 0.01449 0.01449 1.65% FabArray::ParallelCopy() 861 0.01428 0.01428 0.01428 1.63% FabArray::ParallelCopy_nowait() 861 0.01402 0.01402 0.01402 1.60% FabArray::setVal() 1062 0.01297 0.01297 0.01297 1.48% FabArray::Saxpy() 1370 0.01291 0.01291 0.01291 1.47% MLCGSolver::ParallelAllReduce 1832 0.01262 0.01262 0.01262 1.44% Castro::expand_state() 10 0.01199 0.01199 0.01199 1.37% MLMG::addInterpCorrection() 410 0.01195 0.01195 0.01195 1.36% Castro::initialize_advance() 10 0.01191 0.01191 0.01191 1.36% MLMG::mgVcycle_up::1 82 0.01187 0.01187 0.01187 1.35% MLMG::mgVcycle_up::4 82 0.01177 0.01177 0.01177 1.34% Castro::enforce_min_density() 62 0.01175 0.01175 0.01175 1.34% MLCellLinOp::defineAuxData() 11 0.01163 0.01163 0.01163 1.33% MLMG::mgVcycle_up::2 82 0.01161 0.01161 0.01161 1.32% MLMG::mgVcycle_up::3 82 0.01134 0.01134 0.01134 1.29% amrex::average_down 410 0.01133 0.01133 0.01133 1.29% amrex::Copy() 472 0.01067 0.01067 0.01067 1.22% MLPoisson::Fapply() 1060 0.01012 0.01012 0.01012 1.15% Castro::post_timestep() 10 0.009706 0.009706 0.009706 1.11% Gravity::fill_multipole_BCs() 11 0.008827 0.008827 0.008827 1.01% FabArray::Xpay() 739 0.007705 0.007705 0.007705 0.88% MLCellLinOp::solutionResidual() 93 0.007599 0.007599 0.007599 0.87% Castro::reset_internal_energy(MultiFab) 63 0.006869 0.006869 0.006869 0.78% Castro::estTimeStep() 21 0.006457 0.006457 0.006457 0.74% MLMG::computeResidual() 82 0.00631 0.00631 0.00631 0.72% Amr::InitializeInit() 1 0.005317 0.005317 0.005317 0.61% Amr::defBaseLevel() 1 0.005313 0.005313 0.005313 0.61% MLMG::prepareForSolve() 11 0.005117 0.005117 0.005117 0.58% MLCellLinOp::defineBC() 11 0.004983 0.004983 0.004983 0.57% BndryData::define() 11 0.004706 0.004706 0.004706 0.54% Castro::initData() 1 0.004638 0.004638 0.004638 0.53% Castro::construct_new_source() 50 0.003673 0.003673 0.003673 0.42% amrex::Add() 82 0.003594 0.003594 0.003594 0.41% Castro::construct_new_gravity_source() 10 0.003514 0.003514 0.003514 0.40% Castro::construct_old_source() 50 0.003007 0.003007 0.003007 0.34% Castro::construct_old_gravity_source() 10 0.002987 0.002987 0.002987 0.34% Castro::computeNewDt() 9 0.002717 0.002717 0.002717 0.31% Castro::finalize_do_advance() 10 0.002686 0.002686 0.002686 0.31% MLMG::ResNormInf() 93 0.002164 0.002164 0.002164 0.25% Castro::apply_source_to_state() 20 0.001861 0.001861 0.001861 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001769 0.001769 0.001769 0.20% check_for_negative_density() 10 0.001714 0.001714 0.001714 0.20% Castro::enforce_speed_limit() 62 0.001631 0.001631 0.001631 0.19% Castro::reset_internal_energy(Fab) 504 0.001584 0.001584 0.001584 0.18% MLMG::getGradSolution() 11 0.001566 0.001566 0.001566 0.18% MLCellLinOp::compGrad() 11 0.00156 0.00156 0.00156 0.18% MLCellLinOp::setLevelBC() 11 0.001552 0.001552 0.001552 0.18% FabArrayBase::getCPC() 1323 0.001468 0.001468 0.001468 0.17% FabArray::mult() 43 0.001357 0.001357 0.001357 0.15% MLPoisson::prepareForSolve() 11 0.001345 0.001345 0.001345 0.15% MLMG::computeMLResidual() 11 0.001336 0.001336 0.001336 0.15% MLCellLinOp::prepareForSolve() 11 0.00133 0.00133 0.00133 0.15% FabArray::setDomainBndry() 41 0.001318 0.001318 0.001318 0.15% Castro::check_for_nan() 20 0.001276 0.001276 0.001276 0.15% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.14% Castro::post_regrid() 1 0.001156 0.001156 0.001156 0.13% Castro::computeInitialDt() 2 0.001124 0.001124 0.001124 0.13% Gravity::update_max_rhs() 11 0.0009729 0.0009729 0.0009729 0.11% FabArrayBase::getFB() 3941 0.0007507 0.0007507 0.0007507 0.09% FabArrayBase::CPC::define() 454 0.0006821 0.0006821 0.0006821 0.08% Castro::Castro() 1 0.00059 0.00059 0.00059 0.07% Castro::finalize_advance() 10 0.0005847 0.0005847 0.0005847 0.07% Amr::InitAmr() 1 0.0005683 0.0005683 0.0005683 0.06% Gravity::swapTimeLevels() 10 0.0004402 0.0004402 0.0004402 0.05% MLMG::MLResNormInf() 11 0.0003331 0.0003331 0.0003331 0.04% MultiFab::max() 11 0.0003244 0.0003244 0.0003244 0.04% Castro::buildMetrics() 1 0.0002973 0.0002973 0.0002973 0.03% MLLinOp::define() 11 0.0002564 0.0002564 0.0002564 0.03% MLLinOp::defineGrids() 11 0.0002446 0.0002446 0.0002446 0.03% MLMG::MLRhsNormInf() 11 0.0002222 0.0002222 0.0002222 0.03% Castro::create_source_corrector() 10 0.0001766 0.0001766 0.0001766 0.02% FabArrayBase::FB::FB() 56 9.094e-05 9.094e-05 9.094e-05 0.01% Castro::enforce_consistent_e() 1 6.98e-05 6.98e-05 6.98e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.748e-05 5.748e-05 5.748e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.526e-05 5.526e-05 5.526e-05 0.01% makeSFC 55 4.136e-05 4.136e-05 4.136e-05 0.00% StateData::define() 4 3.898e-05 3.898e-05 3.898e-05 0.00% Castro::swap_state_time_levels() 10 3.704e-05 3.704e-05 3.704e-05 0.00% Amr::writeSmallPlotFile() 1 3.288e-05 3.288e-05 3.288e-05 0.00% Castro::initMFs() 1 3.184e-05 3.184e-05 3.184e-05 0.00% DistributionMapping::Distribute() 56 1.749e-05 1.749e-05 1.749e-05 0.00% Amr::initSubcycle() 1 9.157e-06 9.157e-06 9.157e-06 0.00% AmrLevel::checkPointPost() 3 6.465e-06 6.465e-06 6.465e-06 0.00% Castro::retry_advance_ctu() 10 4.074e-06 4.074e-06 4.074e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.049e-06 4.049e-06 4.049e-06 0.00% Gravity::set_mass_offset() 11 3.841e-06 3.841e-06 3.841e-06 0.00% Castro::FluxRegCrseInit 10 3.105e-06 3.105e-06 3.105e-06 0.00% Castro::FluxRegFineAdd() 10 2.195e-06 2.195e-06 2.195e-06 0.00% AmrLevel::checkPointPre() 3 2.139e-06 2.139e-06 2.139e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.032e-06 2.032e-06 2.032e-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 91 MiB 9042 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 1054 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 7621 KiB 14 MiB MLMG::prepareForSolve() 660 660 3624 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 212 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 175 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7511 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2141 B 2048 KiB Gravity::solve_for_phi() 80 80 571 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 331 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 3588 B 480 KiB VisMF::Write(FabArray) 656 656 3495 B 320 KiB Castro::normalize_species() 62 62 7412 B 320 KiB amrex::average_down 1067 1067 1269 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1156 B 257 KiB amrex::Dot() 1360 1360 3542 B 160 KiB FabArray::norminf() 1143 1143 3439 B 160 KiB check_for_negative_density() 10 10 305 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3537 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 8702 8702 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3935 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 373 B 1248 B MLCGSolver::bicgstab 410 410 97 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 643 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 412 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3537 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 305 B 9648 B MLCellLinOp::applyBC() 4351 4351 222 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3935 B 6144 B Gravity::get_new_grav_vector() 3 3 2885 B 3072 B StateData::FillBoundary(geom) 1992 1992 43 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 270 B 1296 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 26 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): 12056 Free GPU global memory (MB): 2189 [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.01-38-g689144d157a0) finalized Initializing AMReX (24.01-38-g689144d157a0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-38-g689144d157a0) initialized Starting run at 09:33:07 UTC on 2024-02-01. Successfully read inputs file ... Castro git describe: 24.01-24-g6d8abef7c AMReX git describe: 24.01-38-g689144d15 Microphysics git describe: 24.01-19-g6d5a4e1a reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.500915861 Restart time = 0.118795537 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.067201122 [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.04722935 [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.066958017 [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.070623742 [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.072046393 [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.027909028 seconds Ending run at 09:33:08 UTC on 2024-02-01. Run time = 0.471898984 Run time without initialization = 0.352450849 Average number of zones advanced per microsecond: 3.719 Average number of zones advanced per microsecond per rank: 3.719 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4719 ... 0.4719 ... 0.4719 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1347 0.1347 0.1347 28.53% VisMF::Read() 3 0.06083 0.06083 0.06083 12.89% Amr::restart() 1 0.05129 0.05129 0.05129 10.87% MLCellLinOp::applyBC() 1910 0.03405 0.03405 0.03405 7.22% VisMF::Write(FabArray) 1 0.02524 0.02524 0.02524 5.35% MLPoisson::Fsmooth() 1440 0.01433 0.01433 0.01433 3.04% FillBoundary_nowait() 1730 0.01279 0.01279 0.01279 2.71% StateData::FillBoundary(geom) 160 0.01226 0.01226 0.01226 2.60% Castro::normalize_species() 30 0.009198 0.009198 0.009198 1.95% amrex::Dot() 484 0.008976 0.008976 0.008976 1.90% FabArray::norminf() 465 0.008642 0.008642 0.008642 1.83% Castro::computeTemp() 30 0.007349 0.007349 0.007349 1.56% Castro::enforce_min_density() 30 0.00706 0.00706 0.00706 1.50% FabArray::setVal() 501 0.006437 0.006437 0.006437 1.36% StateDataPhysBCFunct::() 20 0.006249 0.006249 0.006249 1.32% FabArray::ParallelCopy_nowait() 380 0.005951 0.005951 0.005951 1.26% FabArray::Saxpy() 597 0.005656 0.005656 0.005656 1.20% MLCellLinOp::defineAuxData() 6 0.005455 0.005455 0.005455 1.16% amrex::Copy() 221 0.00536 0.00536 0.00536 1.14% Gravity::fill_multipole_BCs() 6 0.005337 0.005337 0.005337 1.13% MLPoisson::Fapply() 464 0.004363 0.004363 0.004363 0.92% FabArray::Xpay() 325 0.003348 0.003348 0.003348 0.71% Castro::estTimeStep() 10 0.003306 0.003306 0.003306 0.70% MLMG::addInterpCorrection() 180 0.003067 0.003067 0.003067 0.65% amrex::average_down 180 0.002676 0.002676 0.002676 0.57% Amr::writePlotFile() 1 0.002537 0.002537 0.002537 0.54% Castro::reset_internal_energy(MultiFab) 30 0.00211 0.00211 0.00211 0.45% BndryData::define() 6 0.002003 0.002003 0.002003 0.42% Castro::construct_new_gravity_source() 5 0.001839 0.001839 0.001839 0.39% Castro::construct_old_gravity_source() 5 0.001556 0.001556 0.001556 0.33% amrex::Add() 36 0.001529 0.001529 0.001529 0.32% check_for_negative_density() 5 0.0009961 0.0009961 0.0009961 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009596 0.0009596 0.0009596 0.20% MLCellLinOp::setLevelBC() 6 0.0008571 0.0008571 0.0008571 0.18% Gravity::actual_solve_with_mlmg() 6 0.0008563 0.0008563 0.0008563 0.18% MLCellLinOp::prepareForSolve() 6 0.0007529 0.0007529 0.0007529 0.16% Castro::reset_internal_energy(Fab) 240 0.0007412 0.0007412 0.0007412 0.16% MLCGSolver::bicgstab 36 0.000719 0.000719 0.000719 0.15% FabArray::mult() 22 0.0006801 0.0006801 0.0006801 0.14% FabArray::setDomainBndry() 20 0.0006739 0.0006739 0.0006739 0.14% MultiFab::contains_nan() 10 0.0006643 0.0006643 0.0006643 0.14% MLCellLinOp::compGrad() 6 0.0005888 0.0005888 0.0005888 0.12% MLMG::prepareForSolve() 6 0.0005637 0.0005637 0.0005637 0.12% Castro::enforce_speed_limit() 30 0.0005121 0.0005121 0.0005121 0.11% MLCellLinOp::smooth() 720 0.0004751 0.0004751 0.0004751 0.10% Amr::InitAmr() 1 0.0004708 0.0004708 0.0004708 0.10% FabArrayBase::CPC::define() 244 0.0004378 0.0004378 0.0004378 0.09% FabArray::FillBoundary() 1730 0.0003865 0.0003865 0.0003865 0.08% FabArrayBase::getCPC() 632 0.0003753 0.0003753 0.0003753 0.08% Gravity::get_old_grav_vector() 5 0.0003267 0.0003267 0.0003267 0.07% main() 1 0.0003121 0.0003121 0.0003121 0.07% FabArrayBase::getFB() 1730 0.0002723 0.0002723 0.0002723 0.06% Gravity::get_new_grav_vector() 5 0.0002609 0.0002609 0.0002609 0.06% MultiFab::max() 6 0.0002019 0.0002019 0.0002019 0.04% AmrLevel::FillPatch() 20 0.0001969 0.0001969 0.0001969 0.04% Amr::coarseTimeStep() 5 0.0001714 0.0001714 0.0001714 0.04% MLCellLinOp::apply() 464 0.0001699 0.0001699 0.0001699 0.04% MLCellLinOp::defineBC() 6 0.0001644 0.0001644 0.0001644 0.03% MLCGSolver::ParallelAllReduce 798 0.0001448 0.0001448 0.0001448 0.03% Castro::subcycle_advance_ctu() 5 0.0001229 0.0001229 0.0001229 0.03% MLLinOp::defineGrids() 6 0.0001134 0.0001134 0.0001134 0.02% FabArray::ParallelCopy() 380 0.0001073 0.0001073 0.0001073 0.02% FillPatchIterator::Initialize 20 0.0001037 0.0001037 0.0001037 0.02% Amr::timeStep() 5 9.818e-05 9.818e-05 9.818e-05 0.02% MLMG::mgVcycle() 36 8.402e-05 8.402e-05 8.402e-05 0.02% Castro::create_source_corrector() 5 8.247e-05 8.247e-05 8.247e-05 0.02% Gravity::update_max_rhs() 6 8.217e-05 8.217e-05 8.217e-05 0.02% Castro::advance() 5 7.956e-05 7.956e-05 7.956e-05 0.02% AmrLevel::restart() 1 7.916e-05 7.916e-05 7.916e-05 0.02% StateData::restartDoit() 4 7.164e-05 7.164e-05 7.164e-05 0.02% MLCellLinOp::correctionResidual() 180 7.079e-05 7.079e-05 7.079e-05 0.01% Gravity::solve_for_phi() 5 6.686e-05 6.686e-05 6.686e-05 0.01% Castro::do_advance_ctu() 5 6.548e-05 6.548e-05 6.548e-05 0.01% Castro::initialize_do_advance() 5 6.396e-05 6.396e-05 6.396e-05 0.01% Castro::finalize_do_advance() 5 6.212e-05 6.212e-05 6.212e-05 0.01% FabArrayBase::FB::FB() 26 6.109e-05 6.109e-05 6.109e-05 0.01% MLMG:computeResOfCorrection() 180 5.76e-05 5.76e-05 5.76e-05 0.01% MLMG::mgVcycle_down::0 36 4.673e-05 4.673e-05 4.673e-05 0.01% MLMG::actualBottomSolve() 36 4.143e-05 4.143e-05 4.143e-05 0.01% Castro::clean_state() 30 3.926e-05 3.926e-05 3.926e-05 0.01% Castro::do_new_sources() 5 3.737e-05 3.737e-05 3.737e-05 0.01% Castro::initialize_advance() 5 3.655e-05 3.655e-05 3.655e-05 0.01% MLMG::mgVcycle_down::1 36 3.59e-05 3.59e-05 3.59e-05 0.01% MLMG::solve() 6 3.434e-05 3.434e-05 3.434e-05 0.01% Amr::writeSmallPlotFile() 1 3.285e-05 3.285e-05 3.285e-05 0.01% MLMG::mgVcycle_down::2 36 3.249e-05 3.249e-05 3.249e-05 0.01% MLMG::mgVcycle_down::4 36 3.201e-05 3.201e-05 3.201e-05 0.01% Castro::finalize_advance() 5 3.101e-05 3.101e-05 3.101e-05 0.01% Castro::post_restart() 1 3.059e-05 3.059e-05 3.059e-05 0.01% MLMG::mgVcycle_down::3 36 3.051e-05 3.051e-05 3.051e-05 0.01% Castro::construct_old_source() 25 2.882e-05 2.882e-05 2.882e-05 0.01% Castro::buildMetrics() 1 2.832e-05 2.832e-05 2.832e-05 0.01% Castro::post_timestep() 5 2.783e-05 2.783e-05 2.783e-05 0.01% MLMG::mgVcycle_up::4 36 2.641e-05 2.641e-05 2.641e-05 0.01% MLMG::mgVcycle_up::3 36 2.546e-05 2.546e-05 2.546e-05 0.01% Castro::construct_new_gravity() 5 2.436e-05 2.436e-05 2.436e-05 0.01% Castro::swap_state_time_levels() 5 2.412e-05 2.412e-05 2.412e-05 0.01% Castro::initMFs() 1 2.365e-05 2.365e-05 2.365e-05 0.01% MLMG::oneIter() 36 2.351e-05 2.351e-05 2.351e-05 0.00% MLCellLinOp::solutionResidual() 42 2.284e-05 2.284e-05 2.284e-05 0.00% MLMG::mgVcycle_up::0 36 2.148e-05 2.148e-05 2.148e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.083e-05 2.083e-05 2.083e-05 0.00% MLMG::mgVcycle_up::1 36 1.978e-05 1.978e-05 1.978e-05 0.00% MLMG::mgVcycle_up::2 36 1.95e-05 1.95e-05 1.95e-05 0.00% MLMG::ResNormInf() 42 1.898e-05 1.898e-05 1.898e-05 0.00% MLPoisson::define() 6 1.702e-05 1.702e-05 1.702e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.675e-05 1.675e-05 1.675e-05 0.00% FillPatchSingleLevel 20 1.567e-05 1.567e-05 1.567e-05 0.00% MLMG::mgVcycle_bottom 36 1.531e-05 1.531e-05 1.531e-05 0.00% makeSFC 30 1.478e-05 1.478e-05 1.478e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.424e-05 1.424e-05 1.424e-05 0.00% MLMG::computeResidual() 36 1.418e-05 1.418e-05 1.418e-05 0.00% Castro::do_old_sources() 5 1.157e-05 1.157e-05 1.157e-05 0.00% Castro::construct_new_source() 25 1.057e-05 1.057e-05 1.057e-05 0.00% MLPoisson::prepareForSolve() 6 1.021e-05 1.021e-05 1.021e-05 0.00% Amr::initSubcycle() 1 9.77e-06 9.77e-06 9.77e-06 0.00% DistributionMapping::Distribute() 31 9.743e-06 9.743e-06 9.743e-06 0.00% MLMG::computeMLResidual() 6 9.739e-06 9.739e-06 9.739e-06 0.00% Gravity::actual_multilevel_solve() 1 9.016e-06 9.016e-06 9.016e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.84e-06 7.84e-06 7.84e-06 0.00% MLLinOp::define() 6 6.765e-06 6.765e-06 6.765e-06 0.00% Castro::check_for_nan() 10 6.325e-06 6.325e-06 6.325e-06 0.00% Castro::construct_old_gravity() 5 6.088e-06 6.088e-06 6.088e-06 0.00% Castro::apply_source_to_state() 10 5.877e-06 5.877e-06 5.877e-06 0.00% Gravity::swapTimeLevels() 5 4.39e-06 4.39e-06 4.39e-06 0.00% MLMG::getGradSolution() 6 3.198e-06 3.198e-06 3.198e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.107e-06 3.107e-06 3.107e-06 0.00% Castro::computeNewDt() 5 3.025e-06 3.025e-06 3.025e-06 0.00% Castro::expand_state() 5 2.938e-06 2.938e-06 2.938e-06 0.00% MLMG::MLResNormInf() 6 2.45e-06 2.45e-06 2.45e-06 0.00% MLMG::MLRhsNormInf() 6 2.346e-06 2.346e-06 2.346e-06 0.00% Gravity::set_mass_offset() 6 2.246e-06 2.246e-06 2.246e-06 0.00% Castro::retry_advance_ctu() 5 1.936e-06 1.936e-06 1.936e-06 0.00% Castro::FluxRegCrseInit 5 1.619e-06 1.619e-06 1.619e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.26e-06 1.26e-06 1.26e-06 0.00% Castro::FluxRegFineAdd() 5 1.25e-06 1.25e-06 1.25e-06 0.00% Amr::init() 1 1.171e-06 1.171e-06 1.171e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4719 0.4719 0.4719 100.00% Amr::coarseTimeStep() 5 0.3242 0.3242 0.3242 68.70% Amr::timeStep() 5 0.3218 0.3218 0.3218 68.19% Castro::advance() 5 0.3166 0.3166 0.3166 67.08% Castro::subcycle_advance_ctu() 5 0.3091 0.3091 0.3091 65.51% Castro::do_advance_ctu() 5 0.309 0.309 0.309 65.48% Castro::construct_ctu_hydro_source() 5 0.1402 0.1402 0.1402 29.70% Castro::construct_new_gravity() 5 0.1315 0.1315 0.1315 27.86% Gravity::solve_phi_with_mlmg() 6 0.1291 0.1291 0.1291 27.36% Gravity::solve_for_phi() 5 0.1236 0.1236 0.1236 26.18% Gravity::actual_solve_with_mlmg() 6 0.1235 0.1235 0.1235 26.18% Amr::init() 1 0.1188 0.1188 0.1188 25.18% Amr::restart() 1 0.1188 0.1188 0.1188 25.18% MLMG::solve() 6 0.1118 0.1118 0.1118 23.69% MLMG::oneIter() 36 0.1043 0.1043 0.1043 22.10% MLMG::mgVcycle() 36 0.1028 0.1028 0.1028 21.78% AmrLevel::restart() 1 0.0612 0.0612 0.0612 12.97% StateData::restartDoit() 4 0.06112 0.06112 0.06112 12.95% VisMF::Read() 3 0.06083 0.06083 0.06083 12.89% MLCellLinOp::smooth() 720 0.05123 0.05123 0.05123 10.85% MLCellLinOp::applyBC() 1910 0.04756 0.04756 0.04756 10.08% MLMG::mgVcycle_bottom 36 0.03077 0.03077 0.03077 6.52% MLMG::actualBottomSolve() 36 0.03076 0.03076 0.03076 6.52% MLCGSolver::bicgstab 36 0.03044 0.03044 0.03044 6.45% Amr::writePlotFile() 1 0.02802 0.02802 0.02802 5.94% Castro::clean_state() 30 0.02701 0.02701 0.02701 5.72% VisMF::Write(FabArray) 1 0.02524 0.02524 0.02524 5.35% AmrLevel::FillPatch() 20 0.02342 0.02342 0.02342 4.96% FillPatchIterator::Initialize 20 0.02133 0.02133 0.02133 4.52% FillPatchIterator::FillFromLevel0() 20 0.02055 0.02055 0.02055 4.36% FillPatchSingleLevel 20 0.02053 0.02053 0.02053 4.35% StateDataPhysBCFunct::() 20 0.01851 0.01851 0.01851 3.92% MLCellLinOp::apply() 464 0.0154 0.0154 0.0154 3.26% MLMG::mgVcycle_down::0 36 0.01456 0.01456 0.01456 3.09% MLPoisson::Fsmooth() 1440 0.01433 0.01433 0.01433 3.04% FabArray::FillBoundary() 1730 0.01351 0.01351 0.01351 2.86% FillBoundary_nowait() 1730 0.01312 0.01312 0.01312 2.78% StateData::FillBoundary(geom) 160 0.01226 0.01226 0.01226 2.60% Castro::initialize_do_advance() 5 0.01147 0.01147 0.01147 2.43% MLMG::mgVcycle_up::0 36 0.01108 0.01108 0.01108 2.35% Castro::computeTemp() 30 0.0102 0.0102 0.0102 2.16% Castro::do_old_sources() 5 0.009746 0.009746 0.009746 2.07% Castro::normalize_species() 30 0.009198 0.009198 0.009198 1.95% MLPoisson::define() 6 0.009173 0.009173 0.009173 1.94% amrex::Dot() 484 0.008976 0.008976 0.008976 1.90% FabArray::norminf() 465 0.008642 0.008642 0.008642 1.83% MLMG:computeResOfCorrection() 180 0.008598 0.008598 0.008598 1.82% MLCellLinOp::correctionResidual() 180 0.00854 0.00854 0.00854 1.81% Castro::construct_old_gravity() 5 0.008218 0.008218 0.008218 1.74% Gravity::get_old_grav_vector() 5 0.008212 0.008212 0.008212 1.74% Gravity::get_new_grav_vector() 5 0.007791 0.007791 0.007791 1.65% MLMG::mgVcycle_down::1 36 0.007135 0.007135 0.007135 1.51% Castro::initialize_advance() 5 0.007066 0.007066 0.007066 1.50% Castro::enforce_min_density() 30 0.00706 0.00706 0.00706 1.50% MLMG::mgVcycle_down::2 36 0.006522 0.006522 0.006522 1.38% FabArray::ParallelCopy() 380 0.006449 0.006449 0.006449 1.37% FabArray::setVal() 501 0.006437 0.006437 0.006437 1.36% MLMG::mgVcycle_down::3 36 0.006363 0.006363 0.006363 1.35% FabArray::ParallelCopy_nowait() 380 0.006342 0.006342 0.006342 1.34% MLMG::mgVcycle_down::4 36 0.006283 0.006283 0.006283 1.33% MLCellLinOp::defineAuxData() 6 0.006268 0.006268 0.006268 1.33% Castro::do_new_sources() 5 0.006256 0.006256 0.006256 1.33% Castro::post_restart() 1 0.006181 0.006181 0.006181 1.31% Castro::expand_state() 5 0.006157 0.006157 0.006157 1.30% Gravity::multilevel_solve_for_new_phi() 1 0.005807 0.005807 0.005807 1.23% Gravity::actual_multilevel_solve() 1 0.005791 0.005791 0.005791 1.23% FabArray::Saxpy() 597 0.005656 0.005656 0.005656 1.20% Gravity::fill_multipole_BCs() 6 0.005467 0.005467 0.005467 1.16% MLCGSolver::ParallelAllReduce 798 0.005466 0.005466 0.005466 1.16% amrex::Copy() 221 0.00536 0.00536 0.00536 1.14% MLMG::addInterpCorrection() 180 0.005267 0.005267 0.005267 1.12% Castro::post_timestep() 5 0.005142 0.005142 0.005142 1.09% MLMG::mgVcycle_up::4 36 0.005086 0.005086 0.005086 1.08% MLMG::mgVcycle_up::1 36 0.005059 0.005059 0.005059 1.07% MLMG::mgVcycle_up::2 36 0.004943 0.004943 0.004943 1.05% amrex::average_down 180 0.004914 0.004914 0.004914 1.04% MLMG::mgVcycle_up::3 36 0.004881 0.004881 0.004881 1.03% MLPoisson::Fapply() 464 0.004363 0.004363 0.004363 0.92% MLCellLinOp::solutionResidual() 42 0.003488 0.003488 0.003488 0.74% FabArray::Xpay() 325 0.003348 0.003348 0.003348 0.71% Castro::estTimeStep() 10 0.003306 0.003306 0.003306 0.70% Castro::reset_internal_energy(MultiFab) 30 0.002851 0.002851 0.002851 0.60% MLMG::prepareForSolve() 6 0.002827 0.002827 0.002827 0.60% MLCellLinOp::defineBC() 6 0.002736 0.002736 0.002736 0.58% MLMG::computeResidual() 36 0.002713 0.002713 0.002713 0.57% BndryData::define() 6 0.002572 0.002572 0.002572 0.54% Castro::computeNewDt() 5 0.002235 0.002235 0.002235 0.47% Castro::construct_new_source() 25 0.00185 0.00185 0.00185 0.39% Castro::construct_new_gravity_source() 5 0.001839 0.001839 0.001839 0.39% Castro::construct_old_source() 25 0.001585 0.001585 0.001585 0.34% Castro::construct_old_gravity_source() 5 0.001556 0.001556 0.001556 0.33% amrex::Add() 36 0.001529 0.001529 0.001529 0.32% Castro::finalize_do_advance() 5 0.001137 0.001137 0.001137 0.24% check_for_negative_density() 5 0.0009961 0.0009961 0.0009961 0.21% MLMG::ResNormInf() 42 0.0009649 0.0009649 0.0009649 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009596 0.0009596 0.0009596 0.20% Castro::apply_source_to_state() 10 0.0009563 0.0009563 0.0009563 0.20% MLMG::getGradSolution() 6 0.0008693 0.0008693 0.0008693 0.18% MLCellLinOp::compGrad() 6 0.0008661 0.0008661 0.0008661 0.18% MLCellLinOp::setLevelBC() 6 0.0008571 0.0008571 0.0008571 0.18% FabArrayBase::getCPC() 632 0.0008131 0.0008131 0.0008131 0.17% MLMG::computeMLResidual() 6 0.0007988 0.0007988 0.0007988 0.17% MLPoisson::prepareForSolve() 6 0.0007631 0.0007631 0.0007631 0.16% MLCellLinOp::prepareForSolve() 6 0.0007529 0.0007529 0.0007529 0.16% Castro::reset_internal_energy(Fab) 240 0.0007412 0.0007412 0.0007412 0.16% Gravity::update_max_rhs() 6 0.0007246 0.0007246 0.0007246 0.15% FabArray::mult() 22 0.0006801 0.0006801 0.0006801 0.14% FabArray::setDomainBndry() 20 0.0006739 0.0006739 0.0006739 0.14% Castro::check_for_nan() 10 0.0006706 0.0006706 0.0006706 0.14% MultiFab::contains_nan() 10 0.0006643 0.0006643 0.0006643 0.14% Castro::enforce_speed_limit() 30 0.0005121 0.0005121 0.0005121 0.11% Amr::InitAmr() 1 0.0004806 0.0004806 0.0004806 0.10% FabArrayBase::CPC::define() 244 0.0004378 0.0004378 0.0004378 0.09% FabArrayBase::getFB() 1730 0.0003334 0.0003334 0.0003334 0.07% Castro::finalize_advance() 5 0.0002871 0.0002871 0.0002871 0.06% Gravity::swapTimeLevels() 5 0.0002276 0.0002276 0.0002276 0.05% MultiFab::max() 6 0.0002019 0.0002019 0.0002019 0.04% MLMG::MLResNormInf() 6 0.0001902 0.0001902 0.0001902 0.04% MLLinOp::define() 6 0.0001524 0.0001524 0.0001524 0.03% Castro::buildMetrics() 1 0.00015 0.00015 0.00015 0.03% MLLinOp::defineGrids() 6 0.0001457 0.0001457 0.0001457 0.03% MLMG::MLRhsNormInf() 6 0.0001218 0.0001218 0.0001218 0.03% Castro::create_source_corrector() 5 8.247e-05 8.247e-05 8.247e-05 0.02% FabArrayBase::FB::FB() 26 6.109e-05 6.109e-05 6.109e-05 0.01% Amr::writeSmallPlotFile() 1 3.285e-05 3.285e-05 3.285e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.104e-05 3.104e-05 3.104e-05 0.01% Castro::swap_state_time_levels() 5 2.412e-05 2.412e-05 2.412e-05 0.01% Castro::initMFs() 1 2.365e-05 2.365e-05 2.365e-05 0.01% makeSFC 30 2.321e-05 2.321e-05 2.321e-05 0.00% Amr::initSubcycle() 1 9.77e-06 9.77e-06 9.77e-06 0.00% DistributionMapping::Distribute() 31 9.743e-06 9.743e-06 9.743e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.429e-06 4.429e-06 4.429e-06 0.00% Gravity::set_mass_offset() 6 2.246e-06 2.246e-06 2.246e-06 0.00% Castro::retry_advance_ctu() 5 1.936e-06 1.936e-06 1.936e-06 0.00% Castro::FluxRegCrseInit 5 1.619e-06 1.619e-06 1.619e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.26e-06 1.26e-06 1.26e-06 0.00% Castro::FluxRegFineAdd() 5 1.25e-06 1.25e-06 1.25e-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 175 MiB 9042 MiB Castro::initMFs() 48 48 51 MiB 68 MiB Castro::swap_state_time_levels() 32 32 41 MiB 55 MiB StateData::restartDoit() 32 32 47 MiB 55 MiB FillPatchIterator::Initialize 160 160 983 KiB 39 MiB Castro::initialize_do_advance() 40 40 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1579 KiB 28 MiB Castro::initialize_advance() 40 40 15 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 5760 KiB 14 MiB MLMG::prepareForSolve() 361 361 2906 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 180 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 5748 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3020 B 2048 KiB Gravity::solve_for_phi() 40 40 535 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 268 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 172 KiB 671 KiB Castro::estTimeStep() 10 10 3351 B 480 KiB VisMF::Write(FabArray) 112 112 2080 B 320 KiB Castro::normalize_species() 30 30 6336 B 320 KiB amrex::average_down 469 469 1000 B 257 KiB MLMG::addInterpCorrection() 468 468 950 B 257 KiB amrex::Dot() 592 592 2805 B 160 KiB FabArray::norminf() 501 501 2832 B 160 KiB check_for_negative_density() 5 5 328 B 160 KiB MultiFab::max() 6 6 66 B 160 KiB FabArray::setVal() 66 66 15 KiB 23 KiB MultiFab::contains_nan() 10 10 27 B 20 KiB MLPoisson::Fsmooth() 60 60 2816 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 235 B 9648 B MLCellLinOp::applyBC() 3820 3820 181 B 9344 B amrex::Copy() 56 56 4970 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 301 B 1248 B MLCGSolver::bicgstab 180 180 77 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1100 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 140 KiB 3584 KiB VisMF::Read() 24 24 194 KiB 3000 KiB FabArray::setVal() 66 66 15 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2816 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 235 B 9648 B MLCellLinOp::applyBC() 1910 1910 180 B 9328 B amrex::Copy() 56 56 4970 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2255 B 3072 B StateData::FillBoundary(geom) 960 960 43 B 2976 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 446 B 1296 B amrex::average_down 37 37 181 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 20 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): 2189 [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.01-38-g689144d157a0) finalized