Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-7-g4c79a836ae02) initialized Starting run at 07:44:08 UTC on 2023-09-14. Successfully read inputs file ... Castro git describe: 23.09-5-g0aabe1705 AMReX git describe: 23.09-7-g4c79a836a Microphysics git describe: 23.09-8-g171e787f 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.0507476 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028579577 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.056656383 [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 at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.073528843 [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 at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.083310848 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.063952498 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.057097369 [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.051092072 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.082711187 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.081019245 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.057033611 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.057762089 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.075184297 [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.102736579 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028053385 seconds Ending run at 07:44:09 UTC on 2023-09-14. Run time = 1.004894178 Run time without initialization = 0.870780943 Average number of zones advanced per microsecond: 3.010 Average number of zones advanced per microsecond per rank: 3.010 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 1.005 ... 1.005 ... 1.005 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3078 0.3078 0.3078 30.63% VisMF::Write(FabArray) 11 0.201 0.201 0.201 20.00% MLCellLinOp::applyBC() 4433 0.07764 0.07764 0.07764 7.73% Amr::checkPoint() 3 0.05777 0.05777 0.05777 5.75% MLPoisson::Fsmooth() 3280 0.03316 0.03316 0.03316 3.30% FillBoundary_nowait() 4023 0.03046 0.03046 0.03046 3.03% StateData::FillBoundary(geom) 328 0.02628 0.02628 0.02628 2.62% Castro::normalize_species() 62 0.02118 0.02118 0.02118 2.11% amrex::Dot() 1114 0.02115 0.02115 0.02115 2.10% Castro::computeTemp() 63 0.0169 0.0169 0.0169 1.68% MLPoisson::Fapply() 1142 0.01681 0.01681 0.01681 1.67% amrex::Copy() 1029 0.01511 0.01511 0.01511 1.50% FabArray::norminf() 743 0.01466 0.01466 0.01466 1.46% FabArray::ParallelCopy_nowait() 861 0.01356 0.01356 0.01356 1.35% FabArray::setVal() 1144 0.01345 0.01345 0.01345 1.34% Castro::enforce_min_density() 62 0.01203 0.01203 0.01203 1.20% StateDataPhysBCFunct::() 41 0.01094 0.01094 0.01094 1.09% MLCellLinOp::defineAuxData() 11 0.01003 0.01003 0.01003 1.00% Gravity::fill_multipole_BCs() 11 0.009311 0.009311 0.009311 0.93% FabArray::Saxpy() 813 0.008374 0.008374 0.008374 0.83% FabArray::Xpay() 821 0.008269 0.008269 0.008269 0.82% MLMG::addInterpCorrection() 410 0.006878 0.006878 0.006878 0.68% amrex::average_down 410 0.006145 0.006145 0.006145 0.61% Castro::estTimeStep() 21 0.006006 0.006006 0.006006 0.60% Castro::reset_internal_energy(MultiFab) 63 0.005474 0.005474 0.005474 0.54% FabArray::LinComb() 557 0.004639 0.004639 0.004639 0.46% amrex::Add() 164 0.004437 0.004437 0.004437 0.44% BndryData::define() 11 0.003791 0.003791 0.003791 0.38% Castro::construct_new_gravity_source() 10 0.003343 0.003343 0.003343 0.33% Castro::construct_old_gravity_source() 10 0.002816 0.002816 0.002816 0.28% MLCGSolver::bicgstab 82 0.002198 0.002198 0.002198 0.22% check_for_negative_density() 10 0.002077 0.002077 0.002077 0.21% Amr::writePlotFile() 2 0.00196 0.00196 0.00196 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001739 0.001739 0.001739 0.17% Castro::reset_internal_energy(Fab) 504 0.001661 0.001661 0.001661 0.17% Castro::enforce_speed_limit() 62 0.001607 0.001607 0.001607 0.16% Gravity::actual_solve_with_mlmg() 11 0.001532 0.001532 0.001532 0.15% Castro::initData() 1 0.001506 0.001506 0.001506 0.15% MLCellLinOp::setLevelBC() 11 0.001456 0.001456 0.001456 0.14% FabArray::mult() 43 0.001367 0.001367 0.001367 0.14% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.13% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.13% MLCellLinOp::prepareForSolve() 11 0.001267 0.001267 0.001267 0.13% MLCellLinOp::compGrad() 11 0.001073 0.001073 0.001073 0.11% MLCellLinOp::smooth() 1640 0.00103 0.00103 0.00103 0.10% MLMG::prepareForSolve() 11 0.0009441 0.0009441 0.0009441 0.09% FabArray::FillBoundary() 4023 0.0008251 0.0008251 0.0008251 0.08% FabArrayBase::getCPC() 1323 0.0007793 0.0007793 0.0007793 0.08% FabArrayBase::CPC::define() 454 0.0006734 0.0006734 0.0006734 0.07% FabArrayBase::getFB() 4023 0.0006556 0.0006556 0.0006556 0.07% Gravity::get_new_grav_vector() 11 0.0006026 0.0006026 0.0006026 0.06% Amr::InitAmr() 1 0.0005131 0.0005131 0.0005131 0.05% Gravity::get_old_grav_vector() 10 0.0004761 0.0004761 0.0004761 0.05% MLCellLinOp::apply() 1142 0.0004502 0.0004502 0.0004502 0.04% Amr::coarseTimeStep() 10 0.0003435 0.0003435 0.0003435 0.03% AmrLevel::FillPatch() 41 0.0003307 0.0003307 0.0003307 0.03% MultiFab::max() 11 0.0003278 0.0003278 0.0003278 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002875 0.0002875 0.0002875 0.03% main() 1 0.00028 0.00028 0.00028 0.03% FabArray::ParallelCopy() 861 0.0002574 0.0002574 0.0002574 0.03% MLCellLinOp::correctionResidual() 492 0.0002274 0.0002274 0.0002274 0.02% FillPatchIterator::Initialize 41 0.0002219 0.0002219 0.0002219 0.02% MLCellLinOp::defineBC() 11 0.000217 0.000217 0.000217 0.02% MLMG::mgVcycle() 82 0.0002111 0.0002111 0.0002111 0.02% Castro::subcycle_advance_ctu() 10 0.0001834 0.0001834 0.0001834 0.02% Castro::create_source_corrector() 10 0.0001712 0.0001712 0.0001712 0.02% Amr::timeStep() 10 0.0001482 0.0001482 0.0001482 0.01% MLLinOp::defineGrids() 11 0.0001466 0.0001466 0.0001466 0.01% Gravity::solve_for_phi() 10 0.0001464 0.0001464 0.0001464 0.01% Gravity::update_max_rhs() 11 0.0001225 0.0001225 0.0001225 0.01% StateData::checkPoint() 12 0.0001191 0.0001191 0.0001191 0.01% MLMG:computeResOfCorrection() 410 0.0001132 0.0001132 0.0001132 0.01% Castro::construct_new_source() 50 0.0001028 0.0001028 0.0001028 0.01% Castro::Castro() 1 9.757e-05 9.757e-05 9.757e-05 0.01% MLMG::actualBottomSolve() 82 9.615e-05 9.615e-05 9.615e-05 0.01% FabArrayBase::FB::FB() 56 9.578e-05 9.578e-05 9.578e-05 0.01% MLMG::mgVcycle_down::2 82 9.163e-05 9.163e-05 9.163e-05 0.01% Castro::advance() 10 8.773e-05 8.773e-05 8.773e-05 0.01% MLMG::mgVcycle_down::0 82 8.702e-05 8.702e-05 8.702e-05 0.01% MLMG::solve() 11 7.996e-05 7.996e-05 7.996e-05 0.01% MLMG::mgVcycle_down::1 82 7.633e-05 7.633e-05 7.633e-05 0.01% Castro::initialize_advance() 10 7.554e-05 7.554e-05 7.554e-05 0.01% MLMG::mgVcycle_down::3 82 7.431e-05 7.431e-05 7.431e-05 0.01% MLMG::mgVcycle_down::4 82 7.276e-05 7.276e-05 7.276e-05 0.01% Castro::enforce_consistent_e() 1 7.021e-05 7.021e-05 7.021e-05 0.01% Castro::clean_state() 62 6.894e-05 6.894e-05 6.894e-05 0.01% AmrLevel::checkPoint() 3 6.83e-05 6.83e-05 6.83e-05 0.01% Castro::finalize_advance() 10 6.117e-05 6.117e-05 6.117e-05 0.01% Castro::initialize_do_advance() 10 6.113e-05 6.113e-05 6.113e-05 0.01% MLMG::mgVcycle_up::4 82 6.089e-05 6.089e-05 6.089e-05 0.01% Castro::do_new_sources() 10 5.437e-05 5.437e-05 5.437e-05 0.01% MLCellLinOp::solutionResidual() 93 5.137e-05 5.137e-05 5.137e-05 0.01% MLMG::mgVcycle_up::0 82 5.102e-05 5.102e-05 5.102e-05 0.01% Castro::do_advance_ctu() 10 4.971e-05 4.971e-05 4.971e-05 0.00% MLMG::oneIter() 82 4.942e-05 4.942e-05 4.942e-05 0.00% MLMG::mgVcycle_up::3 82 4.936e-05 4.936e-05 4.936e-05 0.00% MLMG::mgVcycle_up::2 82 4.824e-05 4.824e-05 4.824e-05 0.00% MLMG::mgVcycle_up::1 82 4.818e-05 4.818e-05 4.818e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.784e-05 4.784e-05 4.784e-05 0.00% Castro::finalize_do_advance() 10 4.433e-05 4.433e-05 4.433e-05 0.00% StateData::define() 4 3.947e-05 3.947e-05 3.947e-05 0.00% Castro::swap_state_time_levels() 10 3.693e-05 3.693e-05 3.693e-05 0.00% Amr::writeSmallPlotFile() 1 3.666e-05 3.666e-05 3.666e-05 0.00% FillPatchSingleLevel 41 3.557e-05 3.557e-05 3.557e-05 0.00% MLMG::mgVcycle_bottom 82 3.41e-05 3.41e-05 3.41e-05 0.00% Castro::initMFs() 1 3.175e-05 3.175e-05 3.175e-05 0.00% MLMG::computeResidual() 82 3.145e-05 3.145e-05 3.145e-05 0.00% MLMG::ResNormInf() 93 3.087e-05 3.087e-05 3.087e-05 0.00% Amr::defBaseLevel() 1 2.771e-05 2.771e-05 2.771e-05 0.00% Castro::construct_new_gravity() 10 2.588e-05 2.588e-05 2.588e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.426e-05 2.426e-05 2.426e-05 0.00% makeSFC 55 2.35e-05 2.35e-05 2.35e-05 0.00% Castro::buildMetrics() 1 2.235e-05 2.235e-05 2.235e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.221e-05 2.221e-05 2.221e-05 0.00% Castro::do_old_sources() 10 2.196e-05 2.196e-05 2.196e-05 0.00% MLPoisson::define() 11 2.13e-05 2.13e-05 2.13e-05 0.00% Castro::construct_old_source() 50 2.023e-05 2.023e-05 2.023e-05 0.00% Amr::FinalizeInit() 1 1.767e-05 1.767e-05 1.767e-05 0.00% DistributionMapping::Distribute() 56 1.728e-05 1.728e-05 1.728e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.711e-05 1.711e-05 1.711e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.462e-05 1.462e-05 1.462e-05 0.00% MLLinOp::define() 11 1.366e-05 1.366e-05 1.366e-05 0.00% Castro::construct_old_gravity() 10 1.155e-05 1.155e-05 1.155e-05 0.00% Castro::apply_source_to_state() 20 1.152e-05 1.152e-05 1.152e-05 0.00% Castro::check_for_nan() 20 1.086e-05 1.086e-05 1.086e-05 0.00% Castro::post_init() 1 9.613e-06 9.613e-06 9.613e-06 0.00% Amr::initSubcycle() 1 9.596e-06 9.596e-06 9.596e-06 0.00% Gravity::swapTimeLevels() 10 9.253e-06 9.253e-06 9.253e-06 0.00% Castro::post_timestep() 10 8.587e-06 8.587e-06 8.587e-06 0.00% MLMG::computeMLResidual() 11 7.997e-06 7.997e-06 7.997e-06 0.00% Gravity::actual_multilevel_solve() 1 7.955e-06 7.955e-06 7.955e-06 0.00% MLPoisson::prepareForSolve() 11 7.718e-06 7.718e-06 7.718e-06 0.00% Castro::computeNewDt() 9 7.301e-06 7.301e-06 7.301e-06 0.00% MLMG::getGradSolution() 11 5.671e-06 5.671e-06 5.671e-06 0.00% AmrLevel::checkPointPost() 3 5.526e-06 5.526e-06 5.526e-06 0.00% Castro::expand_state() 10 5.464e-06 5.464e-06 5.464e-06 0.00% Amr::InitializeInit() 1 4.736e-06 4.736e-06 4.736e-06 0.00% Castro::retry_advance_ctu() 10 4.401e-06 4.401e-06 4.401e-06 0.00% MLMG::MLRhsNormInf() 11 4.326e-06 4.326e-06 4.326e-06 0.00% Gravity::set_mass_offset() 11 3.685e-06 3.685e-06 3.685e-06 0.00% MLMG::MLResNormInf() 11 3.438e-06 3.438e-06 3.438e-06 0.00% Castro::computeInitialDt() 2 3.406e-06 3.406e-06 3.406e-06 0.00% Amr::init() 1 3.38e-06 3.38e-06 3.38e-06 0.00% Castro::FluxRegCrseInit 10 3.022e-06 3.022e-06 3.022e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.799e-06 2.799e-06 2.799e-06 0.00% AmrLevel::checkPointPre() 3 2.796e-06 2.796e-06 2.796e-06 0.00% Castro::FluxRegFineAdd() 10 2.236e-06 2.236e-06 2.236e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.032e-06 2.032e-06 2.032e-06 0.00% Castro::post_regrid() 1 1.294e-06 1.294e-06 1.294e-06 0.00% Amr::initialInit() 1 1.052e-06 1.052e-06 1.052e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 1.005 1.005 1.005 100.00% Amr::coarseTimeStep() 10 0.8425 0.8425 0.8425 83.84% Amr::timeStep() 10 0.685 0.685 0.685 68.16% Castro::advance() 10 0.6741 0.6741 0.6741 67.08% Castro::subcycle_advance_ctu() 10 0.6607 0.6607 0.6607 65.75% Castro::do_advance_ctu() 10 0.6605 0.6605 0.6605 65.73% Castro::construct_ctu_hydro_source() 10 0.3194 0.3194 0.3194 31.78% Gravity::solve_phi_with_mlmg() 11 0.2966 0.2966 0.2966 29.51% Gravity::actual_solve_with_mlmg() 11 0.2868 0.2868 0.2868 28.54% Castro::construct_new_gravity() 10 0.2677 0.2677 0.2677 26.64% MLMG::solve() 11 0.2656 0.2656 0.2656 26.43% Gravity::solve_for_phi() 10 0.252 0.252 0.252 25.07% MLMG::oneIter() 82 0.2507 0.2507 0.2507 24.95% MLMG::mgVcycle() 82 0.2471 0.2471 0.2471 24.59% Amr::checkPoint() 3 0.2047 0.2047 0.2047 20.37% VisMF::Write(FabArray) 11 0.201 0.201 0.201 20.00% AmrLevel::checkPoint() 3 0.1469 0.1469 0.1469 14.62% StateData::checkPoint() 12 0.1468 0.1468 0.1468 14.61% Amr::init() 1 0.1335 0.1335 0.1335 13.28% MLCellLinOp::smooth() 1640 0.1176 0.1176 0.1176 11.70% MLCellLinOp::applyBC() 4433 0.1097 0.1097 0.1097 10.91% MLMG::mgVcycle_bottom 82 0.0816 0.0816 0.0816 8.12% MLMG::actualBottomSolve() 82 0.08157 0.08157 0.08157 8.12% MLCGSolver::bicgstab 82 0.08084 0.08084 0.08084 8.04% Castro::clean_state() 62 0.05785 0.05785 0.05785 5.76% Amr::writePlotFile() 2 0.05675 0.05675 0.05675 5.65% Amr::initialInit() 1 0.05404 0.05404 0.05404 5.38% Amr::FinalizeInit() 1 0.04892 0.04892 0.04892 4.87% Castro::post_init() 1 0.04746 0.04746 0.04746 4.72% AmrLevel::FillPatch() 41 0.04707 0.04707 0.04707 4.68% Gravity::multilevel_solve_for_new_phi() 1 0.04507 0.04507 0.04507 4.49% Gravity::actual_multilevel_solve() 1 0.04506 0.04506 0.04506 4.48% MLCellLinOp::apply() 1142 0.04303 0.04303 0.04303 4.28% FillPatchIterator::Initialize 41 0.04289 0.04289 0.04289 4.27% FillPatchIterator::FillFromLevel0() 41 0.04133 0.04133 0.04133 4.11% FillPatchSingleLevel 41 0.04129 0.04129 0.04129 4.11% StateDataPhysBCFunct::() 41 0.03722 0.03722 0.03722 3.70% MLMG::mgVcycle_down::0 82 0.03364 0.03364 0.03364 3.35% MLPoisson::Fsmooth() 3280 0.03316 0.03316 0.03316 3.30% FabArray::FillBoundary() 4023 0.03204 0.03204 0.03204 3.19% FillBoundary_nowait() 4023 0.03121 0.03121 0.03121 3.11% StateData::FillBoundary(geom) 328 0.02628 0.02628 0.02628 2.62% MLMG::mgVcycle_up::0 82 0.02535 0.02535 0.02535 2.52% Castro::computeTemp() 63 0.02403 0.02403 0.02403 2.39% MLCellLinOp::correctionResidual() 492 0.02239 0.02239 0.02239 2.23% Castro::initialize_do_advance() 10 0.02128 0.02128 0.02128 2.12% Castro::normalize_species() 62 0.02118 0.02118 0.02118 2.11% amrex::Dot() 1114 0.02115 0.02115 0.02115 2.10% MLMG:computeResOfCorrection() 410 0.0197 0.0197 0.0197 1.96% Castro::do_old_sources() 10 0.01941 0.01941 0.01941 1.93% Gravity::get_new_grav_vector() 11 0.01767 0.01767 0.01767 1.76% MLPoisson::Fapply() 1142 0.01681 0.01681 0.01681 1.67% MLPoisson::define() 11 0.01665 0.01665 0.01665 1.66% MLMG::mgVcycle_down::1 82 0.01615 0.01615 0.01615 1.61% amrex::Copy() 1029 0.01511 0.01511 0.01511 1.50% Castro::construct_old_gravity() 10 0.01503 0.01503 0.01503 1.50% Gravity::get_old_grav_vector() 10 0.01501 0.01501 0.01501 1.49% MLMG::mgVcycle_down::2 82 0.01496 0.01496 0.01496 1.49% FabArray::norminf() 743 0.01466 0.01466 0.01466 1.46% MLMG::mgVcycle_down::3 82 0.01465 0.01465 0.01465 1.46% FabArray::ParallelCopy() 861 0.01464 0.01464 0.01464 1.46% MLMG::mgVcycle_down::4 82 0.01446 0.01446 0.01446 1.44% FabArray::ParallelCopy_nowait() 861 0.01438 0.01438 0.01438 1.43% Castro::do_new_sources() 10 0.01416 0.01416 0.01416 1.41% FabArray::setVal() 1144 0.01345 0.01345 0.01345 1.34% Castro::initialize_advance() 10 0.01275 0.01275 0.01275 1.27% MLCGSolver::ParallelAllReduce 1514 0.0126 0.0126 0.0126 1.25% MLMG::addInterpCorrection() 410 0.01214 0.01214 0.01214 1.21% Castro::enforce_min_density() 62 0.01203 0.01203 0.01203 1.20% MLMG::mgVcycle_up::1 82 0.01172 0.01172 0.01172 1.17% Castro::expand_state() 10 0.01167 0.01167 0.01167 1.16% MLMG::mgVcycle_up::4 82 0.01167 0.01167 0.01167 1.16% amrex::average_down 410 0.01148 0.01148 0.01148 1.14% MLMG::mgVcycle_up::2 82 0.01143 0.01143 0.01143 1.14% MLCellLinOp::defineAuxData() 11 0.01141 0.01141 0.01141 1.14% MLMG::mgVcycle_up::3 82 0.01124 0.01124 0.01124 1.12% Castro::post_timestep() 10 0.01072 0.01072 0.01072 1.07% Gravity::fill_multipole_BCs() 11 0.009544 0.009544 0.009544 0.95% FabArray::Saxpy() 813 0.008374 0.008374 0.008374 0.83% FabArray::Xpay() 821 0.008269 0.008269 0.008269 0.82% MLCellLinOp::solutionResidual() 93 0.00747 0.00747 0.00747 0.74% Castro::reset_internal_energy(MultiFab) 63 0.007135 0.007135 0.007135 0.71% MLMG::computeResidual() 82 0.006221 0.006221 0.006221 0.62% Castro::estTimeStep() 21 0.006006 0.006006 0.006006 0.60% Amr::InitializeInit() 1 0.005116 0.005116 0.005116 0.51% Amr::defBaseLevel() 1 0.005111 0.005111 0.005111 0.51% MLCellLinOp::defineBC() 11 0.004997 0.004997 0.004997 0.50% MLMG::prepareForSolve() 11 0.004967 0.004967 0.004967 0.49% BndryData::define() 11 0.00478 0.00478 0.00478 0.48% FabArray::LinComb() 557 0.004639 0.004639 0.004639 0.46% amrex::Add() 164 0.004437 0.004437 0.004437 0.44% Castro::initData() 1 0.004435 0.004435 0.004435 0.44% Castro::construct_new_source() 50 0.003446 0.003446 0.003446 0.34% Castro::construct_new_gravity_source() 10 0.003343 0.003343 0.003343 0.33% Castro::construct_old_source() 50 0.002837 0.002837 0.002837 0.28% Castro::construct_old_gravity_source() 10 0.002816 0.002816 0.002816 0.28% Castro::finalize_do_advance() 10 0.002528 0.002528 0.002528 0.25% Castro::computeNewDt() 9 0.00247 0.00247 0.00247 0.25% MLMG::ResNormInf() 93 0.002148 0.002148 0.002148 0.21% check_for_negative_density() 10 0.002077 0.002077 0.002077 0.21% Castro::apply_source_to_state() 20 0.001866 0.001866 0.001866 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001739 0.001739 0.001739 0.17% Castro::reset_internal_energy(Fab) 504 0.001661 0.001661 0.001661 0.17% Castro::enforce_speed_limit() 62 0.001607 0.001607 0.001607 0.16% MLMG::getGradSolution() 11 0.001554 0.001554 0.001554 0.15% MLCellLinOp::compGrad() 11 0.001549 0.001549 0.001549 0.15% MLCellLinOp::setLevelBC() 11 0.001456 0.001456 0.001456 0.14% FabArrayBase::getCPC() 1323 0.001453 0.001453 0.001453 0.14% FabArray::mult() 43 0.001367 0.001367 0.001367 0.14% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.13% MLMG::computeMLResidual() 11 0.001288 0.001288 0.001288 0.13% Castro::check_for_nan() 20 0.001279 0.001279 0.001279 0.13% MLPoisson::prepareForSolve() 11 0.001275 0.001275 0.001275 0.13% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.13% MLCellLinOp::prepareForSolve() 11 0.001267 0.001267 0.001267 0.13% Castro::post_regrid() 1 0.001165 0.001165 0.001165 0.12% Castro::computeInitialDt() 2 0.001063 0.001063 0.001063 0.11% Gravity::update_max_rhs() 11 0.000972 0.000972 0.000972 0.10% FabArrayBase::getFB() 4023 0.0007513 0.0007513 0.0007513 0.07% FabArrayBase::CPC::define() 454 0.0006734 0.0006734 0.0006734 0.07% Castro::finalize_advance() 10 0.0006001 0.0006001 0.0006001 0.06% Castro::Castro() 1 0.0005808 0.0005808 0.0005808 0.06% Amr::InitAmr() 1 0.0005227 0.0005227 0.0005227 0.05% Gravity::swapTimeLevels() 10 0.0004402 0.0004402 0.0004402 0.04% MLMG::MLResNormInf() 11 0.000328 0.000328 0.000328 0.03% MultiFab::max() 11 0.0003278 0.0003278 0.0003278 0.03% Castro::buildMetrics() 1 0.0002828 0.0002828 0.0002828 0.03% MLMG::MLRhsNormInf() 11 0.0002224 0.0002224 0.0002224 0.02% MLLinOp::define() 11 0.0002165 0.0002165 0.0002165 0.02% MLLinOp::defineGrids() 11 0.0002028 0.0002028 0.0002028 0.02% Castro::create_source_corrector() 10 0.0001712 0.0001712 0.0001712 0.02% FabArrayBase::FB::FB() 56 9.578e-05 9.578e-05 9.578e-05 0.01% Castro::enforce_consistent_e() 1 7.021e-05 7.021e-05 7.021e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.373e-05 6.373e-05 6.373e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.42e-05 5.42e-05 5.42e-05 0.01% makeSFC 55 3.957e-05 3.957e-05 3.957e-05 0.00% StateData::define() 4 3.947e-05 3.947e-05 3.947e-05 0.00% Castro::swap_state_time_levels() 10 3.693e-05 3.693e-05 3.693e-05 0.00% Amr::writeSmallPlotFile() 1 3.666e-05 3.666e-05 3.666e-05 0.00% Castro::initMFs() 1 3.175e-05 3.175e-05 3.175e-05 0.00% DistributionMapping::Distribute() 56 1.728e-05 1.728e-05 1.728e-05 0.00% Amr::initSubcycle() 1 9.596e-06 9.596e-06 9.596e-06 0.00% AmrLevel::checkPointPost() 3 5.526e-06 5.526e-06 5.526e-06 0.00% Castro::retry_advance_ctu() 10 4.401e-06 4.401e-06 4.401e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.007e-06 4.007e-06 4.007e-06 0.00% Gravity::set_mass_offset() 11 3.685e-06 3.685e-06 3.685e-06 0.00% Castro::FluxRegCrseInit 10 3.022e-06 3.022e-06 3.022e-06 0.00% AmrLevel::checkPointPre() 3 2.796e-06 2.796e-06 2.796e-06 0.00% Castro::FluxRegFineAdd() 10 2.236e-06 2.236e-06 2.236e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.032e-06 2.032e-06 2.032e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 85 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 136 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 912 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1590 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3252 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 183 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 153 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7523 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1877 B 2048 KiB Gravity::solve_for_phi() 80 80 512 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 91 KiB 2048 KiB BndryData::define() 1056 1056 296 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 188 KiB 671 KiB Castro::estTimeStep() 21 21 2911 B 480 KiB VisMF::Write(FabArray) 656 656 3059 B 320 KiB Castro::normalize_species() 62 62 6868 B 320 KiB amrex::average_down 1067 1067 1170 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1030 B 257 KiB amrex::Dot() 1360 1360 3095 B 160 KiB FabArray::norminf() 907 907 2159 B 160 KiB check_for_negative_density() 10 10 317 B 160 KiB Castro::initData() 1 1 47 B 160 KiB MultiFab::max() 11 11 50 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3177 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 39 B 10 KiB FillBoundary_nowait() 760 760 265 B 9648 B MLCellLinOp::applyBC() 8866 8866 198 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3875 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 117 B 1472 B MLCellLinOp::defineBC() 66 66 334 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 519 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 36 KiB 8192 KiB VisMF::Write(FabArray) 744 744 452 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3177 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 39 B 10 KiB FillBoundary_nowait() 760 760 265 B 9648 B MLCellLinOp::applyBC() 4433 4433 197 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3875 B 6144 B Gravity::get_new_grav_vector() 3 3 2908 B 3072 B StateData::FillBoundary(geom) 1992 1992 38 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 270 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 B 272 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): 2528 [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.09-7-g4c79a836ae02) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-7-g4c79a836ae02) initialized Starting run at 07:44:10 UTC on 2023-09-14. Successfully read inputs file ... Castro git describe: 23.09-5-g0aabe1705 AMReX git describe: 23.09-7-g4c79a836a Microphysics git describe: 23.09-8-g171e787f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.519798863 Restart time = 0.050011124 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.056111054 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.056535459 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.082325954 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.081134874 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] 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.055683397 [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.028756912 seconds Ending run at 07:44:10 UTC on 2023-09-14. Run time = 0.411600116 Run time without initialization = 0.360986311 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.4116 ... 0.4116 ... 0.4116 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1448 0.1448 0.1448 35.18% VisMF::Read() 3 0.03847 0.03847 0.03847 9.35% MLCellLinOp::applyBC() 1946 0.03344 0.03344 0.03344 8.12% VisMF::Write(FabArray) 1 0.02733 0.02733 0.02733 6.64% MLPoisson::Fsmooth() 1440 0.01423 0.01423 0.01423 3.46% StateData::FillBoundary(geom) 160 0.01303 0.01303 0.01303 3.16% FillBoundary_nowait() 1766 0.01272 0.01272 0.01272 3.09% Castro::normalize_species() 30 0.009573 0.009573 0.009573 2.33% amrex::Dot() 484 0.009075 0.009075 0.009075 2.20% Castro::computeTemp() 30 0.007346 0.007346 0.007346 1.78% amrex::Copy() 463 0.007233 0.007233 0.007233 1.76% FabArray::setVal() 537 0.006569 0.006569 0.006569 1.60% FabArray::norminf() 326 0.006403 0.006403 0.006403 1.56% FabArray::ParallelCopy_nowait() 380 0.006062 0.006062 0.006062 1.47% MLCellLinOp::defineAuxData() 6 0.005425 0.005425 0.005425 1.32% Amr::restart() 1 0.004843 0.004843 0.004843 1.18% MLPoisson::Fapply() 500 0.004588 0.004588 0.004588 1.11% Gravity::fill_multipole_BCs() 6 0.004581 0.004581 0.004581 1.11% StateDataPhysBCFunct::() 20 0.004434 0.004434 0.004434 1.08% Castro::enforce_min_density() 30 0.004075 0.004075 0.004075 0.99% FabArray::Saxpy() 355 0.003747 0.003747 0.003747 0.91% FabArray::Xpay() 361 0.003584 0.003584 0.003584 0.87% MLMG::addInterpCorrection() 180 0.003068 0.003068 0.003068 0.75% amrex::average_down 180 0.002672 0.002672 0.002672 0.65% Castro::estTimeStep() 10 0.002334 0.002334 0.002334 0.57% FabArray::LinComb() 242 0.002272 0.002272 0.002272 0.55% BndryData::define() 6 0.002096 0.002096 0.002096 0.51% amrex::Add() 72 0.001885 0.001885 0.001885 0.46% Castro::construct_new_gravity_source() 5 0.001873 0.001873 0.001873 0.45% Castro::construct_old_gravity_source() 5 0.001625 0.001625 0.001625 0.39% Castro::reset_internal_energy(MultiFab) 30 0.001575 0.001575 0.001575 0.38% Castro::reset_internal_energy(Fab) 240 0.001574 0.001574 0.001574 0.38% Amr::writePlotFile() 1 0.001269 0.001269 0.001269 0.31% Castro::enforce_speed_limit() 30 0.001269 0.001269 0.001269 0.31% MLCGSolver::bicgstab 36 0.0009668 0.0009668 0.0009668 0.23% Castro::finalize_do_advance() 5 0.0009389 0.0009389 0.0009389 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009385 0.0009385 0.0009385 0.23% check_for_negative_density() 5 0.0009092 0.0009092 0.0009092 0.22% Gravity::actual_solve_with_mlmg() 6 0.0008164 0.0008164 0.0008164 0.20% MLCellLinOp::setLevelBC() 6 0.0008036 0.0008036 0.0008036 0.20% MLCellLinOp::prepareForSolve() 6 0.0007076 0.0007076 0.0007076 0.17% FabArray::setDomainBndry() 20 0.0006872 0.0006872 0.0006872 0.17% FabArray::mult() 22 0.0006868 0.0006868 0.0006868 0.17% MultiFab::contains_nan() 10 0.0006532 0.0006532 0.0006532 0.16% MLCellLinOp::compGrad() 6 0.0005877 0.0005877 0.0005877 0.14% MLMG::prepareForSolve() 6 0.0005396 0.0005396 0.0005396 0.13% MLCellLinOp::smooth() 720 0.0004655 0.0004655 0.0004655 0.11% Amr::InitAmr() 1 0.0004329 0.0004329 0.0004329 0.11% FabArrayBase::CPC::define() 244 0.0004048 0.0004048 0.0004048 0.10% Gravity::get_old_grav_vector() 5 0.0003634 0.0003634 0.0003634 0.09% FabArrayBase::getCPC() 632 0.0003593 0.0003593 0.0003593 0.09% FabArray::FillBoundary() 1766 0.0003589 0.0003589 0.0003589 0.09% Gravity::get_new_grav_vector() 5 0.0003132 0.0003132 0.0003132 0.08% FabArrayBase::getFB() 1766 0.0002709 0.0002709 0.0002709 0.07% main() 1 0.0002628 0.0002628 0.0002628 0.06% MultiFab::max() 6 0.000205 0.000205 0.000205 0.05% MLCellLinOp::apply() 500 0.0001923 0.0001923 0.0001923 0.05% Amr::coarseTimeStep() 5 0.0001766 0.0001766 0.0001766 0.04% AmrLevel::FillPatch() 20 0.0001666 0.0001666 0.0001666 0.04% Castro::construct_new_source() 25 0.0001589 0.0001589 0.0001589 0.04% Castro::initialize_do_advance() 5 0.0001568 0.0001568 0.0001568 0.04% Castro::do_new_sources() 5 0.0001319 0.0001319 0.0001319 0.03% Castro::subcycle_advance_ctu() 5 0.0001272 0.0001272 0.0001272 0.03% MLCGSolver::ParallelAllReduce 659 0.0001203 0.0001203 0.0001203 0.03% Castro::construct_old_source() 25 0.0001173 0.0001173 0.0001173 0.03% FabArray::ParallelCopy() 380 0.0001146 0.0001146 0.0001146 0.03% MLCellLinOp::defineBC() 6 0.0001112 0.0001112 0.0001112 0.03% Castro::advance() 5 0.0001073 0.0001073 0.0001073 0.03% FillPatchIterator::Initialize 20 0.0001061 0.0001061 0.0001061 0.03% Castro::create_source_corrector() 5 9.83e-05 9.83e-05 9.83e-05 0.02% MLCellLinOp::correctionResidual() 216 9.663e-05 9.663e-05 9.663e-05 0.02% Amr::timeStep() 5 9.472e-05 9.472e-05 9.472e-05 0.02% Castro::post_timestep() 5 9.23e-05 9.23e-05 9.23e-05 0.02% MLMG::mgVcycle() 36 9.126e-05 9.126e-05 9.126e-05 0.02% AmrLevel::restart() 1 8.993e-05 8.993e-05 8.993e-05 0.02% MLLinOp::defineGrids() 6 8.068e-05 8.068e-05 8.068e-05 0.02% Gravity::solve_for_phi() 5 6.651e-05 6.651e-05 6.651e-05 0.02% Gravity::update_max_rhs() 6 6.427e-05 6.427e-05 6.427e-05 0.02% StateData::restartDoit() 4 6.096e-05 6.096e-05 6.096e-05 0.01% FabArrayBase::FB::FB() 26 5.844e-05 5.844e-05 5.844e-05 0.01% Castro::finalize_advance() 5 5.615e-05 5.615e-05 5.615e-05 0.01% MLMG:computeResOfCorrection() 180 5.228e-05 5.228e-05 5.228e-05 0.01% Castro::do_old_sources() 5 5.108e-05 5.108e-05 5.108e-05 0.01% Castro::do_advance_ctu() 5 4.58e-05 4.58e-05 4.58e-05 0.01% Castro::construct_old_gravity() 5 4.509e-05 4.509e-05 4.509e-05 0.01% Castro::computeNewDt() 5 4.309e-05 4.309e-05 4.309e-05 0.01% MLMG::actualBottomSolve() 36 4.264e-05 4.264e-05 4.264e-05 0.01% MLMG::mgVcycle_down::0 36 3.717e-05 3.717e-05 3.717e-05 0.01% Castro::initialize_advance() 5 3.655e-05 3.655e-05 3.655e-05 0.01% MLMG::mgVcycle_down::1 36 3.571e-05 3.571e-05 3.571e-05 0.01% MLMG::solve() 6 3.563e-05 3.563e-05 3.563e-05 0.01% Castro::clean_state() 30 3.381e-05 3.381e-05 3.381e-05 0.01% MLMG::mgVcycle_down::2 36 3.337e-05 3.337e-05 3.337e-05 0.01% MLMG::mgVcycle_down::4 36 3.333e-05 3.333e-05 3.333e-05 0.01% MLMG::mgVcycle_down::3 36 3.129e-05 3.129e-05 3.129e-05 0.01% Amr::writeSmallPlotFile() 1 3.085e-05 3.085e-05 3.085e-05 0.01% MLMG::mgVcycle_up::4 36 2.898e-05 2.898e-05 2.898e-05 0.01% Castro::post_restart() 1 2.855e-05 2.855e-05 2.855e-05 0.01% Castro::buildMetrics() 1 2.598e-05 2.598e-05 2.598e-05 0.01% Castro::swap_state_time_levels() 5 2.455e-05 2.455e-05 2.455e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.365e-05 2.365e-05 2.365e-05 0.01% MLCellLinOp::solutionResidual() 42 2.309e-05 2.309e-05 2.309e-05 0.01% Castro::initMFs() 1 2.298e-05 2.298e-05 2.298e-05 0.01% MLMG::oneIter() 36 2.292e-05 2.292e-05 2.292e-05 0.01% MLMG::mgVcycle_up::0 36 2.261e-05 2.261e-05 2.261e-05 0.01% MLMG::mgVcycle_up::3 36 2.231e-05 2.231e-05 2.231e-05 0.01% MLMG::mgVcycle_up::2 36 2.085e-05 2.085e-05 2.085e-05 0.01% MLMG::mgVcycle_up::1 36 2.033e-05 2.033e-05 2.033e-05 0.00% MLMG::ResNormInf() 42 1.685e-05 1.685e-05 1.685e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.597e-05 1.597e-05 1.597e-05 0.00% FillPatchSingleLevel 20 1.565e-05 1.565e-05 1.565e-05 0.00% MLMG::mgVcycle_bottom 36 1.51e-05 1.51e-05 1.51e-05 0.00% MLMG::computeResidual() 36 1.462e-05 1.462e-05 1.462e-05 0.00% MLPoisson::define() 6 1.435e-05 1.435e-05 1.435e-05 0.00% Castro::construct_new_gravity() 5 1.327e-05 1.327e-05 1.327e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.321e-05 1.321e-05 1.321e-05 0.00% Amr::initSubcycle() 1 1.209e-05 1.209e-05 1.209e-05 0.00% makeSFC 30 1.163e-05 1.163e-05 1.163e-05 0.00% DistributionMapping::Distribute() 31 9.589e-06 9.589e-06 9.589e-06 0.00% MLLinOp::define() 6 9.285e-06 9.285e-06 9.285e-06 0.00% MLMG::getGradSolution() 6 8.909e-06 8.909e-06 8.909e-06 0.00% Gravity::actual_multilevel_solve() 1 8.217e-06 8.217e-06 8.217e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.593e-06 7.593e-06 7.593e-06 0.00% Castro::check_for_nan() 10 6.898e-06 6.898e-06 6.898e-06 0.00% Castro::apply_source_to_state() 10 5.864e-06 5.864e-06 5.864e-06 0.00% Gravity::swapTimeLevels() 5 4.74e-06 4.74e-06 4.74e-06 0.00% MLPoisson::prepareForSolve() 6 4.161e-06 4.161e-06 4.161e-06 0.00% MLMG::computeMLResidual() 6 3.773e-06 3.773e-06 3.773e-06 0.00% Castro::expand_state() 5 2.957e-06 2.957e-06 2.957e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.936e-06 2.936e-06 2.936e-06 0.00% Castro::retry_advance_ctu() 5 2.671e-06 2.671e-06 2.671e-06 0.00% MLMG::MLResNormInf() 6 2.38e-06 2.38e-06 2.38e-06 0.00% MLMG::MLRhsNormInf() 6 2.346e-06 2.346e-06 2.346e-06 0.00% Castro::FluxRegCrseInit 5 2.326e-06 2.326e-06 2.326e-06 0.00% Gravity::set_mass_offset() 6 2.301e-06 2.301e-06 2.301e-06 0.00% Castro::FluxRegFineAdd() 5 1.605e-06 1.605e-06 1.605e-06 0.00% Amr::init() 1 1.219e-06 1.219e-06 1.219e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.025e-06 1.025e-06 1.025e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4116 0.4116 0.4116 100.00% Amr::coarseTimeStep() 5 0.332 0.332 0.332 80.65% Amr::timeStep() 5 0.3302 0.3302 0.3302 80.22% Castro::advance() 5 0.326 0.326 0.326 79.20% Castro::subcycle_advance_ctu() 5 0.3187 0.3187 0.3187 77.41% Castro::do_advance_ctu() 5 0.3185 0.3185 0.3185 77.38% Castro::construct_ctu_hydro_source() 5 0.1504 0.1504 0.1504 36.54% Castro::construct_new_gravity() 5 0.1311 0.1311 0.1311 31.85% Gravity::solve_phi_with_mlmg() 6 0.1287 0.1287 0.1287 31.27% Gravity::actual_solve_with_mlmg() 6 0.1239 0.1239 0.1239 30.10% Gravity::solve_for_phi() 5 0.1231 0.1231 0.1231 29.92% MLMG::solve() 6 0.1123 0.1123 0.1123 27.29% MLMG::oneIter() 36 0.105 0.105 0.105 25.51% MLMG::mgVcycle() 36 0.1035 0.1035 0.1035 25.14% MLCellLinOp::smooth() 720 0.05014 0.05014 0.05014 12.18% Amr::init() 1 0.05006 0.05006 0.05006 12.16% Amr::restart() 1 0.05006 0.05006 0.05006 12.16% MLCellLinOp::applyBC() 1946 0.04685 0.04685 0.04685 11.38% AmrLevel::restart() 1 0.03884 0.03884 0.03884 9.43% StateData::restartDoit() 4 0.03874 0.03874 0.03874 9.41% VisMF::Read() 3 0.03847 0.03847 0.03847 9.35% MLMG::mgVcycle_bottom 36 0.03263 0.03263 0.03263 7.93% MLMG::actualBottomSolve() 36 0.03262 0.03262 0.03262 7.92% MLCGSolver::bicgstab 36 0.03231 0.03231 0.03231 7.85% Amr::writePlotFile() 1 0.02886 0.02886 0.02886 7.01% VisMF::Write(FabArray) 1 0.02733 0.02733 0.02733 6.64% Castro::clean_state() 30 0.02545 0.02545 0.02545 6.18% AmrLevel::FillPatch() 20 0.02239 0.02239 0.02239 5.44% FillPatchIterator::Initialize 20 0.02032 0.02032 0.02032 4.94% FillPatchIterator::FillFromLevel0() 20 0.01952 0.01952 0.01952 4.74% FillPatchSingleLevel 20 0.0195 0.0195 0.0195 4.74% StateDataPhysBCFunct::() 20 0.01746 0.01746 0.01746 4.24% MLCellLinOp::apply() 500 0.01591 0.01591 0.01591 3.86% MLMG::mgVcycle_down::0 36 0.01437 0.01437 0.01437 3.49% MLPoisson::Fsmooth() 1440 0.01423 0.01423 0.01423 3.46% FabArray::FillBoundary() 1766 0.01341 0.01341 0.01341 3.26% FillBoundary_nowait() 1766 0.01305 0.01305 0.01305 3.17% StateData::FillBoundary(geom) 160 0.01303 0.01303 0.01303 3.16% MLMG::mgVcycle_up::0 36 0.0108 0.0108 0.0108 2.62% Castro::computeTemp() 30 0.0105 0.0105 0.0105 2.55% Castro::initialize_do_advance() 5 0.01011 0.01011 0.01011 2.45% Castro::do_old_sources() 5 0.01007 0.01007 0.01007 2.45% MLCellLinOp::correctionResidual() 216 0.009604 0.009604 0.009604 2.33% Castro::normalize_species() 30 0.009573 0.009573 0.009573 2.33% MLPoisson::define() 6 0.009079 0.009079 0.009079 2.21% amrex::Dot() 484 0.009075 0.009075 0.009075 2.20% MLMG:computeResOfCorrection() 180 0.008439 0.008439 0.008439 2.05% Gravity::get_new_grav_vector() 5 0.007859 0.007859 0.007859 1.91% Castro::construct_old_gravity() 5 0.007847 0.007847 0.007847 1.91% Gravity::get_old_grav_vector() 5 0.007802 0.007802 0.007802 1.90% amrex::Copy() 463 0.007233 0.007233 0.007233 1.76% MLMG::mgVcycle_down::1 36 0.007018 0.007018 0.007018 1.71% Castro::initialize_advance() 5 0.006921 0.006921 0.006921 1.68% Castro::do_new_sources() 5 0.006702 0.006702 0.006702 1.63% FabArray::setVal() 537 0.006569 0.006569 0.006569 1.60% FabArray::ParallelCopy() 380 0.006564 0.006564 0.006564 1.59% FabArray::ParallelCopy_nowait() 380 0.00645 0.00645 0.00645 1.57% MLMG::mgVcycle_down::2 36 0.006442 0.006442 0.006442 1.57% FabArray::norminf() 326 0.006403 0.006403 0.006403 1.56% MLMG::mgVcycle_down::3 36 0.00624 0.00624 0.00624 1.52% Castro::post_restart() 1 0.0062 0.0062 0.0062 1.51% MLCellLinOp::defineAuxData() 6 0.006181 0.006181 0.006181 1.50% MLMG::mgVcycle_down::4 36 0.006177 0.006177 0.006177 1.50% Gravity::multilevel_solve_for_new_phi() 1 0.005831 0.005831 0.005831 1.42% Gravity::actual_multilevel_solve() 1 0.005815 0.005815 0.005815 1.41% Castro::expand_state() 5 0.005475 0.005475 0.005475 1.33% MLCGSolver::ParallelAllReduce 659 0.005457 0.005457 0.005457 1.33% MLMG::addInterpCorrection() 180 0.005313 0.005313 0.005313 1.29% MLMG::mgVcycle_up::4 36 0.005031 0.005031 0.005031 1.22% MLMG::mgVcycle_up::1 36 0.005001 0.005001 0.005001 1.21% amrex::average_down 180 0.004968 0.004968 0.004968 1.21% MLMG::mgVcycle_up::2 36 0.004878 0.004878 0.004878 1.19% MLMG::mgVcycle_up::3 36 0.004785 0.004785 0.004785 1.16% Gravity::fill_multipole_BCs() 6 0.004704 0.004704 0.004704 1.14% MLPoisson::Fapply() 500 0.004588 0.004588 0.004588 1.11% Castro::post_timestep() 5 0.004103 0.004103 0.004103 1.00% Castro::enforce_min_density() 30 0.004075 0.004075 0.004075 0.99% FabArray::Saxpy() 355 0.003747 0.003747 0.003747 0.91% FabArray::Xpay() 361 0.003584 0.003584 0.003584 0.87% MLCellLinOp::solutionResidual() 42 0.003422 0.003422 0.003422 0.83% Castro::reset_internal_energy(MultiFab) 30 0.003149 0.003149 0.003149 0.77% MLCellLinOp::defineBC() 6 0.002765 0.002765 0.002765 0.67% MLMG::prepareForSolve() 6 0.002736 0.002736 0.002736 0.66% MLMG::computeResidual() 36 0.002678 0.002678 0.002678 0.65% BndryData::define() 6 0.002654 0.002654 0.002654 0.64% Castro::estTimeStep() 10 0.002334 0.002334 0.002334 0.57% FabArray::LinComb() 242 0.002272 0.002272 0.002272 0.55% Castro::construct_new_source() 25 0.002031 0.002031 0.002031 0.49% amrex::Add() 72 0.001885 0.001885 0.001885 0.46% Castro::construct_new_gravity_source() 5 0.001873 0.001873 0.001873 0.45% Castro::finalize_do_advance() 5 0.001749 0.001749 0.001749 0.42% Castro::construct_old_source() 25 0.001742 0.001742 0.001742 0.42% Castro::construct_old_gravity_source() 5 0.001625 0.001625 0.001625 0.39% Castro::reset_internal_energy(Fab) 240 0.001574 0.001574 0.001574 0.38% Castro::computeNewDt() 5 0.001567 0.001567 0.001567 0.38% Castro::enforce_speed_limit() 30 0.001269 0.001269 0.001269 0.31% MLMG::ResNormInf() 42 0.0009968 0.0009968 0.0009968 0.24% Castro::apply_source_to_state() 10 0.0009596 0.0009596 0.0009596 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009385 0.0009385 0.0009385 0.23% check_for_negative_density() 5 0.0009092 0.0009092 0.0009092 0.22% MLMG::getGradSolution() 6 0.00087 0.00087 0.00087 0.21% MLCellLinOp::compGrad() 6 0.000861 0.000861 0.000861 0.21% MLCellLinOp::setLevelBC() 6 0.0008036 0.0008036 0.0008036 0.20% FabArrayBase::getCPC() 632 0.0007641 0.0007641 0.0007641 0.19% MLMG::computeMLResidual() 6 0.0007617 0.0007617 0.0007617 0.19% MLPoisson::prepareForSolve() 6 0.0007118 0.0007118 0.0007118 0.17% Gravity::update_max_rhs() 6 0.0007109 0.0007109 0.0007109 0.17% MLCellLinOp::prepareForSolve() 6 0.0007076 0.0007076 0.0007076 0.17% FabArray::setDomainBndry() 20 0.0006872 0.0006872 0.0006872 0.17% FabArray::mult() 22 0.0006868 0.0006868 0.0006868 0.17% Castro::check_for_nan() 10 0.0006601 0.0006601 0.0006601 0.16% MultiFab::contains_nan() 10 0.0006532 0.0006532 0.0006532 0.16% Amr::InitAmr() 1 0.000445 0.000445 0.000445 0.11% FabArrayBase::CPC::define() 244 0.0004048 0.0004048 0.0004048 0.10% Castro::finalize_advance() 5 0.0003349 0.0003349 0.0003349 0.08% FabArrayBase::getFB() 1766 0.0003293 0.0003293 0.0003293 0.08% Gravity::swapTimeLevels() 5 0.0002418 0.0002418 0.0002418 0.06% MultiFab::max() 6 0.000205 0.000205 0.000205 0.05% MLMG::MLResNormInf() 6 0.0001951 0.0001951 0.0001951 0.05% Castro::buildMetrics() 1 0.0001548 0.0001548 0.0001548 0.04% MLLinOp::define() 6 0.0001186 0.0001186 0.0001186 0.03% MLMG::MLRhsNormInf() 6 0.0001172 0.0001172 0.0001172 0.03% MLLinOp::defineGrids() 6 0.0001093 0.0001093 0.0001093 0.03% Castro::create_source_corrector() 5 9.83e-05 9.83e-05 9.83e-05 0.02% FabArrayBase::FB::FB() 26 5.844e-05 5.844e-05 5.844e-05 0.01% Amr::writeSmallPlotFile() 1 3.085e-05 3.085e-05 3.085e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.76e-05 2.76e-05 2.76e-05 0.01% Castro::swap_state_time_levels() 5 2.455e-05 2.455e-05 2.455e-05 0.01% Castro::initMFs() 1 2.298e-05 2.298e-05 2.298e-05 0.01% makeSFC 30 2.001e-05 2.001e-05 2.001e-05 0.00% Amr::initSubcycle() 1 1.209e-05 1.209e-05 1.209e-05 0.00% DistributionMapping::Distribute() 31 9.589e-06 9.589e-06 9.589e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.145e-06 4.145e-06 4.145e-06 0.00% Castro::retry_advance_ctu() 5 2.671e-06 2.671e-06 2.671e-06 0.00% Castro::FluxRegCrseInit 5 2.326e-06 2.326e-06 2.326e-06 0.00% Gravity::set_mass_offset() 6 2.301e-06 2.301e-06 2.301e-06 0.00% Castro::FluxRegFineAdd() 5 1.605e-06 1.605e-06 1.605e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.025e-06 1.025e-06 1.025e-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 204 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 154 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1056 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1967 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 6760 KiB 14 MiB MLMG::prepareForSolve() 361 361 3349 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 196 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 195 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6746 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3429 B 2048 KiB Gravity::solve_for_phi() 40 40 611 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 308 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 2649 B 480 KiB VisMF::Write(FabArray) 112 112 1350 B 320 KiB Castro::normalize_species() 30 30 7571 B 320 KiB amrex::average_down 469 469 1187 B 257 KiB MLMG::addInterpCorrection() 468 468 1106 B 257 KiB amrex::Dot() 592 592 3245 B 160 KiB FabArray::norminf() 398 398 2290 B 160 KiB check_for_negative_density() 5 5 348 B 160 KiB MultiFab::max() 6 6 77 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3248 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 268 B 9648 B MLCellLinOp::applyBC() 3892 3892 212 B 9344 B amrex::Copy() 56 56 5925 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 114 B 1472 B MLCellLinOp::defineBC() 36 36 346 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1273 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 90 KiB 8192 KiB VisMF::Write(FabArray) 120 120 190 KiB 3584 KiB VisMF::Read() 24 24 181 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3248 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 268 B 9648 B MLCellLinOp::applyBC() 1946 1946 211 B 9328 B amrex::Copy() 56 56 5925 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2648 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 38 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 518 B 1296 B amrex::average_down 37 37 221 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 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): 2528 [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.09-7-g4c79a836ae02) finalized