Initializing AMReX (24.01-5-g8692f601b428)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-5-g8692f601b428) initialized Starting run at 09:28:22 UTC on 2024-01-12. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-5-g8692f601b Microphysics git describe: 24.01-9-ga4d7ab4d 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.044374956 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.024403605 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.063693724 [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.048032171 [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.06929772 [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.075965695 [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.059424915 [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.043957999 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.064058036 [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.074889891 [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.072305166 [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.05859753 [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.05893392 [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.042400826 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024351331 seconds Ending run at 09:28:23 UTC on 2024-01-12. Run time = 0.87924773 Run time without initialization = 0.756585475 Average number of zones advanced per microsecond: 3.465 Average number of zones advanced per microsecond per rank: 3.465 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8793 ... 0.8793 ... 0.8793 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2679 0.2679 0.2679 30.47% VisMF::Write(FabArray) 11 0.1709 0.1709 0.1709 19.44% MLCellLinOp::applyBC() 4351 0.07893 0.07893 0.07893 8.98% MLPoisson::Fsmooth() 3280 0.04021 0.04021 0.04021 4.57% FillBoundary_nowait() 3941 0.03032 0.03032 0.03032 3.45% StateData::FillBoundary(geom) 328 0.02609 0.02609 0.02609 2.97% amrex::Dot() 1114 0.02098 0.02098 0.02098 2.39% FabArray::norminf() 1061 0.01944 0.01944 0.01944 2.21% Castro::normalize_species() 62 0.01858 0.01858 0.01858 2.11% Castro::computeTemp() 63 0.01512 0.01512 0.01512 1.72% FabArray::ParallelCopy_nowait() 861 0.01321 0.01321 0.01321 1.50% FabArray::Saxpy() 1370 0.0129 0.0129 0.0129 1.47% FabArray::setVal() 1062 0.0129 0.0129 0.0129 1.47% StateDataPhysBCFunct::() 41 0.01197 0.01197 0.01197 1.36% Castro::enforce_min_density() 62 0.01162 0.01162 0.01162 1.32% amrex::Copy() 472 0.01068 0.01068 0.01068 1.21% MLCellLinOp::defineAuxData() 11 0.0103 0.0103 0.0103 1.17% MLPoisson::Fapply() 1060 0.01001 0.01001 0.01001 1.14% Gravity::fill_multipole_BCs() 11 0.009326 0.009326 0.009326 1.06% FabArray::Xpay() 739 0.00761 0.00761 0.00761 0.87% MLMG::addInterpCorrection() 410 0.006924 0.006924 0.006924 0.79% amrex::average_down 410 0.006197 0.006197 0.006197 0.70% Castro::estTimeStep() 21 0.006182 0.006182 0.006182 0.70% Amr::checkPoint() 3 0.006002 0.006002 0.006002 0.68% Castro::reset_internal_energy(MultiFab) 63 0.005103 0.005103 0.005103 0.58% BndryData::define() 11 0.003688 0.003688 0.003688 0.42% amrex::Add() 82 0.003573 0.003573 0.003573 0.41% Castro::construct_new_gravity_source() 10 0.003292 0.003292 0.003292 0.37% Castro::construct_old_gravity_source() 10 0.002851 0.002851 0.002851 0.32% Castro::enforce_speed_limit() 62 0.002615 0.002615 0.002615 0.30% Amr::writePlotFile() 2 0.002112 0.002112 0.002112 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001756 0.001756 0.001756 0.20% MLCGSolver::bicgstab 82 0.001719 0.001719 0.001719 0.20% Gravity::actual_solve_with_mlmg() 11 0.001643 0.001643 0.001643 0.19% check_for_negative_density() 10 0.001626 0.001626 0.001626 0.18% MLCellLinOp::setLevelBC() 11 0.001567 0.001567 0.001567 0.18% Castro::initData() 1 0.00149 0.00149 0.00149 0.17% Castro::reset_internal_energy(Fab) 504 0.001463 0.001463 0.001463 0.17% FabArray::mult() 43 0.001355 0.001355 0.001355 0.15% FabArray::setDomainBndry() 41 0.00134 0.00134 0.00134 0.15% MLCellLinOp::prepareForSolve() 11 0.001318 0.001318 0.001318 0.15% MultiFab::contains_nan() 20 0.001255 0.001255 0.001255 0.14% MLCellLinOp::smooth() 1640 0.001232 0.001232 0.001232 0.14% MLCellLinOp::compGrad() 11 0.001074 0.001074 0.001074 0.12% MLMG::prepareForSolve() 11 0.0009778 0.0009778 0.0009778 0.11% FabArray::FillBoundary() 3941 0.0008511 0.0008511 0.0008511 0.10% FabArrayBase::getCPC() 1323 0.0008162 0.0008162 0.0008162 0.09% FabArrayBase::CPC::define() 454 0.0006653 0.0006653 0.0006653 0.08% FabArrayBase::getFB() 3941 0.0006278 0.0006278 0.0006278 0.07% Gravity::get_new_grav_vector() 11 0.000605 0.000605 0.000605 0.07% Amr::InitAmr() 1 0.0005602 0.0005602 0.0005602 0.06% Gravity::get_old_grav_vector() 10 0.0004826 0.0004826 0.0004826 0.05% MLCellLinOp::apply() 1060 0.0004435 0.0004435 0.0004435 0.05% AmrLevel::FillPatch() 41 0.0004124 0.0004124 0.0004124 0.05% MLCGSolver::ParallelAllReduce 1832 0.0003592 0.0003592 0.0003592 0.04% Amr::coarseTimeStep() 10 0.0003408 0.0003408 0.0003408 0.04% MultiFab::max() 11 0.0003287 0.0003287 0.0003287 0.04% main() 1 0.0003113 0.0003113 0.0003113 0.04% MLCellLinOp::defineBC() 11 0.0002907 0.0002907 0.0002907 0.03% FabArray::ParallelCopy() 861 0.0002495 0.0002495 0.0002495 0.03% FillPatchIterator::Initialize 41 0.0002128 0.0002128 0.0002128 0.02% MLMG::mgVcycle() 82 0.0002084 0.0002084 0.0002084 0.02% Castro::subcycle_advance_ctu() 10 0.0001943 0.0001943 0.0001943 0.02% MLCellLinOp::correctionResidual() 410 0.0001868 0.0001868 0.0001868 0.02% Amr::timeStep() 10 0.0001798 0.0001798 0.0001798 0.02% MLLinOp::defineGrids() 11 0.0001747 0.0001747 0.0001747 0.02% Castro::create_source_corrector() 10 0.0001633 0.0001633 0.0001633 0.02% StateData::checkPoint() 12 0.0001408 0.0001408 0.0001408 0.02% Gravity::update_max_rhs() 11 0.0001364 0.0001364 0.0001364 0.02% MLMG:computeResOfCorrection() 410 0.0001354 0.0001354 0.0001354 0.02% Gravity::solve_for_phi() 10 0.0001131 0.0001131 0.0001131 0.01% Castro::advance() 10 0.0001104 0.0001104 0.0001104 0.01% FabArrayBase::FB::FB() 56 9.692e-05 9.692e-05 9.692e-05 0.01% MLMG::mgVcycle_down::0 82 9.574e-05 9.574e-05 9.574e-05 0.01% MLMG::actualBottomSolve() 82 9.4e-05 9.4e-05 9.4e-05 0.01% Castro::Castro() 1 8.54e-05 8.54e-05 8.54e-05 0.01% MLMG::mgVcycle_down::2 82 8.267e-05 8.267e-05 8.267e-05 0.01% Castro::initialize_advance() 10 8.183e-05 8.183e-05 8.183e-05 0.01% MLMG::mgVcycle_down::1 82 8.115e-05 8.115e-05 8.115e-05 0.01% AmrLevel::checkPoint() 3 8.028e-05 8.028e-05 8.028e-05 0.01% MLMG::mgVcycle_down::4 82 7.604e-05 7.604e-05 7.604e-05 0.01% MLMG::mgVcycle_down::3 82 7.418e-05 7.418e-05 7.418e-05 0.01% Castro::enforce_consistent_e() 1 6.976e-05 6.976e-05 6.976e-05 0.01% Castro::clean_state() 62 6.871e-05 6.871e-05 6.871e-05 0.01% MLMG::solve() 11 6.824e-05 6.824e-05 6.824e-05 0.01% Castro::finalize_advance() 10 6.472e-05 6.472e-05 6.472e-05 0.01% MLMG::mgVcycle_up::4 82 6.371e-05 6.371e-05 6.371e-05 0.01% Castro::initialize_do_advance() 10 6.135e-05 6.135e-05 6.135e-05 0.01% MLMG::mgVcycle_up::0 82 5.868e-05 5.868e-05 5.868e-05 0.01% MLMG::oneIter() 82 5.554e-05 5.554e-05 5.554e-05 0.01% MLMG::mgVcycle_up::3 82 5.319e-05 5.319e-05 5.319e-05 0.01% MLMG::mgVcycle_up::1 82 5.258e-05 5.258e-05 5.258e-05 0.01% MLMG::mgVcycle_up::2 82 5.085e-05 5.085e-05 5.085e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.953e-05 4.953e-05 4.953e-05 0.01% MLCellLinOp::solutionResidual() 93 4.913e-05 4.913e-05 4.913e-05 0.01% Castro::finalize_do_advance() 10 4.852e-05 4.852e-05 4.852e-05 0.01% Castro::do_advance_ctu() 10 4.814e-05 4.814e-05 4.814e-05 0.01% Castro::construct_new_source() 50 4.414e-05 4.414e-05 4.414e-05 0.01% MLMG::ResNormInf() 93 3.8e-05 3.8e-05 3.8e-05 0.00% Castro::swap_state_time_levels() 10 3.753e-05 3.753e-05 3.753e-05 0.00% StateData::define() 4 3.646e-05 3.646e-05 3.646e-05 0.00% MLMG::mgVcycle_bottom 82 3.636e-05 3.636e-05 3.636e-05 0.00% Castro::post_timestep() 10 3.54e-05 3.54e-05 3.54e-05 0.00% Amr::writeSmallPlotFile() 1 3.525e-05 3.525e-05 3.525e-05 0.00% FillPatchSingleLevel 41 3.495e-05 3.495e-05 3.495e-05 0.00% MLMG::computeResidual() 82 3.48e-05 3.48e-05 3.48e-05 0.00% Castro::initMFs() 1 3.096e-05 3.096e-05 3.096e-05 0.00% makeSFC 55 2.869e-05 2.869e-05 2.869e-05 0.00% Castro::buildMetrics() 1 2.728e-05 2.728e-05 2.728e-05 0.00% Castro::construct_new_gravity() 10 2.721e-05 2.721e-05 2.721e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.691e-05 2.691e-05 2.691e-05 0.00% Amr::defBaseLevel() 1 2.595e-05 2.595e-05 2.595e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.436e-05 2.436e-05 2.436e-05 0.00% Amr::FinalizeInit() 1 2.276e-05 2.276e-05 2.276e-05 0.00% MLPoisson::define() 11 2.268e-05 2.268e-05 2.268e-05 0.00% Castro::do_old_sources() 10 2.143e-05 2.143e-05 2.143e-05 0.00% Castro::do_new_sources() 10 2.003e-05 2.003e-05 2.003e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.928e-05 1.928e-05 1.928e-05 0.00% DistributionMapping::Distribute() 56 1.789e-05 1.789e-05 1.789e-05 0.00% Castro::construct_old_source() 50 1.779e-05 1.779e-05 1.779e-05 0.00% MLPoisson::prepareForSolve() 11 1.467e-05 1.467e-05 1.467e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.44e-05 1.44e-05 1.44e-05 0.00% MLMG::computeMLResidual() 11 1.392e-05 1.392e-05 1.392e-05 0.00% Castro::apply_source_to_state() 20 1.322e-05 1.322e-05 1.322e-05 0.00% Castro::check_for_nan() 20 1.311e-05 1.311e-05 1.311e-05 0.00% MLLinOp::define() 11 1.275e-05 1.275e-05 1.275e-05 0.00% Castro::construct_old_gravity() 10 1.093e-05 1.093e-05 1.093e-05 0.00% Castro::post_init() 1 1.058e-05 1.058e-05 1.058e-05 0.00% Amr::initSubcycle() 1 1.021e-05 1.021e-05 1.021e-05 0.00% Gravity::swapTimeLevels() 10 9.357e-06 9.357e-06 9.357e-06 0.00% Gravity::actual_multilevel_solve() 1 8.507e-06 8.507e-06 8.507e-06 0.00% Castro::computeNewDt() 9 6.524e-06 6.524e-06 6.524e-06 0.00% MLMG::getGradSolution() 11 6.401e-06 6.401e-06 6.401e-06 0.00% AmrLevel::checkPointPost() 3 6.2e-06 6.2e-06 6.2e-06 0.00% Castro::expand_state() 10 5.858e-06 5.858e-06 5.858e-06 0.00% Castro::retry_advance_ctu() 10 4.982e-06 4.982e-06 4.982e-06 0.00% Amr::InitializeInit() 1 4.645e-06 4.645e-06 4.645e-06 0.00% Gravity::set_mass_offset() 11 4.365e-06 4.365e-06 4.365e-06 0.00% MLMG::MLRhsNormInf() 11 4.074e-06 4.074e-06 4.074e-06 0.00% MLMG::MLResNormInf() 11 3.815e-06 3.815e-06 3.815e-06 0.00% Castro::FluxRegCrseInit 10 3.435e-06 3.435e-06 3.435e-06 0.00% Castro::computeInitialDt() 2 3.003e-06 3.003e-06 3.003e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.82e-06 2.82e-06 2.82e-06 0.00% AmrLevel::checkPointPre() 3 2.581e-06 2.581e-06 2.581e-06 0.00% Amr::init() 1 2.325e-06 2.325e-06 2.325e-06 0.00% Castro::FluxRegFineAdd() 10 2.292e-06 2.292e-06 2.292e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.168e-06 2.168e-06 2.168e-06 0.00% Castro::post_regrid() 1 1.243e-06 1.243e-06 1.243e-06 0.00% Amr::initialInit() 1 9.64e-07 9.64e-07 9.64e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8793 0.8793 0.8793 100.00% Amr::coarseTimeStep() 10 0.732 0.732 0.732 83.25% Amr::timeStep() 10 0.6415 0.6415 0.6415 72.96% Castro::advance() 10 0.6322 0.6322 0.6322 71.90% Castro::subcycle_advance_ctu() 10 0.6187 0.6187 0.6187 70.36% Castro::do_advance_ctu() 10 0.6185 0.6185 0.6185 70.34% Gravity::solve_phi_with_mlmg() 11 0.2963 0.2963 0.2963 33.70% Gravity::actual_solve_with_mlmg() 11 0.2865 0.2865 0.2865 32.59% Castro::construct_ctu_hydro_source() 10 0.2787 0.2787 0.2787 31.70% Castro::construct_new_gravity() 10 0.2685 0.2685 0.2685 30.54% MLMG::solve() 11 0.2648 0.2648 0.2648 30.11% Gravity::solve_for_phi() 10 0.2525 0.2525 0.2525 28.72% MLMG::oneIter() 82 0.2496 0.2496 0.2496 28.39% MLMG::mgVcycle() 82 0.246 0.246 0.246 27.98% VisMF::Write(FabArray) 11 0.1709 0.1709 0.1709 19.44% Amr::checkPoint() 3 0.1309 0.1309 0.1309 14.88% MLCellLinOp::smooth() 1640 0.1266 0.1266 0.1266 14.40% AmrLevel::checkPoint() 3 0.1249 0.1249 0.1249 14.20% StateData::checkPoint() 12 0.1248 0.1248 0.1248 14.19% Amr::init() 1 0.122 0.122 0.122 13.87% MLCellLinOp::applyBC() 4351 0.1108 0.1108 0.1108 12.60% MLMG::mgVcycle_bottom 82 0.0713 0.0713 0.0713 8.11% MLMG::actualBottomSolve() 82 0.07126 0.07126 0.07126 8.10% MLCGSolver::bicgstab 82 0.07054 0.07054 0.07054 8.02% Castro::clean_state() 62 0.05372 0.05372 0.05372 6.11% Amr::initialInit() 1 0.05305 0.05305 0.05305 6.03% Amr::writePlotFile() 2 0.04889 0.04889 0.04889 5.56% Amr::FinalizeInit() 1 0.04804 0.04804 0.04804 5.46% AmrLevel::FillPatch() 41 0.04798 0.04798 0.04798 5.46% Castro::post_init() 1 0.0465 0.0465 0.0465 5.29% Gravity::multilevel_solve_for_new_phi() 1 0.04423 0.04423 0.04423 5.03% Gravity::actual_multilevel_solve() 1 0.04421 0.04421 0.04421 5.03% FillPatchIterator::Initialize 41 0.04373 0.04373 0.04373 4.97% FillPatchIterator::FillFromLevel0() 41 0.04217 0.04217 0.04217 4.80% FillPatchSingleLevel 41 0.04212 0.04212 0.04212 4.79% MLPoisson::Fsmooth() 3280 0.04021 0.04021 0.04021 4.57% StateDataPhysBCFunct::() 41 0.03806 0.03806 0.03806 4.33% MLCellLinOp::apply() 1060 0.03563 0.03563 0.03563 4.05% MLMG::mgVcycle_down::0 82 0.03397 0.03397 0.03397 3.86% FabArray::FillBoundary() 3941 0.0319 0.0319 0.0319 3.63% FillBoundary_nowait() 3941 0.03105 0.03105 0.03105 3.53% StateData::FillBoundary(geom) 328 0.02609 0.02609 0.02609 2.97% MLMG::mgVcycle_up::0 82 0.02571 0.02571 0.02571 2.92% MLMG::mgVcycle_down::2 82 0.02243 0.02243 0.02243 2.55% Castro::computeTemp() 63 0.02168 0.02168 0.02168 2.47% Castro::initialize_do_advance() 10 0.02133 0.02133 0.02133 2.43% amrex::Dot() 1114 0.02098 0.02098 0.02098 2.39% MLMG:computeResOfCorrection() 410 0.02014 0.02014 0.02014 2.29% MLCellLinOp::correctionResidual() 410 0.02001 0.02001 0.02001 2.28% FabArray::norminf() 1061 0.01944 0.01944 0.01944 2.21% Castro::do_old_sources() 10 0.01916 0.01916 0.01916 2.18% Castro::normalize_species() 62 0.01858 0.01858 0.01858 2.11% Gravity::get_new_grav_vector() 11 0.01783 0.01783 0.01783 2.03% MLPoisson::define() 11 0.01698 0.01698 0.01698 1.93% MLMG::mgVcycle_down::1 82 0.01633 0.01633 0.01633 1.86% Castro::construct_old_gravity() 10 0.01532 0.01532 0.01532 1.74% Gravity::get_old_grav_vector() 10 0.01531 0.01531 0.01531 1.74% MLMG::mgVcycle_down::3 82 0.01487 0.01487 0.01487 1.69% MLMG::mgVcycle_down::4 82 0.01465 0.01465 0.01465 1.67% FabArray::ParallelCopy() 861 0.01427 0.01427 0.01427 1.62% FabArray::ParallelCopy_nowait() 861 0.01402 0.01402 0.01402 1.59% FabArray::Saxpy() 1370 0.0129 0.0129 0.0129 1.47% FabArray::setVal() 1062 0.0129 0.0129 0.0129 1.47% Castro::initialize_advance() 10 0.01284 0.01284 0.01284 1.46% MLCGSolver::ParallelAllReduce 1832 0.01266 0.01266 0.01266 1.44% Castro::do_new_sources() 10 0.0121 0.0121 0.0121 1.38% MLMG::addInterpCorrection() 410 0.012 0.012 0.012 1.36% MLMG::mgVcycle_up::1 82 0.01185 0.01185 0.01185 1.35% Castro::expand_state() 10 0.01181 0.01181 0.01181 1.34% MLCellLinOp::defineAuxData() 11 0.01174 0.01174 0.01174 1.34% MLMG::mgVcycle_up::4 82 0.01171 0.01171 0.01171 1.33% MLMG::mgVcycle_up::2 82 0.01162 0.01162 0.01162 1.32% Castro::enforce_min_density() 62 0.01162 0.01162 0.01162 1.32% amrex::average_down 410 0.01137 0.01137 0.01137 1.29% MLMG::mgVcycle_up::3 82 0.01133 0.01133 0.01133 1.29% amrex::Copy() 472 0.01068 0.01068 0.01068 1.21% MLPoisson::Fapply() 1060 0.01001 0.01001 0.01001 1.14% Gravity::fill_multipole_BCs() 11 0.00956 0.00956 0.00956 1.09% Castro::post_timestep() 10 0.009155 0.009155 0.009155 1.04% FabArray::Xpay() 739 0.00761 0.00761 0.00761 0.87% MLCellLinOp::solutionResidual() 93 0.007564 0.007564 0.007564 0.86% Castro::reset_internal_energy(MultiFab) 63 0.006566 0.006566 0.006566 0.75% MLMG::computeResidual() 82 0.006298 0.006298 0.006298 0.72% Castro::estTimeStep() 21 0.006182 0.006182 0.006182 0.70% MLMG::prepareForSolve() 11 0.005076 0.005076 0.005076 0.58% Amr::InitializeInit() 1 0.005006 0.005006 0.005006 0.57% Amr::defBaseLevel() 1 0.005002 0.005002 0.005002 0.57% MLCellLinOp::defineBC() 11 0.004962 0.004962 0.004962 0.56% BndryData::define() 11 0.004672 0.004672 0.004672 0.53% Castro::initData() 1 0.004333 0.004333 0.004333 0.49% amrex::Add() 82 0.003573 0.003573 0.003573 0.41% Castro::construct_new_source() 50 0.003336 0.003336 0.003336 0.38% Castro::construct_new_gravity_source() 10 0.003292 0.003292 0.003292 0.37% Castro::construct_old_source() 50 0.002869 0.002869 0.002869 0.33% Castro::construct_old_gravity_source() 10 0.002851 0.002851 0.002851 0.32% Castro::computeNewDt() 9 0.002809 0.002809 0.002809 0.32% Castro::enforce_speed_limit() 62 0.002615 0.002615 0.002615 0.30% Castro::finalize_do_advance() 10 0.002329 0.002329 0.002329 0.26% MLMG::ResNormInf() 93 0.002159 0.002159 0.002159 0.25% Castro::apply_source_to_state() 20 0.001865 0.001865 0.001865 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001756 0.001756 0.001756 0.20% check_for_negative_density() 10 0.001626 0.001626 0.001626 0.18% MLMG::getGradSolution() 11 0.001574 0.001574 0.001574 0.18% MLCellLinOp::setLevelBC() 11 0.001567 0.001567 0.001567 0.18% MLCellLinOp::compGrad() 11 0.001567 0.001567 0.001567 0.18% FabArrayBase::getCPC() 1323 0.001481 0.001481 0.001481 0.17% Castro::reset_internal_energy(Fab) 504 0.001463 0.001463 0.001463 0.17% FabArray::mult() 43 0.001355 0.001355 0.001355 0.15% FabArray::setDomainBndry() 41 0.00134 0.00134 0.00134 0.15% MLPoisson::prepareForSolve() 11 0.001333 0.001333 0.001333 0.15% MLCellLinOp::prepareForSolve() 11 0.001318 0.001318 0.001318 0.15% MLMG::computeMLResidual() 11 0.001315 0.001315 0.001315 0.15% Castro::check_for_nan() 20 0.001268 0.001268 0.001268 0.14% MultiFab::contains_nan() 20 0.001255 0.001255 0.001255 0.14% Castro::post_regrid() 1 0.001238 0.001238 0.001238 0.14% Castro::computeInitialDt() 2 0.001102 0.001102 0.001102 0.13% Gravity::update_max_rhs() 11 0.0009849 0.0009849 0.0009849 0.11% FabArrayBase::getFB() 3941 0.0007247 0.0007247 0.0007247 0.08% FabArrayBase::CPC::define() 454 0.0006653 0.0006653 0.0006653 0.08% Castro::finalize_advance() 10 0.0005879 0.0005879 0.0005879 0.07% Castro::Castro() 1 0.0005774 0.0005774 0.0005774 0.07% Amr::InitAmr() 1 0.0005704 0.0005704 0.0005704 0.06% Gravity::swapTimeLevels() 10 0.0004408 0.0004408 0.0004408 0.05% MLMG::MLResNormInf() 11 0.0003304 0.0003304 0.0003304 0.04% MultiFab::max() 11 0.0003287 0.0003287 0.0003287 0.04% Castro::buildMetrics() 1 0.0002933 0.0002933 0.0002933 0.03% MLLinOp::define() 11 0.0002495 0.0002495 0.0002495 0.03% MLLinOp::defineGrids() 11 0.0002368 0.0002368 0.0002368 0.03% MLMG::MLRhsNormInf() 11 0.0002203 0.0002203 0.0002203 0.03% Castro::create_source_corrector() 10 0.0001633 0.0001633 0.0001633 0.02% FabArrayBase::FB::FB() 56 9.692e-05 9.692e-05 9.692e-05 0.01% Castro::enforce_consistent_e() 1 6.976e-05 6.976e-05 6.976e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.081e-05 6.081e-05 6.081e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.99e-05 5.99e-05 5.99e-05 0.01% makeSFC 55 4.549e-05 4.549e-05 4.549e-05 0.01% Castro::swap_state_time_levels() 10 3.753e-05 3.753e-05 3.753e-05 0.00% StateData::define() 4 3.646e-05 3.646e-05 3.646e-05 0.00% Amr::writeSmallPlotFile() 1 3.525e-05 3.525e-05 3.525e-05 0.00% Castro::initMFs() 1 3.096e-05 3.096e-05 3.096e-05 0.00% DistributionMapping::Distribute() 56 1.789e-05 1.789e-05 1.789e-05 0.00% Amr::initSubcycle() 1 1.021e-05 1.021e-05 1.021e-05 0.00% AmrLevel::checkPointPost() 3 6.2e-06 6.2e-06 6.2e-06 0.00% Castro::retry_advance_ctu() 10 4.982e-06 4.982e-06 4.982e-06 0.00% Gravity::set_mass_offset() 11 4.365e-06 4.365e-06 4.365e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.916e-06 3.916e-06 3.916e-06 0.00% Castro::FluxRegCrseInit 10 3.435e-06 3.435e-06 3.435e-06 0.00% AmrLevel::checkPointPre() 3 2.581e-06 2.581e-06 2.581e-06 0.00% Castro::FluxRegFineAdd() 10 2.292e-06 2.292e-06 2.292e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.168e-06 2.168e-06 2.168e-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 94 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 1061 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1551 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3703 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 210 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7513 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2159 B 2048 KiB Gravity::solve_for_phi() 80 80 587 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 338 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 215 KiB 671 KiB Castro::estTimeStep() 21 21 3428 B 480 KiB VisMF::Write(FabArray) 656 656 3454 B 320 KiB Castro::normalize_species() 62 62 6880 B 320 KiB amrex::average_down 1067 1067 1265 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1156 B 257 KiB amrex::Dot() 1360 1360 3517 B 160 KiB FabArray::norminf() 1143 1143 3415 B 160 KiB check_for_negative_density() 10 10 296 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 3617 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 8702 8702 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3951 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 381 B 1248 B MLCGSolver::bicgstab 410 410 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 567 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 744 744 417 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3617 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 4351 4351 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3951 B 6144 B Gravity::get_new_grav_vector() 3 3 2888 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2880 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 308 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 1143 1143 10 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 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-5-g8692f601b428) finalized Initializing AMReX (24.01-5-g8692f601b428)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-5-g8692f601b428) initialized Starting run at 09:28:24 UTC on 2024-01-12. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-5-g8692f601b Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.48306039 Restart time = 0.073383636 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.068280098 [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.04820986 [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.066835348 [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.074372086 [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.068640601 [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.052545449 seconds Ending run at 09:28:24 UTC on 2024-01-12. Run time = 0.453453413 Run time without initialization = 0.379413777 Average number of zones advanced per microsecond: 3.455 Average number of zones advanced per microsecond per rank: 3.455 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4535 ... 0.4535 ... 0.4535 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1407 0.1407 0.1407 31.02% VisMF::Read() 3 0.06179 0.06179 0.06179 13.63% MLCellLinOp::applyBC() 1910 0.03426 0.03426 0.03426 7.56% VisMF::Write(FabArray) 1 0.03249 0.03249 0.03249 7.16% Amr::writePlotFile() 1 0.0199 0.0199 0.0199 4.39% MLPoisson::Fsmooth() 1440 0.01432 0.01432 0.01432 3.16% FillBoundary_nowait() 1730 0.01272 0.01272 0.01272 2.80% StateData::FillBoundary(geom) 160 0.01241 0.01241 0.01241 2.74% amrex::Dot() 484 0.008926 0.008926 0.008926 1.97% Castro::normalize_species() 30 0.008769 0.008769 0.008769 1.93% FabArray::norminf() 465 0.008619 0.008619 0.008619 1.90% FabArray::setVal() 501 0.006312 0.006312 0.006312 1.39% Castro::computeTemp() 30 0.006131 0.006131 0.006131 1.35% FabArray::ParallelCopy_nowait() 380 0.005968 0.005968 0.005968 1.32% FabArray::Saxpy() 597 0.005681 0.005681 0.005681 1.25% MLCellLinOp::defineAuxData() 6 0.005599 0.005599 0.005599 1.23% Gravity::fill_multipole_BCs() 6 0.005598 0.005598 0.005598 1.23% Castro::enforce_min_density() 30 0.00541 0.00541 0.00541 1.19% amrex::Copy() 221 0.005344 0.005344 0.005344 1.18% StateDataPhysBCFunct::() 20 0.004986 0.004986 0.004986 1.10% Amr::restart() 1 0.004781 0.004781 0.004781 1.05% MLPoisson::Fapply() 464 0.004328 0.004328 0.004328 0.95% FabArray::Xpay() 325 0.003344 0.003344 0.003344 0.74% MLMG::addInterpCorrection() 180 0.003085 0.003085 0.003085 0.68% Castro::estTimeStep() 10 0.002963 0.002963 0.002963 0.65% amrex::average_down 180 0.002699 0.002699 0.002699 0.60% BndryData::define() 6 0.002035 0.002035 0.002035 0.45% Castro::reset_internal_energy(MultiFab) 30 0.002004 0.002004 0.002004 0.44% Castro::enforce_speed_limit() 30 0.001756 0.001756 0.001756 0.39% Castro::construct_new_gravity_source() 5 0.001734 0.001734 0.001734 0.38% amrex::Add() 36 0.001534 0.001534 0.001534 0.34% Castro::construct_old_gravity_source() 5 0.001434 0.001434 0.001434 0.32% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009614 0.0009614 0.0009614 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008794 0.0008794 0.0008794 0.19% MLCellLinOp::setLevelBC() 6 0.0008591 0.0008591 0.0008591 0.19% check_for_negative_density() 5 0.0008568 0.0008568 0.0008568 0.19% Castro::reset_internal_energy(Fab) 240 0.0007631 0.0007631 0.0007631 0.17% MLCellLinOp::prepareForSolve() 6 0.0007488 0.0007488 0.0007488 0.17% MLCGSolver::bicgstab 36 0.0007222 0.0007222 0.0007222 0.16% FabArray::setDomainBndry() 20 0.0007001 0.0007001 0.0007001 0.15% FabArray::mult() 22 0.0006786 0.0006786 0.0006786 0.15% MultiFab::contains_nan() 10 0.0006542 0.0006542 0.0006542 0.14% MLCellLinOp::compGrad() 6 0.0005825 0.0005825 0.0005825 0.13% MLMG::prepareForSolve() 6 0.0005522 0.0005522 0.0005522 0.12% MLCellLinOp::smooth() 720 0.0004829 0.0004829 0.0004829 0.11% Amr::InitAmr() 1 0.0004732 0.0004732 0.0004732 0.10% FabArrayBase::CPC::define() 244 0.0004213 0.0004213 0.0004213 0.09% FabArrayBase::getCPC() 632 0.0003894 0.0003894 0.0003894 0.09% FabArray::FillBoundary() 1730 0.0003618 0.0003618 0.0003618 0.08% main() 1 0.0003586 0.0003586 0.0003586 0.08% Gravity::get_old_grav_vector() 5 0.0003136 0.0003136 0.0003136 0.07% FabArrayBase::getFB() 1730 0.0002951 0.0002951 0.0002951 0.07% Gravity::get_new_grav_vector() 5 0.0002656 0.0002656 0.0002656 0.06% MultiFab::max() 6 0.0002115 0.0002115 0.0002115 0.05% AmrLevel::FillPatch() 20 0.0001983 0.0001983 0.0001983 0.04% Amr::coarseTimeStep() 5 0.0001753 0.0001753 0.0001753 0.04% MLCellLinOp::apply() 464 0.0001696 0.0001696 0.0001696 0.04% MLCellLinOp::defineBC() 6 0.0001529 0.0001529 0.0001529 0.03% MLCGSolver::ParallelAllReduce 798 0.0001462 0.0001462 0.0001462 0.03% FabArray::ParallelCopy() 380 0.0001074 0.0001074 0.0001074 0.02% FillPatchIterator::Initialize 20 0.0001044 0.0001044 0.0001044 0.02% Castro::create_source_corrector() 5 0.0001016 0.0001016 0.0001016 0.02% MLLinOp::defineGrids() 6 9.936e-05 9.936e-05 9.936e-05 0.02% Amr::timeStep() 5 9.854e-05 9.854e-05 9.854e-05 0.02% MLMG::mgVcycle() 36 9.315e-05 9.315e-05 9.315e-05 0.02% Castro::subcycle_advance_ctu() 5 8.722e-05 8.722e-05 8.722e-05 0.02% AmrLevel::restart() 1 7.93e-05 7.93e-05 7.93e-05 0.02% MLCellLinOp::correctionResidual() 180 7.495e-05 7.495e-05 7.495e-05 0.02% StateData::restartDoit() 4 7.295e-05 7.295e-05 7.295e-05 0.02% Castro::construct_new_source() 25 6.777e-05 6.777e-05 6.777e-05 0.01% Gravity::update_max_rhs() 6 6.572e-05 6.572e-05 6.572e-05 0.01% Castro::initialize_do_advance() 5 6.352e-05 6.352e-05 6.352e-05 0.01% FabArrayBase::FB::FB() 26 6.247e-05 6.247e-05 6.247e-05 0.01% Castro::finalize_do_advance() 5 5.852e-05 5.852e-05 5.852e-05 0.01% Gravity::solve_for_phi() 5 5.395e-05 5.395e-05 5.395e-05 0.01% MLMG:computeResOfCorrection() 180 5.394e-05 5.394e-05 5.394e-05 0.01% Castro::post_timestep() 5 5.311e-05 5.311e-05 5.311e-05 0.01% MLMG::actualBottomSolve() 36 4.454e-05 4.454e-05 4.454e-05 0.01% MLMG::mgVcycle_down::0 36 4.377e-05 4.377e-05 4.377e-05 0.01% Castro::do_advance_ctu() 5 4.259e-05 4.259e-05 4.259e-05 0.01% Castro::initialize_advance() 5 3.735e-05 3.735e-05 3.735e-05 0.01% Amr::writeSmallPlotFile() 1 3.709e-05 3.709e-05 3.709e-05 0.01% MLMG::solve() 6 3.398e-05 3.398e-05 3.398e-05 0.01% Castro::clean_state() 30 3.313e-05 3.313e-05 3.313e-05 0.01% MLMG::mgVcycle_down::1 36 3.303e-05 3.303e-05 3.303e-05 0.01% MLMG::mgVcycle_up::4 36 3.298e-05 3.298e-05 3.298e-05 0.01% Castro::advance() 5 3.166e-05 3.166e-05 3.166e-05 0.01% MLMG::mgVcycle_down::2 36 3.147e-05 3.147e-05 3.147e-05 0.01% MLMG::mgVcycle_down::4 36 3.084e-05 3.084e-05 3.084e-05 0.01% Castro::buildMetrics() 1 3.081e-05 3.081e-05 3.081e-05 0.01% Castro::finalize_advance() 5 2.948e-05 2.948e-05 2.948e-05 0.01% MLMG::mgVcycle_down::3 36 2.942e-05 2.942e-05 2.942e-05 0.01% Castro::post_restart() 1 2.934e-05 2.934e-05 2.934e-05 0.01% Castro::do_new_sources() 5 2.83e-05 2.83e-05 2.83e-05 0.01% Castro::construct_old_source() 25 2.651e-05 2.651e-05 2.651e-05 0.01% Castro::initMFs() 1 2.502e-05 2.502e-05 2.502e-05 0.01% MLMG::oneIter() 36 2.466e-05 2.466e-05 2.466e-05 0.01% MLMG::mgVcycle_up::0 36 2.377e-05 2.377e-05 2.377e-05 0.01% Castro::swap_state_time_levels() 5 2.375e-05 2.375e-05 2.375e-05 0.01% MLCellLinOp::solutionResidual() 42 2.181e-05 2.181e-05 2.181e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.162e-05 2.162e-05 2.162e-05 0.00% MLMG::mgVcycle_up::3 36 2.158e-05 2.158e-05 2.158e-05 0.00% MLMG::mgVcycle_up::2 36 2.07e-05 2.07e-05 2.07e-05 0.00% MLMG::mgVcycle_up::1 36 1.974e-05 1.974e-05 1.974e-05 0.00% MLMG::ResNormInf() 42 1.901e-05 1.901e-05 1.901e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.749e-05 1.749e-05 1.749e-05 0.00% FillPatchSingleLevel 20 1.578e-05 1.578e-05 1.578e-05 0.00% MLMG::mgVcycle_bottom 36 1.559e-05 1.559e-05 1.559e-05 0.00% MLPoisson::define() 6 1.513e-05 1.513e-05 1.513e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.487e-05 1.487e-05 1.487e-05 0.00% MLMG::computeResidual() 36 1.481e-05 1.481e-05 1.481e-05 0.00% makeSFC 30 1.44e-05 1.44e-05 1.44e-05 0.00% Castro::construct_new_gravity() 5 1.221e-05 1.221e-05 1.221e-05 0.00% Castro::do_old_sources() 5 1.211e-05 1.211e-05 1.211e-05 0.00% MLMG::computeMLResidual() 6 1.126e-05 1.126e-05 1.126e-05 0.00% MLPoisson::prepareForSolve() 6 1.019e-05 1.019e-05 1.019e-05 0.00% DistributionMapping::Distribute() 31 1.008e-05 1.008e-05 1.008e-05 0.00% Amr::initSubcycle() 1 8.998e-06 8.998e-06 8.998e-06 0.00% Gravity::actual_multilevel_solve() 1 8.255e-06 8.255e-06 8.255e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.943e-06 7.943e-06 7.943e-06 0.00% MLLinOp::define() 6 6.841e-06 6.841e-06 6.841e-06 0.00% Castro::check_for_nan() 10 6.619e-06 6.619e-06 6.619e-06 0.00% Castro::apply_source_to_state() 10 6.197e-06 6.197e-06 6.197e-06 0.00% Castro::construct_old_gravity() 5 6.055e-06 6.055e-06 6.055e-06 0.00% Gravity::swapTimeLevels() 5 4.506e-06 4.506e-06 4.506e-06 0.00% MLMG::getGradSolution() 6 3.418e-06 3.418e-06 3.418e-06 0.00% Castro::computeNewDt() 5 3.357e-06 3.357e-06 3.357e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.044e-06 3.044e-06 3.044e-06 0.00% Castro::expand_state() 5 2.721e-06 2.721e-06 2.721e-06 0.00% MLMG::MLResNormInf() 6 2.379e-06 2.379e-06 2.379e-06 0.00% Gravity::set_mass_offset() 6 2.102e-06 2.102e-06 2.102e-06 0.00% MLMG::MLRhsNormInf() 6 2.079e-06 2.079e-06 2.079e-06 0.00% Castro::retry_advance_ctu() 5 2.04e-06 2.04e-06 2.04e-06 0.00% Castro::FluxRegCrseInit 5 1.463e-06 1.463e-06 1.463e-06 0.00% Amr::init() 1 1.204e-06 1.204e-06 1.204e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.146e-06 1.146e-06 1.146e-06 0.00% Castro::FluxRegFineAdd() 5 1.112e-06 1.112e-06 1.112e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4535 0.4535 0.4535 100.00% Amr::coarseTimeStep() 5 0.3265 0.3265 0.3265 72.00% Amr::timeStep() 5 0.3245 0.3245 0.3245 71.55% Castro::advance() 5 0.319 0.319 0.319 70.35% Castro::subcycle_advance_ctu() 5 0.312 0.312 0.312 68.80% Castro::do_advance_ctu() 5 0.3119 0.3119 0.3119 68.78% Castro::construct_ctu_hydro_source() 5 0.1454 0.1454 0.1454 32.05% Castro::construct_new_gravity() 5 0.1317 0.1317 0.1317 29.04% Gravity::solve_phi_with_mlmg() 6 0.1297 0.1297 0.1297 28.60% Gravity::solve_for_phi() 5 0.124 0.124 0.124 27.35% Gravity::actual_solve_with_mlmg() 6 0.1238 0.1238 0.1238 27.31% MLMG::solve() 6 0.1119 0.1119 0.1119 24.68% MLMG::oneIter() 36 0.1044 0.1044 0.1044 23.03% MLMG::mgVcycle() 36 0.1029 0.1029 0.1029 22.69% Amr::init() 1 0.07343 0.07343 0.07343 16.19% Amr::restart() 1 0.07343 0.07343 0.07343 16.19% AmrLevel::restart() 1 0.06217 0.06217 0.06217 13.71% StateData::restartDoit() 4 0.06209 0.06209 0.06209 13.69% VisMF::Read() 3 0.06179 0.06179 0.06179 13.63% Amr::writePlotFile() 1 0.05265 0.05265 0.05265 11.61% MLCellLinOp::smooth() 720 0.05128 0.05128 0.05128 11.31% MLCellLinOp::applyBC() 1910 0.0477 0.0477 0.0477 10.52% VisMF::Write(FabArray) 1 0.03249 0.03249 0.03249 7.16% MLMG::mgVcycle_bottom 36 0.03076 0.03076 0.03076 6.78% MLMG::actualBottomSolve() 36 0.03074 0.03074 0.03074 6.78% MLCGSolver::bicgstab 36 0.03042 0.03042 0.03042 6.71% Castro::clean_state() 30 0.02487 0.02487 0.02487 5.48% AmrLevel::FillPatch() 20 0.02232 0.02232 0.02232 4.92% FillPatchIterator::Initialize 20 0.02024 0.02024 0.02024 4.46% FillPatchIterator::FillFromLevel0() 20 0.01944 0.01944 0.01944 4.29% FillPatchSingleLevel 20 0.01941 0.01941 0.01941 4.28% StateDataPhysBCFunct::() 20 0.0174 0.0174 0.0174 3.84% MLCellLinOp::apply() 464 0.01544 0.01544 0.01544 3.40% MLMG::mgVcycle_down::0 36 0.01462 0.01462 0.01462 3.22% MLPoisson::Fsmooth() 1440 0.01432 0.01432 0.01432 3.16% FabArray::FillBoundary() 1730 0.01344 0.01344 0.01344 2.96% FillBoundary_nowait() 1730 0.01307 0.01307 0.01307 2.88% StateData::FillBoundary(geom) 160 0.01241 0.01241 0.01241 2.74% MLMG::mgVcycle_up::0 36 0.01098 0.01098 0.01098 2.42% Castro::initialize_do_advance() 5 0.01027 0.01027 0.01027 2.27% MLPoisson::define() 6 0.009315 0.009315 0.009315 2.05% Castro::do_old_sources() 5 0.009045 0.009045 0.009045 1.99% amrex::Dot() 484 0.008926 0.008926 0.008926 1.97% Castro::computeTemp() 30 0.008898 0.008898 0.008898 1.96% Castro::normalize_species() 30 0.008769 0.008769 0.008769 1.93% FabArray::norminf() 465 0.008619 0.008619 0.008619 1.90% MLMG:computeResOfCorrection() 180 0.008607 0.008607 0.008607 1.90% MLCellLinOp::correctionResidual() 180 0.008553 0.008553 0.008553 1.89% Gravity::get_new_grav_vector() 5 0.007563 0.007563 0.007563 1.67% Castro::construct_old_gravity() 5 0.007314 0.007314 0.007314 1.61% Gravity::get_old_grav_vector() 5 0.007308 0.007308 0.007308 1.61% MLMG::mgVcycle_down::1 36 0.007136 0.007136 0.007136 1.57% Castro::initialize_advance() 5 0.006724 0.006724 0.006724 1.48% Castro::do_new_sources() 5 0.006554 0.006554 0.006554 1.45% MLMG::mgVcycle_down::2 36 0.006527 0.006527 0.006527 1.44% FabArray::ParallelCopy() 380 0.006473 0.006473 0.006473 1.43% MLCellLinOp::defineAuxData() 6 0.006399 0.006399 0.006399 1.41% MLMG::mgVcycle_down::3 36 0.006367 0.006367 0.006367 1.40% FabArray::ParallelCopy_nowait() 380 0.006366 0.006366 0.006366 1.40% MLMG::mgVcycle_down::4 36 0.006336 0.006336 0.006336 1.40% FabArray::setVal() 501 0.006312 0.006312 0.006312 1.39% Castro::post_restart() 1 0.006296 0.006296 0.006296 1.39% Castro::expand_state() 5 0.005932 0.005932 0.005932 1.31% Gravity::multilevel_solve_for_new_phi() 1 0.005913 0.005913 0.005913 1.30% Gravity::actual_multilevel_solve() 1 0.005895 0.005895 0.005895 1.30% Gravity::fill_multipole_BCs() 6 0.005728 0.005728 0.005728 1.26% FabArray::Saxpy() 597 0.005681 0.005681 0.005681 1.25% MLCGSolver::ParallelAllReduce 798 0.005444 0.005444 0.005444 1.20% Castro::enforce_min_density() 30 0.00541 0.00541 0.00541 1.19% amrex::Copy() 221 0.005344 0.005344 0.005344 1.18% Castro::post_timestep() 5 0.005329 0.005329 0.005329 1.18% MLMG::addInterpCorrection() 180 0.005295 0.005295 0.005295 1.17% MLMG::mgVcycle_up::4 36 0.005122 0.005122 0.005122 1.13% MLMG::mgVcycle_up::1 36 0.005067 0.005067 0.005067 1.12% MLMG::mgVcycle_up::2 36 0.004984 0.004984 0.004984 1.10% amrex::average_down 180 0.004962 0.004962 0.004962 1.09% MLMG::mgVcycle_up::3 36 0.004898 0.004898 0.004898 1.08% MLPoisson::Fapply() 464 0.004328 0.004328 0.004328 0.95% MLCellLinOp::solutionResidual() 42 0.003504 0.003504 0.003504 0.77% FabArray::Xpay() 325 0.003344 0.003344 0.003344 0.74% Castro::estTimeStep() 10 0.002963 0.002963 0.002963 0.65% MLMG::prepareForSolve() 6 0.002818 0.002818 0.002818 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002767 0.002767 0.002767 0.61% MLCellLinOp::defineBC() 6 0.002763 0.002763 0.002763 0.61% MLMG::computeResidual() 36 0.002734 0.002734 0.002734 0.60% BndryData::define() 6 0.00261 0.00261 0.00261 0.58% Castro::computeNewDt() 5 0.001871 0.001871 0.001871 0.41% Castro::construct_new_source() 25 0.001802 0.001802 0.001802 0.40% Castro::enforce_speed_limit() 30 0.001756 0.001756 0.001756 0.39% Castro::construct_new_gravity_source() 5 0.001734 0.001734 0.001734 0.38% amrex::Add() 36 0.001534 0.001534 0.001534 0.34% Castro::construct_old_source() 25 0.001461 0.001461 0.001461 0.32% Castro::construct_old_gravity_source() 5 0.001434 0.001434 0.001434 0.32% Castro::finalize_do_advance() 5 0.001154 0.001154 0.001154 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009614 0.0009614 0.0009614 0.21% MLMG::ResNormInf() 42 0.000961 0.000961 0.000961 0.21% Castro::apply_source_to_state() 10 0.0009538 0.0009538 0.0009538 0.21% MLMG::getGradSolution() 6 0.0008719 0.0008719 0.0008719 0.19% MLCellLinOp::compGrad() 6 0.0008684 0.0008684 0.0008684 0.19% MLCellLinOp::setLevelBC() 6 0.0008591 0.0008591 0.0008591 0.19% check_for_negative_density() 5 0.0008568 0.0008568 0.0008568 0.19% FabArrayBase::getCPC() 632 0.0008108 0.0008108 0.0008108 0.18% MLMG::computeMLResidual() 6 0.0007966 0.0007966 0.0007966 0.18% Castro::reset_internal_energy(Fab) 240 0.0007631 0.0007631 0.0007631 0.17% MLPoisson::prepareForSolve() 6 0.000759 0.000759 0.000759 0.17% MLCellLinOp::prepareForSolve() 6 0.0007488 0.0007488 0.0007488 0.17% Gravity::update_max_rhs() 6 0.0007172 0.0007172 0.0007172 0.16% FabArray::setDomainBndry() 20 0.0007001 0.0007001 0.0007001 0.15% FabArray::mult() 22 0.0006786 0.0006786 0.0006786 0.15% Castro::check_for_nan() 10 0.0006608 0.0006608 0.0006608 0.15% MultiFab::contains_nan() 10 0.0006542 0.0006542 0.0006542 0.14% Amr::InitAmr() 1 0.0004822 0.0004822 0.0004822 0.11% FabArrayBase::CPC::define() 244 0.0004213 0.0004213 0.0004213 0.09% FabArrayBase::getFB() 1730 0.0003576 0.0003576 0.0003576 0.08% Castro::finalize_advance() 5 0.0002874 0.0002874 0.0002874 0.06% Gravity::swapTimeLevels() 5 0.000234 0.000234 0.000234 0.05% MultiFab::max() 6 0.0002115 0.0002115 0.0002115 0.05% MLMG::MLResNormInf() 6 0.000189 0.000189 0.000189 0.04% Castro::buildMetrics() 1 0.0001555 0.0001555 0.0001555 0.03% MLLinOp::define() 6 0.0001383 0.0001383 0.0001383 0.03% MLLinOp::defineGrids() 6 0.0001314 0.0001314 0.0001314 0.03% MLMG::MLRhsNormInf() 6 0.0001169 0.0001169 0.0001169 0.03% Castro::create_source_corrector() 5 0.0001016 0.0001016 0.0001016 0.02% FabArrayBase::FB::FB() 26 6.247e-05 6.247e-05 6.247e-05 0.01% Amr::writeSmallPlotFile() 1 3.709e-05 3.709e-05 3.709e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.092e-05 3.092e-05 3.092e-05 0.01% Castro::initMFs() 1 2.502e-05 2.502e-05 2.502e-05 0.01% Castro::swap_state_time_levels() 5 2.375e-05 2.375e-05 2.375e-05 0.01% makeSFC 30 2.298e-05 2.298e-05 2.298e-05 0.01% DistributionMapping::Distribute() 31 1.008e-05 1.008e-05 1.008e-05 0.00% Amr::initSubcycle() 1 8.998e-06 8.998e-06 8.998e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.541e-06 4.541e-06 4.541e-06 0.00% Gravity::set_mass_offset() 6 2.102e-06 2.102e-06 2.102e-06 0.00% Castro::retry_advance_ctu() 5 2.04e-06 2.04e-06 2.04e-06 0.00% Castro::FluxRegCrseInit 5 1.463e-06 1.463e-06 1.463e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.146e-06 1.146e-06 1.146e-06 0.00% Castro::FluxRegFineAdd() 5 1.112e-06 1.112e-06 1.112e-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 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 990 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2104 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6446 KiB 14 MiB MLMG::prepareForSolve() 361 361 3028 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 167 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 170 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6433 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3140 B 2048 KiB Gravity::solve_for_phi() 40 40 559 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 279 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 179 KiB 671 KiB Castro::estTimeStep() 10 10 3103 B 480 KiB VisMF::Write(FabArray) 112 112 2338 B 320 KiB Castro::normalize_species() 30 30 6289 B 320 KiB amrex::average_down 469 469 1064 B 257 KiB MLMG::addInterpCorrection() 468 468 989 B 257 KiB amrex::Dot() 592 592 2901 B 160 KiB FabArray::norminf() 501 501 2940 B 160 KiB check_for_negative_density() 5 5 303 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 2935 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 242 B 9648 B MLCellLinOp::applyBC() 3820 3820 189 B 9344 B amrex::Copy() 56 56 5513 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 314 B 1248 B MLCGSolver::bicgstab 180 180 80 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1141 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 200 KiB 3584 KiB VisMF::Read() 24 24 205 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 2935 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 42 B 10 KiB FillBoundary_nowait() 336 336 243 B 9648 B MLCellLinOp::applyBC() 1910 1910 188 B 9328 B amrex::Copy() 56 56 5513 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2531 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 480 B 1296 B amrex::average_down 37 37 204 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 21 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 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-5-g8692f601b428) finalized