Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-5-g68aa69a11750) initialized Starting run at 07:36:45 UTC on 2023-05-05. Successfully read inputs file ... Castro git describe: 23.05-1-gc94456cbd AMReX git describe: 23.05-5-g68aa69a11 Microphysics git describe: 23.05 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.059770417 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034454452 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046910323 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.051580396 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.061026294 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.067008586 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.068902785 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.05950575 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.068933482 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.047645302 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.046936487 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.047575579 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.062882864 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.060878797 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.035358233 seconds Ending run at 07:36:45 UTC on 2023-05-05. Run time = 0.868775893 Run time without initialization = 0.725782947 Average number of zones advanced per microsecond: 3.612 Average number of zones advanced per microsecond per rank: 3.612 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8688 ... 0.8688 ... 0.8688 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2430 0.2430 0.2430 27.97% Castro::construct_ctu_hydro_source() 10 0.2064 0.2064 0.2064 23.75% MLCellLinOp::applyBC() 4433 0.0774 0.0774 0.0774 8.91% MLPoisson::Fsmooth() 3280 0.03254 0.03254 0.03254 3.74% FillBoundary_nowait() 4023 0.0318 0.0318 0.0318 3.66% StateData::FillBoundary(geom) 328 0.02524 0.02524 0.02524 2.90% amrex::Dot() 1114 0.02065 0.02065 0.02065 2.38% amrex::Copy() 1029 0.01483 0.01483 0.01483 1.71% FabArray::norminf() 743 0.01448 0.01448 0.01448 1.67% Castro::computeTemp() 63 0.0142 0.0142 0.0142 1.63% Castro::normalize_species() 62 0.01386 0.01386 0.01386 1.60% FabArray::ParallelCopy_nowait() 861 0.01339 0.01339 0.01339 1.54% FabArray::setVal() 1144 0.01313 0.01313 0.01313 1.51% StateDataPhysBCFunct::() 41 0.01162 0.01162 0.01162 1.34% Castro::enforce_min_density() 62 0.0115 0.0115 0.0115 1.32% MLPoisson::Fapply() 1142 0.01041 0.01041 0.01041 1.20% MLCellLinOp::defineAuxData() 11 0.009859 0.009859 0.009859 1.13% FabArray::Saxpy() 813 0.008171 0.008171 0.008171 0.94% FabArray::Xpay() 821 0.00804 0.00804 0.00804 0.93% MLMG::addInterpCorrection() 410 0.006653 0.006653 0.006653 0.77% Castro::estTimeStep() 21 0.006649 0.006649 0.006649 0.77% Gravity::fill_multipole_BCs() 11 0.006608 0.006608 0.006608 0.76% amrex::average_down 410 0.005983 0.005983 0.005983 0.69% FabArray::LinComb() 557 0.004508 0.004508 0.004508 0.52% amrex::Add() 164 0.004408 0.004408 0.004408 0.51% Castro::reset_internal_energy(MultiFab) 63 0.004088 0.004088 0.004088 0.47% Amr::checkPoint() 3 0.004071 0.004071 0.004071 0.47% BndryData::define() 11 0.003723 0.003723 0.003723 0.43% Castro::construct_new_gravity_source() 10 0.003314 0.003314 0.003314 0.38% Castro::do_advance_ctu() 10 0.003264 0.003264 0.003264 0.38% Castro::construct_old_gravity_source() 10 0.002717 0.002717 0.002717 0.31% Amr::writePlotFile() 2 0.002384 0.002384 0.002384 0.27% MLCGSolver::bicgstab 82 0.002113 0.002113 0.002113 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001731 0.001731 0.001731 0.20% Castro::reset_internal_energy(Fab) 504 0.001555 0.001555 0.001555 0.18% Gravity::actual_solve_with_mlmg() 11 0.001518 0.001518 0.001518 0.17% MLCellLinOp::setLevelBC() 11 0.001392 0.001392 0.001392 0.16% FabArray::mult() 43 0.001323 0.001323 0.001323 0.15% FabArray::setDomainBndry() 41 0.001316 0.001316 0.001316 0.15% Castro::initData() 1 0.001234 0.001234 0.001234 0.14% MultiFab::contains_nan() 20 0.001202 0.001202 0.001202 0.14% MLCellLinOp::prepareForSolve() 11 0.001125 0.001125 0.001125 0.13% Castro::enforce_speed_limit() 62 0.001064 0.001064 0.001064 0.12% MLCellLinOp::smooth() 1640 0.0009921 0.0009921 0.0009921 0.11% MLCellLinOp::compGrad() 11 0.0009288 0.0009288 0.0009288 0.11% MLMG::prepareForSolve() 11 0.0008783 0.0008783 0.0008783 0.10% FabArray::FillBoundary() 4023 0.0007767 0.0007767 0.0007767 0.09% Castro::subcycle_advance_ctu() 10 0.0007569 0.0007569 0.0007569 0.09% FabArrayBase::getCPC() 1323 0.0007104 0.0007104 0.0007104 0.08% FabArrayBase::CPC::define() 454 0.000703 0.000703 0.000703 0.08% Gravity::get_new_grav_vector() 11 0.0006385 0.0006385 0.0006385 0.07% FabArrayBase::getFB() 4023 0.0005752 0.0005752 0.0005752 0.07% Gravity::get_old_grav_vector() 10 0.0005425 0.0005425 0.0005425 0.06% Amr::InitAmr() 1 0.0004885 0.0004885 0.0004885 0.06% MLCellLinOp::apply() 1142 0.0004248 0.0004248 0.0004248 0.05% MLLinOp::defineGrids() 11 0.0003374 0.0003374 0.0003374 0.04% Amr::coarseTimeStep() 10 0.0003338 0.0003338 0.0003338 0.04% MLMG::mgVcycle() 82 0.0003276 0.0003276 0.0003276 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002929 0.0002929 0.0002929 0.03% main() 1 0.0002874 0.0002874 0.0002874 0.03% MultiFab::max() 11 0.0002644 0.0002644 0.0002644 0.03% FabArray::ParallelCopy() 861 0.0002377 0.0002377 0.0002377 0.03% MLCellLinOp::defineBC() 11 0.0002306 0.0002306 0.0002306 0.03% FillPatchIterator::Initialize 41 0.0002279 0.0002279 0.0002279 0.03% MLCellLinOp::correctionResidual() 492 0.000206 0.000206 0.000206 0.02% Castro::create_source_corrector() 10 0.0001707 0.0001707 0.0001707 0.02% Amr::timeStep() 10 0.000153 0.000153 0.000153 0.02% StateData::checkPoint() 12 0.0001351 0.0001351 0.0001351 0.02% Gravity::update_max_rhs() 11 0.0001265 0.0001265 0.0001265 0.01% MLMG:computeResOfCorrection() 410 0.0001154 0.0001154 0.0001154 0.01% Gravity::solve_for_phi() 10 0.0001075 0.0001075 0.0001075 0.01% Castro::Castro() 1 9.152e-05 9.152e-05 9.152e-05 0.01% FabArrayBase::FB::FB() 56 8.738e-05 8.738e-05 8.738e-05 0.01% MLMG::actualBottomSolve() 82 8.664e-05 8.664e-05 8.664e-05 0.01% MLMG::mgVcycle_down::0 82 8.446e-05 8.446e-05 8.446e-05 0.01% Castro::expand_state() 10 7.795e-05 7.795e-05 7.795e-05 0.01% MLMG::mgVcycle_down::2 82 7.779e-05 7.779e-05 7.779e-05 0.01% MLMG::mgVcycle_down::1 82 7.712e-05 7.712e-05 7.712e-05 0.01% AmrLevel::checkPoint() 3 7.628e-05 7.628e-05 7.628e-05 0.01% Castro::clean_state() 62 7.39e-05 7.39e-05 7.39e-05 0.01% MLMG::mgVcycle_down::3 82 7.313e-05 7.313e-05 7.313e-05 0.01% MLMG::mgVcycle_down::4 82 7.24e-05 7.24e-05 7.24e-05 0.01% Castro::initialize_advance() 10 6.956e-05 6.956e-05 6.956e-05 0.01% MLMG::solve() 11 6.917e-05 6.917e-05 6.917e-05 0.01% Castro::advance() 10 6.82e-05 6.82e-05 6.82e-05 0.01% MLMG::mgVcycle_up::4 82 6.038e-05 6.038e-05 6.038e-05 0.01% Castro::finalize_advance() 10 5.977e-05 5.977e-05 5.977e-05 0.01% MLMG::oneIter() 82 5.512e-05 5.512e-05 5.512e-05 0.01% Castro::initialize_do_advance() 10 5.211e-05 5.211e-05 5.211e-05 0.01% MLMG::mgVcycle_up::1 82 5.129e-05 5.129e-05 5.129e-05 0.01% MLMG::mgVcycle_up::3 82 5.077e-05 5.077e-05 5.077e-05 0.01% MLMG::mgVcycle_up::0 82 4.858e-05 4.858e-05 4.858e-05 0.01% MLMG::mgVcycle_up::2 82 4.857e-05 4.857e-05 4.857e-05 0.01% MLCellLinOp::solutionResidual() 93 4.706e-05 4.706e-05 4.706e-05 0.01% Castro::construct_new_source() 50 4.638e-05 4.638e-05 4.638e-05 0.01% Castro::finalize_do_advance() 10 3.583e-05 3.583e-05 3.583e-05 0.00% Castro::swap_state_time_levels() 10 3.558e-05 3.558e-05 3.558e-05 0.00% StateData::define() 4 3.433e-05 3.433e-05 3.433e-05 0.00% Castro::enforce_consistent_e() 1 3.349e-05 3.349e-05 3.349e-05 0.00% MLMG::computeResidual() 82 3.305e-05 3.305e-05 3.305e-05 0.00% MLMG::ResNormInf() 93 3.233e-05 3.233e-05 3.233e-05 0.00% MLMG::mgVcycle_bottom 82 3.008e-05 3.008e-05 3.008e-05 0.00% FillPatchSingleLevel 41 2.952e-05 2.952e-05 2.952e-05 0.00% Castro::initMFs() 1 2.776e-05 2.776e-05 2.776e-05 0.00% Amr::writeSmallPlotFile() 1 2.465e-05 2.465e-05 2.465e-05 0.00% makeSFC 55 2.384e-05 2.384e-05 2.384e-05 0.00% Castro::construct_new_gravity() 10 2.38e-05 2.38e-05 2.38e-05 0.00% MLPoisson::define() 11 2.329e-05 2.329e-05 2.329e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.215e-05 2.215e-05 2.215e-05 0.00% Amr::FinalizeInit() 1 2.089e-05 2.089e-05 2.089e-05 0.00% Amr::defBaseLevel() 1 1.951e-05 1.951e-05 1.951e-05 0.00% Castro::construct_old_source() 50 1.911e-05 1.911e-05 1.911e-05 0.00% Castro::buildMetrics() 1 1.903e-05 1.903e-05 1.903e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.662e-05 1.662e-05 1.662e-05 0.00% Castro::do_new_sources() 10 1.603e-05 1.603e-05 1.603e-05 0.00% Castro::do_old_sources() 10 1.474e-05 1.474e-05 1.474e-05 0.00% DistributionMapping::Distribute() 56 1.444e-05 1.444e-05 1.444e-05 0.00% MLPoisson::prepareForSolve() 11 1.429e-05 1.429e-05 1.429e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.356e-05 1.356e-05 1.356e-05 0.00% MLMG::computeMLResidual() 11 1.273e-05 1.273e-05 1.273e-05 0.00% Castro::apply_source_to_state() 20 1.053e-05 1.053e-05 1.053e-05 0.00% Castro::check_for_nan() 20 1.052e-05 1.052e-05 1.052e-05 0.00% MLLinOp::define() 11 1.033e-05 1.033e-05 1.033e-05 0.00% AmrLevel::AmrLevel(dm) 1 9.823e-06 9.823e-06 9.823e-06 0.00% Gravity::swapTimeLevels() 10 9.357e-06 9.357e-06 9.357e-06 0.00% Castro::construct_old_gravity() 10 8.971e-06 8.971e-06 8.971e-06 0.00% Amr::initSubcycle() 1 8.859e-06 8.859e-06 8.859e-06 0.00% Gravity::actual_multilevel_solve() 1 8.295e-06 8.295e-06 8.295e-06 0.00% Castro::post_timestep() 10 8.203e-06 8.203e-06 8.203e-06 0.00% Castro::computeNewDt() 9 6.525e-06 6.525e-06 6.525e-06 0.00% MLMG::getGradSolution() 11 5.489e-06 5.489e-06 5.489e-06 0.00% AmrLevel::checkPointPost() 3 4.703e-06 4.703e-06 4.703e-06 0.00% Amr::InitializeInit() 1 4.591e-06 4.591e-06 4.591e-06 0.00% Gravity::set_mass_offset() 11 4.137e-06 4.137e-06 4.137e-06 0.00% Castro::post_init() 1 4.101e-06 4.101e-06 4.101e-06 0.00% Castro::FluxRegCrseInit 10 3.95e-06 3.95e-06 3.95e-06 0.00% MLMG::MLRhsNormInf() 11 3.789e-06 3.789e-06 3.789e-06 0.00% MLMG::MLResNormInf() 11 3.427e-06 3.427e-06 3.427e-06 0.00% Castro::retry_advance_ctu() 10 3.389e-06 3.389e-06 3.389e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.003e-06 3.003e-06 3.003e-06 0.00% Castro::computeInitialDt() 2 2.603e-06 2.603e-06 2.603e-06 0.00% Amr::init() 1 2.437e-06 2.437e-06 2.437e-06 0.00% AmrLevel::checkPointPre() 3 1.952e-06 1.952e-06 1.952e-06 0.00% Castro::FluxRegFineAdd() 10 1.865e-06 1.865e-06 1.865e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.816e-06 1.816e-06 1.816e-06 0.00% Castro::post_regrid() 1 1.188e-06 1.188e-06 1.188e-06 0.00% Amr::initialInit() 1 9.78e-07 9.78e-07 9.78e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8688 0.8688 0.8688 100.00% Amr::coarseTimeStep() 10 0.6902 0.6902 0.6902 79.44% Amr::timeStep() 10 0.5652 0.5652 0.5652 65.06% Castro::advance() 10 0.5588 0.5588 0.5588 64.32% Castro::subcycle_advance_ctu() 10 0.5466 0.5466 0.5466 62.91% Castro::do_advance_ctu() 10 0.5458 0.5458 0.5458 62.82% Gravity::solve_phi_with_mlmg() 11 0.2851 0.2851 0.2851 32.82% Gravity::actual_solve_with_mlmg() 11 0.278 0.278 0.278 32.00% Castro::construct_new_gravity() 10 0.2607 0.2607 0.2607 30.00% MLMG::solve() 11 0.2571 0.2571 0.2571 29.60% Gravity::solve_for_phi() 10 0.2448 0.2448 0.2448 28.17% VisMF::Write(FabArray) 11 0.243 0.243 0.243 27.97% MLMG::oneIter() 82 0.2428 0.2428 0.2428 27.95% MLMG::mgVcycle() 82 0.2391 0.2391 0.2391 27.52% Castro::construct_ctu_hydro_source() 10 0.2064 0.2064 0.2064 23.75% Amr::checkPoint() 3 0.1803 0.1803 0.1803 20.75% AmrLevel::checkPoint() 3 0.1762 0.1762 0.1762 20.28% StateData::checkPoint() 12 0.1761 0.1761 0.1761 20.27% Amr::init() 1 0.1424 0.1424 0.1424 16.39% MLCellLinOp::smooth() 1640 0.1181 0.1181 0.1181 13.59% MLCellLinOp::applyBC() 4433 0.1106 0.1106 0.1106 12.73% MLMG::mgVcycle_bottom 82 0.07375 0.07375 0.07375 8.49% MLMG::actualBottomSolve() 82 0.07372 0.07372 0.07372 8.49% MLCGSolver::bicgstab 82 0.07303 0.07303 0.07303 8.41% Amr::writePlotFile() 2 0.06993 0.06993 0.06993 8.05% Amr::initialInit() 1 0.04802 0.04802 0.04802 5.53% Castro::clean_state() 62 0.04567 0.04567 0.04567 5.26% Amr::FinalizeInit() 1 0.04407 0.04407 0.04407 5.07% Castro::post_init() 1 0.04271 0.04271 0.04271 4.92% FillPatchIterator::Initialize 41 0.04247 0.04247 0.04247 4.89% FillPatchSingleLevel 41 0.04093 0.04093 0.04093 4.71% Gravity::multilevel_solve_for_new_phi() 1 0.04078 0.04078 0.04078 4.69% Gravity::actual_multilevel_solve() 1 0.04077 0.04077 0.04077 4.69% StateDataPhysBCFunct::() 41 0.03686 0.03686 0.03686 4.24% MLCellLinOp::apply() 1142 0.03647 0.03647 0.03647 4.20% MLMG::mgVcycle_down::0 82 0.03421 0.03421 0.03421 3.94% FabArray::FillBoundary() 4023 0.03324 0.03324 0.03324 3.83% MLPoisson::Fsmooth() 3280 0.03254 0.03254 0.03254 3.74% FillBoundary_nowait() 4023 0.03246 0.03246 0.03246 3.74% MLMG::mgVcycle_up::0 82 0.026 0.026 0.026 2.99% StateData::FillBoundary(geom) 328 0.02524 0.02524 0.02524 2.90% MLCellLinOp::correctionResidual() 492 0.02234 0.02234 0.02234 2.57% amrex::Dot() 1114 0.02065 0.02065 0.02065 2.38% Castro::computeTemp() 63 0.01984 0.01984 0.01984 2.28% MLMG:computeResOfCorrection() 410 0.0197 0.0197 0.0197 2.27% Castro::initialize_do_advance() 10 0.01944 0.01944 0.01944 2.24% Gravity::get_new_grav_vector() 11 0.01756 0.01756 0.01756 2.02% MLPoisson::define() 11 0.01659 0.01659 0.01659 1.91% MLMG::mgVcycle_down::1 82 0.01584 0.01584 0.01584 1.82% Castro::construct_old_gravity() 10 0.01511 0.01511 0.01511 1.74% Gravity::get_old_grav_vector() 10 0.0151 0.0151 0.0151 1.74% MLMG::mgVcycle_down::2 82 0.01484 0.01484 0.01484 1.71% amrex::Copy() 1029 0.01483 0.01483 0.01483 1.71% MLMG::mgVcycle_down::3 82 0.0145 0.0145 0.0145 1.67% FabArray::norminf() 743 0.01448 0.01448 0.01448 1.67% FabArray::ParallelCopy() 861 0.01442 0.01442 0.01442 1.66% MLMG::mgVcycle_down::4 82 0.01427 0.01427 0.01427 1.64% FabArray::ParallelCopy_nowait() 861 0.01418 0.01418 0.01418 1.63% Castro::normalize_species() 62 0.01386 0.01386 0.01386 1.60% FabArray::setVal() 1144 0.01313 0.01313 0.01313 1.51% Castro::do_new_sources() 10 0.01292 0.01292 0.01292 1.49% MLCGSolver::ParallelAllReduce 1514 0.01235 0.01235 0.01235 1.42% MLMG::addInterpCorrection() 410 0.0118 0.0118 0.0118 1.36% MLMG::mgVcycle_up::1 82 0.01163 0.01163 0.01163 1.34% Castro::initialize_advance() 10 0.01155 0.01155 0.01155 1.33% Castro::enforce_min_density() 62 0.0115 0.0115 0.0115 1.32% MLMG::mgVcycle_up::4 82 0.0114 0.0114 0.0114 1.31% MLMG::mgVcycle_up::2 82 0.0113 0.0113 0.0113 1.30% MLCellLinOp::defineAuxData() 11 0.01122 0.01122 0.01122 1.29% amrex::average_down 410 0.01122 0.01122 0.01122 1.29% Castro::expand_state() 10 0.01116 0.01116 0.01116 1.28% MLMG::mgVcycle_up::3 82 0.01102 0.01102 0.01102 1.27% Castro::do_old_sources() 10 0.01048 0.01048 0.01048 1.21% MLPoisson::Fapply() 1142 0.01041 0.01041 0.01041 1.20% FabArray::Saxpy() 813 0.008171 0.008171 0.008171 0.94% FabArray::Xpay() 821 0.00804 0.00804 0.00804 0.93% MLCellLinOp::solutionResidual() 93 0.007159 0.007159 0.007159 0.82% Gravity::fill_multipole_BCs() 11 0.006871 0.006871 0.006871 0.79% Castro::estTimeStep() 21 0.006649 0.006649 0.006649 0.77% Castro::post_timestep() 10 0.006293 0.006293 0.006293 0.72% MLMG::computeResidual() 82 0.006181 0.006181 0.006181 0.71% Castro::reset_internal_energy(MultiFab) 63 0.005643 0.005643 0.005643 0.65% MLCellLinOp::defineBC() 11 0.004941 0.004941 0.004941 0.57% BndryData::define() 11 0.00471 0.00471 0.00471 0.54% MLMG::prepareForSolve() 11 0.004688 0.004688 0.004688 0.54% FabArray::LinComb() 557 0.004508 0.004508 0.004508 0.52% amrex::Add() 164 0.004408 0.004408 0.004408 0.51% Amr::InitializeInit() 1 0.003953 0.003953 0.003953 0.46% Amr::defBaseLevel() 1 0.003949 0.003949 0.003949 0.45% Castro::computeNewDt() 9 0.003494 0.003494 0.003494 0.40% Castro::initData() 1 0.003427 0.003427 0.003427 0.39% Castro::construct_new_source() 50 0.003361 0.003361 0.003361 0.39% Castro::construct_new_gravity_source() 10 0.003314 0.003314 0.003314 0.38% Castro::construct_old_source() 50 0.002736 0.002736 0.002736 0.31% Castro::construct_old_gravity_source() 10 0.002717 0.002717 0.002717 0.31% MLMG::ResNormInf() 93 0.00212 0.00212 0.00212 0.24% Castro::apply_source_to_state() 20 0.001822 0.001822 0.001822 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001731 0.001731 0.001731 0.20% Castro::reset_internal_energy(Fab) 504 0.001555 0.001555 0.001555 0.18% FabArrayBase::getCPC() 1323 0.001413 0.001413 0.001413 0.16% MLMG::getGradSolution() 11 0.001411 0.001411 0.001411 0.16% MLCellLinOp::compGrad() 11 0.001406 0.001406 0.001406 0.16% MLCellLinOp::setLevelBC() 11 0.001392 0.001392 0.001392 0.16% FabArray::mult() 43 0.001323 0.001323 0.001323 0.15% FabArray::setDomainBndry() 41 0.001316 0.001316 0.001316 0.15% Castro::check_for_nan() 20 0.001213 0.001213 0.001213 0.14% MultiFab::contains_nan() 20 0.001202 0.001202 0.001202 0.14% MLPoisson::prepareForSolve() 11 0.001139 0.001139 0.001139 0.13% MLCellLinOp::prepareForSolve() 11 0.001125 0.001125 0.001125 0.13% Castro::post_regrid() 1 0.001114 0.001114 0.001114 0.13% Castro::enforce_speed_limit() 62 0.001064 0.001064 0.001064 0.12% MLMG::computeMLResidual() 11 0.001023 0.001023 0.001023 0.12% Castro::computeInitialDt() 2 0.0008928 0.0008928 0.0008928 0.10% Gravity::update_max_rhs() 11 0.0008413 0.0008413 0.0008413 0.10% FabArrayBase::CPC::define() 454 0.000703 0.000703 0.000703 0.08% FabArrayBase::getFB() 4023 0.0006626 0.0006626 0.0006626 0.08% Castro::finalize_advance() 10 0.0005905 0.0005905 0.0005905 0.07% Amr::InitAmr() 1 0.0004974 0.0004974 0.0004974 0.06% Castro::Castro() 1 0.0004536 0.0004536 0.0004536 0.05% Gravity::swapTimeLevels() 10 0.0004438 0.0004438 0.0004438 0.05% MLLinOp::define() 11 0.0004 0.0004 0.0004 0.05% MLLinOp::defineGrids() 11 0.0003897 0.0003897 0.0003897 0.04% MLMG::MLResNormInf() 11 0.0002865 0.0002865 0.0002865 0.03% MultiFab::max() 11 0.0002644 0.0002644 0.0002644 0.03% MLMG::MLRhsNormInf() 11 0.0002222 0.0002222 0.0002222 0.03% Castro::create_source_corrector() 10 0.0001707 0.0001707 0.0001707 0.02% Castro::buildMetrics() 1 0.0001705 0.0001705 0.0001705 0.02% FabArrayBase::FB::FB() 56 8.738e-05 8.738e-05 8.738e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.05e-05 5.05e-05 5.05e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.415e-05 4.415e-05 4.415e-05 0.01% makeSFC 55 3.693e-05 3.693e-05 3.693e-05 0.00% Castro::finalize_do_advance() 10 3.583e-05 3.583e-05 3.583e-05 0.00% Castro::swap_state_time_levels() 10 3.558e-05 3.558e-05 3.558e-05 0.00% StateData::define() 4 3.433e-05 3.433e-05 3.433e-05 0.00% Castro::enforce_consistent_e() 1 3.349e-05 3.349e-05 3.349e-05 0.00% Castro::initMFs() 1 2.776e-05 2.776e-05 2.776e-05 0.00% Amr::writeSmallPlotFile() 1 2.465e-05 2.465e-05 2.465e-05 0.00% DistributionMapping::Distribute() 56 1.444e-05 1.444e-05 1.444e-05 0.00% Amr::initSubcycle() 1 8.859e-06 8.859e-06 8.859e-06 0.00% AmrLevel::checkPointPost() 3 4.703e-06 4.703e-06 4.703e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.355e-06 4.355e-06 4.355e-06 0.00% Gravity::set_mass_offset() 11 4.137e-06 4.137e-06 4.137e-06 0.00% Castro::FluxRegCrseInit 10 3.95e-06 3.95e-06 3.95e-06 0.00% Castro::retry_advance_ctu() 10 3.389e-06 3.389e-06 3.389e-06 0.00% AmrLevel::checkPointPre() 3 1.952e-06 1.952e-06 1.952e-06 0.00% Castro::FluxRegFineAdd() 10 1.865e-06 1.865e-06 1.865e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.816e-06 1.816e-06 1.816e-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 97 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 110 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1033 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2263 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3641 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 209 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 178 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1858 B 2048 KiB Gravity::solve_for_phi() 80 80 576 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 3646 B 480 KiB VisMF::Write(FabArray) 656 656 3475 B 320 KiB Castro::normalize_species() 62 62 5192 B 320 KiB amrex::average_down 1067 1067 1281 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1173 B 257 KiB amrex::Dot() 1360 1360 3501 B 160 KiB FabArray::norminf() 907 907 2466 B 160 KiB Castro::do_advance_ctu() 10 10 572 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB Castro::initData() 1 1 27 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3560 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 321 B 9648 B MLCellLinOp::applyBC() 8866 8866 229 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3846 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 122 B 1472 B MLCellLinOp::defineBC() 66 66 374 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 599 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 50 KiB 8192 KiB VisMF::Write(FabArray) 744 744 651 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3560 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 321 B 9648 B MLCellLinOp::applyBC() 4433 4433 227 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3846 B 6144 B Gravity::get_new_grav_vector() 3 3 2903 B 3072 B StateData::FillBoundary(geom) 1992 1992 47 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 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 303 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B MultiFab::contains_nan() 20 20 0 B 16 B MultiFab::max() 11 11 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B Castro::do_advance_ctu() 10 10 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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 (23.05-5-g68aa69a11750) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.05-5-g68aa69a11750) initialized Starting run at 07:36:46 UTC on 2023-05-05. Successfully read inputs file ... Castro git describe: 23.05-1-gc94456cbd AMReX git describe: 23.05-5-g68aa69a11 Microphysics git describe: 23.05 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.49793423 Restart time = 0.045185392 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.06364185 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.067183499 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.067422151 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.058570702 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069232181 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034470943 seconds Ending run at 07:36:47 UTC on 2023-05-05. Run time = 0.406724271 Run time without initialization = 0.360951101 Average number of zones advanced per microsecond: 3.631 Average number of zones advanced per microsecond per rank: 3.631 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4068 ... 0.4068 ... 0.4068 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1356 0.1356 0.1356 33.33% VisMF::Read() 3 0.03899 0.03899 0.03899 9.58% MLCellLinOp::applyBC() 1946 0.03339 0.03339 0.03339 8.21% VisMF::Write(FabArray) 1 0.03283 0.03283 0.03283 8.07% MLPoisson::Fsmooth() 1440 0.01394 0.01394 0.01394 3.43% FillBoundary_nowait() 1766 0.01272 0.01272 0.01272 3.13% StateData::FillBoundary(geom) 160 0.01161 0.01161 0.01161 2.86% StateDataPhysBCFunct::() 20 0.01003 0.01003 0.01003 2.47% Castro::normalize_species() 30 0.009595 0.009595 0.009595 2.36% amrex::Dot() 484 0.008775 0.008775 0.008775 2.16% Castro::enforce_min_density() 30 0.007165 0.007165 0.007165 1.76% amrex::Copy() 463 0.006976 0.006976 0.006976 1.71% FabArray::norminf() 326 0.006247 0.006247 0.006247 1.54% FabArray::setVal() 537 0.00624 0.00624 0.00624 1.53% FabArray::ParallelCopy_nowait() 380 0.0061 0.0061 0.0061 1.50% Castro::computeTemp() 30 0.005759 0.005759 0.005759 1.42% MLCellLinOp::defineAuxData() 6 0.005231 0.005231 0.005231 1.29% MLPoisson::Fapply() 500 0.004467 0.004467 0.004467 1.10% FabArray::Saxpy() 355 0.003636 0.003636 0.003636 0.89% FabArray::Xpay() 361 0.003484 0.003484 0.003484 0.86% Gravity::fill_multipole_BCs() 6 0.003081 0.003081 0.003081 0.76% MLMG::addInterpCorrection() 180 0.002878 0.002878 0.002878 0.71% Castro::estTimeStep() 10 0.002757 0.002757 0.002757 0.68% amrex::average_down 180 0.002584 0.002584 0.002584 0.64% Amr::restart() 1 0.002492 0.002492 0.002492 0.61% Castro::reset_internal_energy(MultiFab) 30 0.00215 0.00215 0.00215 0.53% BndryData::define() 6 0.002038 0.002038 0.002038 0.50% Castro::do_advance_ctu() 5 0.001934 0.001934 0.001934 0.48% FabArray::LinComb() 242 0.001923 0.001923 0.001923 0.47% Castro::construct_new_gravity_source() 5 0.001859 0.001859 0.001859 0.46% amrex::Add() 72 0.001847 0.001847 0.001847 0.45% Amr::writePlotFile() 1 0.001492 0.001492 0.001492 0.37% Castro::construct_old_gravity_source() 5 0.001425 0.001425 0.001425 0.35% Castro::enforce_speed_limit() 30 0.001244 0.001244 0.001244 0.31% MLCGSolver::bicgstab 36 0.000944 0.000944 0.000944 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009287 0.0009287 0.0009287 0.23% Castro::reset_internal_energy(Fab) 240 0.000796 0.000796 0.000796 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007802 0.0007802 0.0007802 0.19% MLCellLinOp::setLevelBC() 6 0.0007606 0.0007606 0.0007606 0.19% FabArray::mult() 22 0.0006493 0.0006493 0.0006493 0.16% FabArray::setDomainBndry() 20 0.0006456 0.0006456 0.0006456 0.16% MLCellLinOp::prepareForSolve() 6 0.0006235 0.0006235 0.0006235 0.15% MultiFab::contains_nan() 10 0.0005987 0.0005987 0.0005987 0.15% MLMG::prepareForSolve() 6 0.0004921 0.0004921 0.0004921 0.12% MLCellLinOp::compGrad() 6 0.0004907 0.0004907 0.0004907 0.12% MLCellLinOp::smooth() 720 0.00044 0.00044 0.00044 0.11% FabArrayBase::CPC::define() 244 0.0004238 0.0004238 0.0004238 0.10% Amr::InitAmr() 1 0.0003806 0.0003806 0.0003806 0.09% FabArrayBase::getCPC() 632 0.0003507 0.0003507 0.0003507 0.09% FabArray::FillBoundary() 1766 0.0003459 0.0003459 0.0003459 0.09% Gravity::get_old_grav_vector() 5 0.0003091 0.0003091 0.0003091 0.08% main() 1 0.0003074 0.0003074 0.0003074 0.08% Gravity::get_new_grav_vector() 5 0.0002795 0.0002795 0.0002795 0.07% FabArrayBase::getFB() 1766 0.0002512 0.0002512 0.0002512 0.06% MLCellLinOp::apply() 500 0.000187 0.000187 0.000187 0.05% MLLinOp::defineGrids() 6 0.0001818 0.0001818 0.0001818 0.04% Castro::construct_new_source() 25 0.0001758 0.0001758 0.0001758 0.04% Amr::coarseTimeStep() 5 0.000168 0.000168 0.000168 0.04% MLMG::mgVcycle() 36 0.0001489 0.0001489 0.0001489 0.04% MultiFab::max() 6 0.0001364 0.0001364 0.0001364 0.03% MLCGSolver::ParallelAllReduce 659 0.000123 0.000123 0.000123 0.03% Castro::create_source_corrector() 5 0.0001224 0.0001224 0.0001224 0.03% MLCellLinOp::defineBC() 6 0.0001165 0.0001165 0.0001165 0.03% FillPatchIterator::Initialize 20 0.0001162 0.0001162 0.0001162 0.03% FabArray::ParallelCopy() 380 0.0001075 0.0001075 0.0001075 0.03% Castro::post_timestep() 5 0.0001016 0.0001016 0.0001016 0.02% Castro::initialize_do_advance() 5 9.753e-05 9.753e-05 9.753e-05 0.02% MLCellLinOp::correctionResidual() 216 9.272e-05 9.272e-05 9.272e-05 0.02% Amr::timeStep() 5 7.871e-05 7.871e-05 7.871e-05 0.02% AmrLevel::restart() 1 7.223e-05 7.223e-05 7.223e-05 0.02% StateData::restartDoit() 4 6.257e-05 6.257e-05 6.257e-05 0.02% Gravity::update_max_rhs() 6 5.968e-05 5.968e-05 5.968e-05 0.01% Castro::initialize_advance() 5 5.809e-05 5.809e-05 5.809e-05 0.01% FabArrayBase::FB::FB() 26 5.748e-05 5.748e-05 5.748e-05 0.01% Castro::advance() 5 5.726e-05 5.726e-05 5.726e-05 0.01% Castro::subcycle_advance_ctu() 5 5.695e-05 5.695e-05 5.695e-05 0.01% Castro::expand_state() 5 5.065e-05 5.065e-05 5.065e-05 0.01% Gravity::solve_for_phi() 5 5e-05 5e-05 5e-05 0.01% MLMG:computeResOfCorrection() 180 4.954e-05 4.954e-05 4.954e-05 0.01% Castro::construct_old_source() 25 4.283e-05 4.283e-05 4.283e-05 0.01% MLMG::actualBottomSolve() 36 3.979e-05 3.979e-05 3.979e-05 0.01% MLMG::mgVcycle_down::0 36 3.866e-05 3.866e-05 3.866e-05 0.01% Castro::clean_state() 30 3.627e-05 3.627e-05 3.627e-05 0.01% MLMG::mgVcycle_down::1 36 3.579e-05 3.579e-05 3.579e-05 0.01% MLMG::mgVcycle_down::4 36 3.422e-05 3.422e-05 3.422e-05 0.01% MLMG::mgVcycle_down::2 36 3.402e-05 3.402e-05 3.402e-05 0.01% MLMG::mgVcycle_down::3 36 3.324e-05 3.324e-05 3.324e-05 0.01% MLMG::solve() 6 3.231e-05 3.231e-05 3.231e-05 0.01% Castro::finalize_advance() 5 3.155e-05 3.155e-05 3.155e-05 0.01% MLMG::mgVcycle_up::4 36 2.823e-05 2.823e-05 2.823e-05 0.01% Amr::writeSmallPlotFile() 1 2.807e-05 2.807e-05 2.807e-05 0.01% Castro::construct_old_gravity() 5 2.718e-05 2.718e-05 2.718e-05 0.01% Castro::buildMetrics() 1 2.71e-05 2.71e-05 2.71e-05 0.01% Castro::initMFs() 1 2.697e-05 2.697e-05 2.697e-05 0.01% MLMG::oneIter() 36 2.435e-05 2.435e-05 2.435e-05 0.01% Castro::swap_state_time_levels() 5 2.256e-05 2.256e-05 2.256e-05 0.01% Castro::finalize_do_advance() 5 2.221e-05 2.221e-05 2.221e-05 0.01% MLMG::mgVcycle_up::3 36 2.207e-05 2.207e-05 2.207e-05 0.01% MLMG::mgVcycle_up::2 36 2.148e-05 2.148e-05 2.148e-05 0.01% MLMG::mgVcycle_up::0 36 2.068e-05 2.068e-05 2.068e-05 0.01% MLCellLinOp::solutionResidual() 42 2.044e-05 2.044e-05 2.044e-05 0.01% MLMG::mgVcycle_up::1 36 2.029e-05 2.029e-05 2.029e-05 0.00% Castro::post_restart() 1 2.027e-05 2.027e-05 2.027e-05 0.00% MLMG::ResNormInf() 42 1.745e-05 1.745e-05 1.745e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.637e-05 1.637e-05 1.637e-05 0.00% FillPatchSingleLevel 20 1.486e-05 1.486e-05 1.486e-05 0.00% MLPoisson::define() 6 1.435e-05 1.435e-05 1.435e-05 0.00% makeSFC 30 1.403e-05 1.403e-05 1.403e-05 0.00% MLMG::mgVcycle_bottom 36 1.399e-05 1.399e-05 1.399e-05 0.00% MLMG::computeResidual() 36 1.326e-05 1.326e-05 1.326e-05 0.00% Castro::construct_new_gravity() 5 1.322e-05 1.322e-05 1.322e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.172e-05 1.172e-05 1.172e-05 0.00% MLPoisson::prepareForSolve() 6 1.007e-05 1.007e-05 1.007e-05 0.00% Castro::do_new_sources() 5 9.601e-06 9.601e-06 9.601e-06 0.00% DistributionMapping::Distribute() 31 8.914e-06 8.914e-06 8.914e-06 0.00% MLMG::computeMLResidual() 6 8.905e-06 8.905e-06 8.905e-06 0.00% Castro::do_old_sources() 5 8.242e-06 8.242e-06 8.242e-06 0.00% Amr::initSubcycle() 1 8.15e-06 8.15e-06 8.15e-06 0.00% Gravity::actual_multilevel_solve() 1 7.734e-06 7.734e-06 7.734e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.43e-06 7.43e-06 7.43e-06 0.00% Castro::apply_source_to_state() 10 6.252e-06 6.252e-06 6.252e-06 0.00% Castro::check_for_nan() 10 5.483e-06 5.483e-06 5.483e-06 0.00% MLLinOp::define() 6 5.363e-06 5.363e-06 5.363e-06 0.00% Gravity::swapTimeLevels() 5 3.809e-06 3.809e-06 3.809e-06 0.00% Castro::computeNewDt() 5 3.624e-06 3.624e-06 3.624e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.121e-06 3.121e-06 3.121e-06 0.00% MLMG::getGradSolution() 6 3.052e-06 3.052e-06 3.052e-06 0.00% MLMG::MLRhsNormInf() 6 2.24e-06 2.24e-06 2.24e-06 0.00% MLMG::MLResNormInf() 6 2.191e-06 2.191e-06 2.191e-06 0.00% Gravity::set_mass_offset() 6 2.072e-06 2.072e-06 2.072e-06 0.00% Castro::retry_advance_ctu() 5 1.702e-06 1.702e-06 1.702e-06 0.00% Castro::FluxRegCrseInit 5 1.639e-06 1.639e-06 1.639e-06 0.00% Amr::init() 1 1.572e-06 1.572e-06 1.572e-06 0.00% Castro::FluxRegFineAdd() 5 1.09e-06 1.09e-06 1.09e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.01e-06 1.01e-06 1.01e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4067 0.4067 0.4067 100.00% Amr::coarseTimeStep() 5 0.3262 0.3262 0.3262 80.20% Amr::timeStep() 5 0.3245 0.3245 0.3245 79.78% Castro::advance() 5 0.3196 0.3196 0.3196 78.57% Castro::subcycle_advance_ctu() 5 0.312 0.312 0.312 76.70% Castro::do_advance_ctu() 5 0.3119 0.3119 0.3119 76.69% Castro::construct_ctu_hydro_source() 5 0.1356 0.1356 0.1356 33.33% Castro::construct_new_gravity() 5 0.1316 0.1316 0.1316 32.35% Gravity::solve_phi_with_mlmg() 6 0.1248 0.1248 0.1248 30.69% Gravity::solve_for_phi() 5 0.1218 0.1218 0.1218 29.94% Gravity::actual_solve_with_mlmg() 6 0.1215 0.1215 0.1215 29.86% MLMG::solve() 6 0.1102 0.1102 0.1102 27.10% MLMG::oneIter() 36 0.1034 0.1034 0.1034 25.41% MLMG::mgVcycle() 36 0.1018 0.1018 0.1018 25.03% MLCellLinOp::smooth() 720 0.04987 0.04987 0.04987 12.26% MLCellLinOp::applyBC() 1946 0.04677 0.04677 0.04677 11.50% Amr::init() 1 0.04523 0.04523 0.04523 11.12% Amr::restart() 1 0.04523 0.04523 0.04523 11.12% AmrLevel::restart() 1 0.03917 0.03917 0.03917 9.63% StateData::restartDoit() 4 0.0391 0.0391 0.0391 9.61% VisMF::Read() 3 0.03899 0.03899 0.03899 9.58% Amr::writePlotFile() 1 0.03457 0.03457 0.03457 8.50% VisMF::Write(FabArray) 1 0.03283 0.03283 0.03283 8.07% MLMG::mgVcycle_bottom 36 0.03162 0.03162 0.03162 7.77% MLMG::actualBottomSolve() 36 0.03161 0.03161 0.03161 7.77% MLCGSolver::bicgstab 36 0.0313 0.0313 0.0313 7.70% Castro::clean_state() 30 0.02675 0.02675 0.02675 6.58% FillPatchIterator::Initialize 20 0.02449 0.02449 0.02449 6.02% FillPatchSingleLevel 20 0.02373 0.02373 0.02373 5.83% StateDataPhysBCFunct::() 20 0.02165 0.02165 0.02165 5.32% MLCellLinOp::apply() 500 0.01567 0.01567 0.01567 3.85% MLMG::mgVcycle_down::0 36 0.01428 0.01428 0.01428 3.51% MLPoisson::Fsmooth() 1440 0.01394 0.01394 0.01394 3.43% FabArray::FillBoundary() 1766 0.01338 0.01338 0.01338 3.29% FillBoundary_nowait() 1766 0.01303 0.01303 0.01303 3.20% StateData::FillBoundary(geom) 160 0.01161 0.01161 0.01161 2.86% MLMG::mgVcycle_up::0 36 0.01073 0.01073 0.01073 2.64% Castro::initialize_do_advance() 5 0.01052 0.01052 0.01052 2.59% Gravity::get_new_grav_vector() 5 0.009697 0.009697 0.009697 2.38% Castro::normalize_species() 30 0.009595 0.009595 0.009595 2.36% MLCellLinOp::correctionResidual() 216 0.009509 0.009509 0.009509 2.34% MLPoisson::define() 6 0.008933 0.008933 0.008933 2.20% amrex::Dot() 484 0.008775 0.008775 0.008775 2.16% Castro::construct_old_gravity() 5 0.00875 0.00875 0.00875 2.15% Gravity::get_old_grav_vector() 5 0.008722 0.008722 0.008722 2.14% Castro::computeTemp() 30 0.008705 0.008705 0.008705 2.14% MLMG:computeResOfCorrection() 180 0.008343 0.008343 0.008343 2.05% Castro::do_new_sources() 5 0.007985 0.007985 0.007985 1.96% Castro::initialize_advance() 5 0.007264 0.007264 0.007264 1.79% Castro::enforce_min_density() 30 0.007165 0.007165 0.007165 1.76% amrex::Copy() 463 0.006976 0.006976 0.006976 1.71% MLMG::mgVcycle_down::1 36 0.006809 0.006809 0.006809 1.67% FabArray::ParallelCopy() 380 0.006595 0.006595 0.006595 1.62% FabArray::ParallelCopy_nowait() 380 0.006487 0.006487 0.006487 1.59% MLMG::mgVcycle_down::2 36 0.006349 0.006349 0.006349 1.56% FabArray::norminf() 326 0.006247 0.006247 0.006247 1.54% FabArray::setVal() 537 0.00624 0.00624 0.00624 1.53% MLMG::mgVcycle_down::3 36 0.00619 0.00619 0.00619 1.52% MLMG::mgVcycle_down::4 36 0.006182 0.006182 0.006182 1.52% Castro::expand_state() 5 0.006112 0.006112 0.006112 1.50% MLCellLinOp::defineAuxData() 6 0.005984 0.005984 0.005984 1.47% Castro::do_old_sources() 5 0.005877 0.005877 0.005877 1.44% MLCGSolver::ParallelAllReduce 659 0.005295 0.005295 0.005295 1.30% MLMG::addInterpCorrection() 180 0.00512 0.00512 0.00512 1.26% MLMG::mgVcycle_up::1 36 0.004958 0.004958 0.004958 1.22% MLMG::mgVcycle_up::4 36 0.004908 0.004908 0.004908 1.21% MLMG::mgVcycle_up::2 36 0.004877 0.004877 0.004877 1.20% amrex::average_down 180 0.004868 0.004868 0.004868 1.20% Castro::post_timestep() 5 0.004825 0.004825 0.004825 1.19% MLMG::mgVcycle_up::3 36 0.004758 0.004758 0.004758 1.17% MLPoisson::Fapply() 500 0.004467 0.004467 0.004467 1.10% FabArray::Saxpy() 355 0.003636 0.003636 0.003636 0.89% FabArray::Xpay() 361 0.003484 0.003484 0.003484 0.86% Castro::post_restart() 1 0.003387 0.003387 0.003387 0.83% Gravity::multilevel_solve_for_new_phi() 1 0.003277 0.003277 0.003277 0.81% Gravity::actual_multilevel_solve() 1 0.003261 0.003261 0.003261 0.80% Gravity::fill_multipole_BCs() 6 0.003227 0.003227 0.003227 0.79% MLCellLinOp::solutionResidual() 42 0.003206 0.003206 0.003206 0.79% Castro::reset_internal_energy(MultiFab) 30 0.002946 0.002946 0.002946 0.72% Castro::estTimeStep() 10 0.002757 0.002757 0.002757 0.68% MLCellLinOp::defineBC() 6 0.002717 0.002717 0.002717 0.67% MLMG::computeResidual() 36 0.002655 0.002655 0.002655 0.65% BndryData::define() 6 0.002601 0.002601 0.002601 0.64% MLMG::prepareForSolve() 6 0.002568 0.002568 0.002568 0.63% Castro::construct_new_source() 25 0.002035 0.002035 0.002035 0.50% FabArray::LinComb() 242 0.001923 0.001923 0.001923 0.47% Castro::construct_new_gravity_source() 5 0.001859 0.001859 0.001859 0.46% amrex::Add() 72 0.001847 0.001847 0.001847 0.45% Castro::computeNewDt() 5 0.001541 0.001541 0.001541 0.38% Castro::construct_old_source() 25 0.001468 0.001468 0.001468 0.36% Castro::construct_old_gravity_source() 5 0.001425 0.001425 0.001425 0.35% Castro::enforce_speed_limit() 30 0.001244 0.001244 0.001244 0.31% MLMG::ResNormInf() 42 0.0009337 0.0009337 0.0009337 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009287 0.0009287 0.0009287 0.23% Castro::apply_source_to_state() 10 0.0009251 0.0009251 0.0009251 0.23% Castro::reset_internal_energy(Fab) 240 0.000796 0.000796 0.000796 0.20% FabArrayBase::getCPC() 632 0.0007745 0.0007745 0.0007745 0.19% MLCellLinOp::setLevelBC() 6 0.0007606 0.0007606 0.0007606 0.19% MLMG::getGradSolution() 6 0.0007587 0.0007587 0.0007587 0.19% MLCellLinOp::compGrad() 6 0.0007557 0.0007557 0.0007557 0.19% FabArray::mult() 22 0.0006493 0.0006493 0.0006493 0.16% FabArray::setDomainBndry() 20 0.0006456 0.0006456 0.0006456 0.16% MLPoisson::prepareForSolve() 6 0.0006336 0.0006336 0.0006336 0.16% MLCellLinOp::prepareForSolve() 6 0.0006235 0.0006235 0.0006235 0.15% Castro::check_for_nan() 10 0.0006042 0.0006042 0.0006042 0.15% MultiFab::contains_nan() 10 0.0005987 0.0005987 0.0005987 0.15% MLMG::computeMLResidual() 6 0.0005732 0.0005732 0.0005732 0.14% Gravity::update_max_rhs() 6 0.0004455 0.0004455 0.0004455 0.11% FabArrayBase::CPC::define() 244 0.0004238 0.0004238 0.0004238 0.10% Amr::InitAmr() 1 0.0003887 0.0003887 0.0003887 0.10% FabArrayBase::getFB() 1766 0.0003086 0.0003086 0.0003086 0.08% Castro::finalize_advance() 5 0.0002908 0.0002908 0.0002908 0.07% Gravity::swapTimeLevels() 5 0.0002313 0.0002313 0.0002313 0.06% MLLinOp::define() 6 0.0002171 0.0002171 0.0002171 0.05% MLLinOp::defineGrids() 6 0.0002118 0.0002118 0.0002118 0.05% MLMG::MLResNormInf() 6 0.0001539 0.0001539 0.0001539 0.04% Castro::buildMetrics() 1 0.0001458 0.0001458 0.0001458 0.04% MultiFab::max() 6 0.0001364 0.0001364 0.0001364 0.03% Castro::create_source_corrector() 5 0.0001224 0.0001224 0.0001224 0.03% MLMG::MLRhsNormInf() 6 0.0001199 0.0001199 0.0001199 0.03% FabArrayBase::FB::FB() 26 5.748e-05 5.748e-05 5.748e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.901e-05 2.901e-05 2.901e-05 0.01% Amr::writeSmallPlotFile() 1 2.807e-05 2.807e-05 2.807e-05 0.01% Castro::initMFs() 1 2.697e-05 2.697e-05 2.697e-05 0.01% Castro::swap_state_time_levels() 5 2.256e-05 2.256e-05 2.256e-05 0.01% Castro::finalize_do_advance() 5 2.221e-05 2.221e-05 2.221e-05 0.01% makeSFC 30 2.158e-05 2.158e-05 2.158e-05 0.01% DistributionMapping::Distribute() 31 8.914e-06 8.914e-06 8.914e-06 0.00% Amr::initSubcycle() 1 8.15e-06 8.15e-06 8.15e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.492e-06 4.492e-06 4.492e-06 0.00% Gravity::set_mass_offset() 6 2.072e-06 2.072e-06 2.072e-06 0.00% Castro::retry_advance_ctu() 5 1.702e-06 1.702e-06 1.702e-06 0.00% Castro::FluxRegCrseInit 5 1.639e-06 1.639e-06 1.639e-06 0.00% Castro::FluxRegFineAdd() 5 1.09e-06 1.09e-06 1.09e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.01e-06 1.01e-06 1.01e-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 207 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 155 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1241 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2378 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6783 KiB 14 MiB MLMG::prepareForSolve() 361 361 3327 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 222 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 244 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6779 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 11 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2118 B 2048 KiB Gravity::solve_for_phi() 40 40 611 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 306 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 3123 B 480 KiB VisMF::Write(FabArray) 112 112 1213 B 320 KiB Castro::normalize_species() 30 30 7679 B 320 KiB amrex::average_down 469 469 1178 B 257 KiB MLMG::addInterpCorrection() 468 468 1079 B 257 KiB amrex::Dot() 592 592 3174 B 160 KiB FabArray::norminf() 398 398 2269 B 160 KiB Castro::do_advance_ctu() 5 5 624 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3235 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 272 B 9648 B MLCellLinOp::applyBC() 3892 3892 210 B 9344 B amrex::Copy() 56 56 5907 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 84 B 4192 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 111 B 1472 B MLCellLinOp::defineBC() 36 36 344 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1586 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 109 KiB 8192 KiB VisMF::Write(FabArray) 120 120 249 KiB 3584 KiB VisMF::Read() 24 24 186 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3235 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 272 B 9648 B MLCellLinOp::applyBC() 1946 1946 209 B 9328 B amrex::Copy() 56 56 5907 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 85 B 4192 B Gravity::get_old_grav_vector() 3 3 2680 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 519 B 1296 B amrex::average_down 37 37 218 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::do_advance_ctu() 5 5 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2424 [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 (23.05-5-g68aa69a11750) finalized