Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-20-g15038d466c05) initialized Starting run at 07:54:49 UTC on 2023-04-12. Successfully read inputs file ... Castro git describe: 23.04-7-g4402e6bb6 AMReX git describe: 23.04-20-g15038d466 Microphysics git describe: 23.04-4-gabda4ae3 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.057270847 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032880154 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.046614363 [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.048795845 [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.047951027 [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.051554966 [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.067604264 [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.057208953 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.071902751 [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.054416105 [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.045759205 [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.047990827 [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.067632403 [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.056724148 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033177545 seconds Ending run at 07:54:50 UTC on 2023-04-12. Run time = 0.833324533 Run time without initialization = 0.697975041 Average number of zones advanced per microsecond: 3.756 Average number of zones advanced per microsecond per rank: 3.756 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8334 ... 0.8334 ... 0.8334 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- VisMF::Write(FabArray) 11 0.2304 0.2304 0.2304 27.64% Castro::construct_ctu_hydro_source() 10 0.1927 0.1927 0.1927 23.12% MLCellLinOp::applyBC() 4379 0.07444 0.07444 0.07444 8.93% MLPoisson::Fsmooth() 3240 0.03116 0.03116 0.03116 3.74% FillBoundary_nowait() 3974 0.03002 0.03002 0.03002 3.60% StateData::FillBoundary(geom) 328 0.0242 0.0242 0.0242 2.90% amrex::Dot() 1100 0.01964 0.01964 0.01964 2.36% StateDataPhysBCFunct::() 41 0.01832 0.01832 0.01832 2.20% Castro::normalize_species() 62 0.01539 0.01539 0.01539 1.85% amrex::Copy() 1019 0.01455 0.01455 0.01455 1.75% Castro::computeTemp() 63 0.01399 0.01399 0.01399 1.68% FabArray::norminf() 734 0.01382 0.01382 0.01382 1.66% FabArray::ParallelCopy_nowait() 851 0.01296 0.01296 0.01296 1.55% FabArray::setVal() 1135 0.01282 0.01282 0.01282 1.54% MLPoisson::Fapply() 1128 0.009965 0.009965 0.009965 1.20% MLCellLinOp::defineAuxData() 11 0.009314 0.009314 0.009314 1.12% Castro::enforce_min_density() 62 0.0083 0.0083 0.0083 1.00% FabArray::Saxpy() 803 0.007917 0.007917 0.007917 0.95% FabArray::Xpay() 811 0.00778 0.00778 0.00778 0.93% Gravity::fill_multipole_BCs() 11 0.006642 0.006642 0.006642 0.80% MLMG::addInterpCorrection() 405 0.006552 0.006552 0.006552 0.79% Castro::estTimeStep() 21 0.006111 0.006111 0.006111 0.73% amrex::average_down 405 0.005741 0.005741 0.005741 0.69% FabArray::LinComb() 550 0.004362 0.004362 0.004362 0.52% Castro::reset_internal_energy(MultiFab) 63 0.004344 0.004344 0.004344 0.52% amrex::Add() 162 0.00428 0.00428 0.00428 0.51% Amr::checkPoint() 3 0.004005 0.004005 0.004005 0.48% BndryData::define() 11 0.003544 0.003544 0.003544 0.43% Castro::construct_new_gravity_source() 10 0.003371 0.003371 0.003371 0.40% Castro::construct_old_gravity_source() 10 0.002849 0.002849 0.002849 0.34% Castro::do_advance_ctu() 10 0.002502 0.002502 0.002502 0.30% Amr::writePlotFile() 2 0.002418 0.002418 0.002418 0.29% MLCGSolver::bicgstab 81 0.002095 0.002095 0.002095 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001657 0.001657 0.001657 0.20% Gravity::actual_solve_with_mlmg() 11 0.001462 0.001462 0.001462 0.18% Castro::reset_internal_energy(Fab) 504 0.001372 0.001372 0.001372 0.16% MLCellLinOp::setLevelBC() 11 0.00136 0.00136 0.00136 0.16% FabArray::mult() 43 0.001317 0.001317 0.001317 0.16% FabArray::setDomainBndry() 41 0.001275 0.001275 0.001275 0.15% Castro::initData() 1 0.001215 0.001215 0.001215 0.15% MultiFab::contains_nan() 20 0.001202 0.001202 0.001202 0.14% MLCellLinOp::prepareForSolve() 11 0.001114 0.001114 0.001114 0.13% MLCellLinOp::smooth() 1620 0.001045 0.001045 0.001045 0.13% Castro::enforce_speed_limit() 62 0.0009848 0.0009848 0.0009848 0.12% MLCellLinOp::compGrad() 11 0.0008924 0.0008924 0.0008924 0.11% MLMG::prepareForSolve() 11 0.0008644 0.0008644 0.0008644 0.10% FabArray::FillBoundary() 3974 0.0008148 0.0008148 0.0008148 0.10% FabArrayBase::getCPC() 1313 0.0007186 0.0007186 0.0007186 0.09% FabArrayBase::CPC::define() 454 0.0006685 0.0006685 0.0006685 0.08% Gravity::get_new_grav_vector() 11 0.0006327 0.0006327 0.0006327 0.08% FabArrayBase::getFB() 3974 0.0005955 0.0005955 0.0005955 0.07% Gravity::get_old_grav_vector() 10 0.0005447 0.0005447 0.0005447 0.07% Amr::InitAmr() 1 0.0004744 0.0004744 0.0004744 0.06% MLCellLinOp::apply() 1128 0.0004288 0.0004288 0.0004288 0.05% Amr::coarseTimeStep() 10 0.0003619 0.0003619 0.0003619 0.04% MLMG::mgVcycle() 81 0.000359 0.000359 0.000359 0.04% MLLinOp::defineGrids() 11 0.0003442 0.0003442 0.0003442 0.04% main() 1 0.0002935 0.0002935 0.0002935 0.04% MLCGSolver::ParallelAllReduce 1495 0.0002908 0.0002908 0.0002908 0.03% MultiFab::max() 11 0.0002573 0.0002573 0.0002573 0.03% FabArray::ParallelCopy() 851 0.0002412 0.0002412 0.0002412 0.03% FillPatchIterator::Initialize 41 0.0002306 0.0002306 0.0002306 0.03% MLCellLinOp::correctionResidual() 486 0.0002218 0.0002218 0.0002218 0.03% Castro::subcycle_advance_ctu() 10 0.000213 0.000213 0.000213 0.03% MLCellLinOp::defineBC() 11 0.0002099 0.0002099 0.0002099 0.03% Castro::create_source_corrector() 10 0.0001736 0.0001736 0.0001736 0.02% Amr::timeStep() 10 0.0001616 0.0001616 0.0001616 0.02% StateData::checkPoint() 12 0.0001422 0.0001422 0.0001422 0.02% Gravity::update_max_rhs() 11 0.0001245 0.0001245 0.0001245 0.01% MLMG:computeResOfCorrection() 405 0.0001138 0.0001138 0.0001138 0.01% Gravity::solve_for_phi() 10 0.000113 0.000113 0.000113 0.01% Castro::Castro() 1 9.119e-05 9.119e-05 9.119e-05 0.01% FabArrayBase::FB::FB() 56 8.886e-05 8.886e-05 8.886e-05 0.01% MLMG::actualBottomSolve() 81 8.803e-05 8.803e-05 8.803e-05 0.01% AmrLevel::checkPoint() 3 8.715e-05 8.715e-05 8.715e-05 0.01% MLMG::mgVcycle_down::0 81 8.698e-05 8.698e-05 8.698e-05 0.01% Castro::clean_state() 62 8.604e-05 8.604e-05 8.604e-05 0.01% MLMG::mgVcycle_down::1 81 8.293e-05 8.293e-05 8.293e-05 0.01% Castro::expand_state() 10 7.934e-05 7.934e-05 7.934e-05 0.01% MLMG::mgVcycle_down::2 81 7.854e-05 7.854e-05 7.854e-05 0.01% Castro::initialize_advance() 10 7.605e-05 7.605e-05 7.605e-05 0.01% MLMG::mgVcycle_down::3 81 7.195e-05 7.195e-05 7.195e-05 0.01% MLMG::solve() 11 7.155e-05 7.155e-05 7.155e-05 0.01% MLMG::mgVcycle_down::4 81 7.152e-05 7.152e-05 7.152e-05 0.01% Castro::finalize_advance() 10 6.849e-05 6.849e-05 6.849e-05 0.01% Castro::construct_new_source() 50 6.581e-05 6.581e-05 6.581e-05 0.01% Castro::advance() 10 6.347e-05 6.347e-05 6.347e-05 0.01% MLMG::mgVcycle_up::4 81 6.253e-05 6.253e-05 6.253e-05 0.01% MLMG::oneIter() 81 5.767e-05 5.767e-05 5.767e-05 0.01% MLMG::mgVcycle_up::2 81 5.455e-05 5.455e-05 5.455e-05 0.01% MLCellLinOp::solutionResidual() 92 5.215e-05 5.215e-05 5.215e-05 0.01% Castro::initialize_do_advance() 10 5.195e-05 5.195e-05 5.195e-05 0.01% MLMG::mgVcycle_up::0 81 5.142e-05 5.142e-05 5.142e-05 0.01% MLMG::mgVcycle_up::1 81 5.114e-05 5.114e-05 5.114e-05 0.01% MLMG::mgVcycle_up::3 81 5.032e-05 5.032e-05 5.032e-05 0.01% Castro::finalize_do_advance() 10 3.741e-05 3.741e-05 3.741e-05 0.00% Castro::swap_state_time_levels() 10 3.662e-05 3.662e-05 3.662e-05 0.00% StateData::define() 4 3.645e-05 3.645e-05 3.645e-05 0.00% MLMG::ResNormInf() 92 3.379e-05 3.379e-05 3.379e-05 0.00% MLMG::mgVcycle_bottom 81 3.31e-05 3.31e-05 3.31e-05 0.00% Castro::enforce_consistent_e() 1 3.219e-05 3.219e-05 3.219e-05 0.00% MLMG::computeResidual() 81 3.208e-05 3.208e-05 3.208e-05 0.00% FillPatchSingleLevel 41 2.992e-05 2.992e-05 2.992e-05 0.00% Amr::FinalizeInit() 1 2.775e-05 2.775e-05 2.775e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.711e-05 2.711e-05 2.711e-05 0.00% Castro::initMFs() 1 2.569e-05 2.569e-05 2.569e-05 0.00% Castro::construct_new_gravity() 10 2.513e-05 2.513e-05 2.513e-05 0.00% Amr::writeSmallPlotFile() 1 2.427e-05 2.427e-05 2.427e-05 0.00% makeSFC 55 2.418e-05 2.418e-05 2.418e-05 0.00% MLPoisson::define() 11 2.296e-05 2.296e-05 2.296e-05 0.00% Amr::defBaseLevel() 1 2.124e-05 2.124e-05 2.124e-05 0.00% Castro::construct_old_source() 50 1.961e-05 1.961e-05 1.961e-05 0.00% Castro::buildMetrics() 1 1.864e-05 1.864e-05 1.864e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.751e-05 1.751e-05 1.751e-05 0.00% Castro::do_new_sources() 10 1.684e-05 1.684e-05 1.684e-05 0.00% Castro::do_old_sources() 10 1.55e-05 1.55e-05 1.55e-05 0.00% DistributionMapping::Distribute() 56 1.438e-05 1.438e-05 1.438e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.354e-05 1.354e-05 1.354e-05 0.00% MLPoisson::prepareForSolve() 11 1.304e-05 1.304e-05 1.304e-05 0.00% MLMG::computeMLResidual() 11 1.301e-05 1.301e-05 1.301e-05 0.00% Castro::check_for_nan() 20 1.184e-05 1.184e-05 1.184e-05 0.00% MLLinOp::define() 11 1.05e-05 1.05e-05 1.05e-05 0.00% Castro::apply_source_to_state() 20 1.001e-05 1.001e-05 1.001e-05 0.00% AmrLevel::AmrLevel(dm) 1 9.921e-06 9.921e-06 9.921e-06 0.00% Gravity::swapTimeLevels() 10 9.736e-06 9.736e-06 9.736e-06 0.00% Castro::construct_old_gravity() 10 9.277e-06 9.277e-06 9.277e-06 0.00% Amr::initSubcycle() 1 8.64e-06 8.64e-06 8.64e-06 0.00% Gravity::actual_multilevel_solve() 1 8.428e-06 8.428e-06 8.428e-06 0.00% Castro::post_timestep() 10 8.233e-06 8.233e-06 8.233e-06 0.00% Castro::computeNewDt() 9 7.066e-06 7.066e-06 7.066e-06 0.00% MLMG::getGradSolution() 11 6.34e-06 6.34e-06 6.34e-06 0.00% AmrLevel::checkPointPost() 3 4.855e-06 4.855e-06 4.855e-06 0.00% Amr::InitializeInit() 1 4.763e-06 4.763e-06 4.763e-06 0.00% Castro::post_init() 1 4.135e-06 4.135e-06 4.135e-06 0.00% MLMG::MLRhsNormInf() 11 3.914e-06 3.914e-06 3.914e-06 0.00% Gravity::set_mass_offset() 11 3.76e-06 3.76e-06 3.76e-06 0.00% Castro::retry_advance_ctu() 10 3.684e-06 3.684e-06 3.684e-06 0.00% MLMG::MLResNormInf() 11 3.587e-06 3.587e-06 3.587e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.215e-06 3.215e-06 3.215e-06 0.00% Castro::FluxRegCrseInit 10 2.791e-06 2.791e-06 2.791e-06 0.00% Castro::computeInitialDt() 2 2.626e-06 2.626e-06 2.626e-06 0.00% Amr::init() 1 2.581e-06 2.581e-06 2.581e-06 0.00% Castro::FluxRegFineAdd() 10 1.945e-06 1.945e-06 1.945e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.886e-06 1.886e-06 1.886e-06 0.00% AmrLevel::checkPointPre() 3 1.684e-06 1.684e-06 1.684e-06 0.00% Amr::initialInit() 1 1.151e-06 1.151e-06 1.151e-06 0.00% Castro::post_regrid() 1 1.134e-06 1.134e-06 1.134e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8333 0.8333 0.8333 100.00% Amr::coarseTimeStep() 10 0.6646 0.6646 0.6646 79.75% Amr::timeStep() 10 0.5467 0.5467 0.5467 65.60% Castro::advance() 10 0.5392 0.5392 0.5392 64.71% Castro::subcycle_advance_ctu() 10 0.5278 0.5278 0.5278 63.34% Castro::do_advance_ctu() 10 0.5276 0.5276 0.5276 63.31% Gravity::solve_phi_with_mlmg() 11 0.274 0.274 0.274 32.88% Gravity::actual_solve_with_mlmg() 11 0.2669 0.2669 0.2669 32.02% Castro::construct_new_gravity() 10 0.253 0.253 0.253 30.36% MLMG::solve() 11 0.2469 0.2469 0.2469 29.63% Gravity::solve_for_phi() 10 0.2376 0.2376 0.2376 28.51% MLMG::oneIter() 81 0.233 0.233 0.233 27.95% VisMF::Write(FabArray) 11 0.2304 0.2304 0.2304 27.64% MLMG::mgVcycle() 81 0.2293 0.2293 0.2293 27.52% Castro::construct_ctu_hydro_source() 10 0.1927 0.1927 0.1927 23.12% Amr::checkPoint() 3 0.1713 0.1713 0.1713 20.56% AmrLevel::checkPoint() 3 0.1673 0.1673 0.1673 20.08% StateData::checkPoint() 12 0.1672 0.1672 0.1672 20.07% Amr::init() 1 0.1347 0.1347 0.1347 16.17% MLCellLinOp::smooth() 1620 0.113 0.113 0.113 13.56% MLCellLinOp::applyBC() 4379 0.106 0.106 0.106 12.72% MLMG::mgVcycle_bottom 81 0.07069 0.07069 0.07069 8.48% MLMG::actualBottomSolve() 81 0.07066 0.07066 0.07066 8.48% MLCGSolver::bicgstab 81 0.06998 0.06998 0.06998 8.40% Amr::writePlotFile() 2 0.06619 0.06619 0.06619 7.94% FillPatchIterator::Initialize 41 0.0481 0.0481 0.0481 5.77% FillPatchSingleLevel 41 0.04659 0.04659 0.04659 5.59% Amr::initialInit() 1 0.04443 0.04443 0.04443 5.33% Castro::clean_state() 62 0.04363 0.04363 0.04363 5.24% StateDataPhysBCFunct::() 41 0.04251 0.04251 0.04251 5.10% Amr::FinalizeInit() 1 0.04019 0.04019 0.04019 4.82% Castro::post_init() 1 0.03879 0.03879 0.03879 4.65% Gravity::multilevel_solve_for_new_phi() 1 0.03683 0.03683 0.03683 4.42% Gravity::actual_multilevel_solve() 1 0.03681 0.03681 0.03681 4.42% MLCellLinOp::apply() 1128 0.03512 0.03512 0.03512 4.21% MLMG::mgVcycle_down::0 81 0.03278 0.03278 0.03278 3.93% FabArray::FillBoundary() 3974 0.03152 0.03152 0.03152 3.78% MLPoisson::Fsmooth() 3240 0.03116 0.03116 0.03116 3.74% FillBoundary_nowait() 3974 0.0307 0.0307 0.0307 3.68% Castro::initialize_do_advance() 10 0.02508 0.02508 0.02508 3.01% MLMG::mgVcycle_up::0 81 0.02478 0.02478 0.02478 2.97% StateData::FillBoundary(geom) 328 0.0242 0.0242 0.0242 2.90% MLCellLinOp::correctionResidual() 486 0.02151 0.02151 0.02151 2.58% Castro::computeTemp() 63 0.0197 0.0197 0.0197 2.36% amrex::Dot() 1100 0.01964 0.01964 0.01964 2.36% MLMG:computeResOfCorrection() 405 0.01897 0.01897 0.01897 2.28% Castro::expand_state() 10 0.01724 0.01724 0.01724 2.07% Gravity::get_new_grav_vector() 11 0.01711 0.01711 0.01711 2.05% MLPoisson::define() 11 0.01576 0.01576 0.01576 1.89% Castro::normalize_species() 62 0.01539 0.01539 0.01539 1.85% MLMG::mgVcycle_down::1 81 0.01523 0.01523 0.01523 1.83% Castro::construct_old_gravity() 10 0.01504 0.01504 0.01504 1.80% Gravity::get_old_grav_vector() 10 0.01503 0.01503 0.01503 1.80% amrex::Copy() 1019 0.01455 0.01455 0.01455 1.75% MLMG::mgVcycle_down::2 81 0.01417 0.01417 0.01417 1.70% FabArray::ParallelCopy() 851 0.01398 0.01398 0.01398 1.68% MLMG::mgVcycle_down::3 81 0.01387 0.01387 0.01387 1.66% FabArray::norminf() 734 0.01382 0.01382 0.01382 1.66% FabArray::ParallelCopy_nowait() 851 0.01374 0.01374 0.01374 1.65% MLMG::mgVcycle_down::4 81 0.01373 0.01373 0.01373 1.65% FabArray::setVal() 1135 0.01282 0.01282 0.01282 1.54% Castro::do_new_sources() 10 0.01232 0.01232 0.01232 1.48% MLCGSolver::ParallelAllReduce 1495 0.0118 0.0118 0.0118 1.42% MLMG::addInterpCorrection() 405 0.01152 0.01152 0.01152 1.38% MLMG::mgVcycle_up::4 81 0.01118 0.01118 0.01118 1.34% MLMG::mgVcycle_up::1 81 0.01107 0.01107 0.01107 1.33% MLMG::mgVcycle_up::2 81 0.01083 0.01083 0.01083 1.30% Castro::do_old_sources() 10 0.01079 0.01079 0.01079 1.29% Castro::initialize_advance() 10 0.01076 0.01076 0.01076 1.29% amrex::average_down 405 0.01071 0.01071 0.01071 1.28% MLMG::mgVcycle_up::3 81 0.01063 0.01063 0.01063 1.28% MLCellLinOp::defineAuxData() 11 0.01063 0.01063 0.01063 1.28% MLPoisson::Fapply() 1128 0.009965 0.009965 0.009965 1.20% Castro::enforce_min_density() 62 0.0083 0.0083 0.0083 1.00% FabArray::Saxpy() 803 0.007917 0.007917 0.007917 0.95% FabArray::Xpay() 811 0.00778 0.00778 0.00778 0.93% Castro::post_timestep() 10 0.007267 0.007267 0.007267 0.87% MLCellLinOp::solutionResidual() 92 0.007011 0.007011 0.007011 0.84% Gravity::fill_multipole_BCs() 11 0.006873 0.006873 0.006873 0.82% Castro::estTimeStep() 21 0.006111 0.006111 0.006111 0.73% MLMG::computeResidual() 81 0.006042 0.006042 0.006042 0.73% Castro::reset_internal_energy(MultiFab) 63 0.005716 0.005716 0.005716 0.69% MLCellLinOp::defineBC() 11 0.004698 0.004698 0.004698 0.56% MLMG::prepareForSolve() 11 0.004573 0.004573 0.004573 0.55% BndryData::define() 11 0.004488 0.004488 0.004488 0.54% FabArray::LinComb() 550 0.004362 0.004362 0.004362 0.52% amrex::Add() 162 0.00428 0.00428 0.00428 0.51% Amr::InitializeInit() 1 0.004237 0.004237 0.004237 0.51% Amr::defBaseLevel() 1 0.004232 0.004232 0.004232 0.51% Castro::initData() 1 0.003691 0.003691 0.003691 0.44% Castro::construct_new_source() 50 0.003437 0.003437 0.003437 0.41% Castro::construct_new_gravity_source() 10 0.003371 0.003371 0.003371 0.40% Castro::construct_old_source() 50 0.002868 0.002868 0.002868 0.34% Castro::construct_old_gravity_source() 10 0.002849 0.002849 0.002849 0.34% Castro::computeNewDt() 9 0.002786 0.002786 0.002786 0.33% MLMG::ResNormInf() 92 0.002047 0.002047 0.002047 0.25% Castro::apply_source_to_state() 20 0.001823 0.001823 0.001823 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001657 0.001657 0.001657 0.20% FabArrayBase::getCPC() 1313 0.001387 0.001387 0.001387 0.17% Castro::reset_internal_energy(Fab) 504 0.001372 0.001372 0.001372 0.16% MLMG::getGradSolution() 11 0.001369 0.001369 0.001369 0.16% MLCellLinOp::compGrad() 11 0.001363 0.001363 0.001363 0.16% MLCellLinOp::setLevelBC() 11 0.00136 0.00136 0.00136 0.16% FabArray::mult() 43 0.001317 0.001317 0.001317 0.16% FabArray::setDomainBndry() 41 0.001275 0.001275 0.001275 0.15% Castro::check_for_nan() 20 0.001213 0.001213 0.001213 0.15% MultiFab::contains_nan() 20 0.001202 0.001202 0.001202 0.14% Castro::post_regrid() 1 0.00115 0.00115 0.00115 0.14% MLPoisson::prepareForSolve() 11 0.001127 0.001127 0.001127 0.14% MLCellLinOp::prepareForSolve() 11 0.001114 0.001114 0.001114 0.13% MLMG::computeMLResidual() 11 0.001014 0.001014 0.001014 0.12% Castro::enforce_speed_limit() 62 0.0009848 0.0009848 0.0009848 0.12% Castro::computeInitialDt() 2 0.0009727 0.0009727 0.0009727 0.12% Gravity::update_max_rhs() 11 0.0008276 0.0008276 0.0008276 0.10% FabArrayBase::getFB() 3974 0.0006843 0.0006843 0.0006843 0.08% FabArrayBase::CPC::define() 454 0.0006685 0.0006685 0.0006685 0.08% Castro::finalize_advance() 10 0.0005805 0.0005805 0.0005805 0.07% Amr::InitAmr() 1 0.000483 0.000483 0.000483 0.06% Castro::Castro() 1 0.0004687 0.0004687 0.0004687 0.06% Gravity::swapTimeLevels() 10 0.000433 0.000433 0.000433 0.05% MLLinOp::define() 11 0.0004073 0.0004073 0.0004073 0.05% MLLinOp::defineGrids() 11 0.0003968 0.0003968 0.0003968 0.05% MLMG::MLResNormInf() 11 0.0002815 0.0002815 0.0002815 0.03% MultiFab::max() 11 0.0002573 0.0002573 0.0002573 0.03% MLMG::MLRhsNormInf() 11 0.0002167 0.0002167 0.0002167 0.03% Castro::buildMetrics() 1 0.0001903 0.0001903 0.0001903 0.02% Castro::create_source_corrector() 10 0.0001736 0.0001736 0.0001736 0.02% FabArrayBase::FB::FB() 56 8.886e-05 8.886e-05 8.886e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.067e-05 5.067e-05 5.067e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.637e-05 4.637e-05 4.637e-05 0.01% Castro::finalize_do_advance() 10 3.741e-05 3.741e-05 3.741e-05 0.00% makeSFC 55 3.714e-05 3.714e-05 3.714e-05 0.00% Castro::swap_state_time_levels() 10 3.662e-05 3.662e-05 3.662e-05 0.00% StateData::define() 4 3.645e-05 3.645e-05 3.645e-05 0.00% Castro::enforce_consistent_e() 1 3.219e-05 3.219e-05 3.219e-05 0.00% Castro::initMFs() 1 2.569e-05 2.569e-05 2.569e-05 0.00% Amr::writeSmallPlotFile() 1 2.427e-05 2.427e-05 2.427e-05 0.00% DistributionMapping::Distribute() 56 1.438e-05 1.438e-05 1.438e-05 0.00% Amr::initSubcycle() 1 8.64e-06 8.64e-06 8.64e-06 0.00% AmrLevel::checkPointPost() 3 4.855e-06 4.855e-06 4.855e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.64e-06 4.64e-06 4.64e-06 0.00% Gravity::set_mass_offset() 11 3.76e-06 3.76e-06 3.76e-06 0.00% Castro::retry_advance_ctu() 10 3.684e-06 3.684e-06 3.684e-06 0.00% Castro::FluxRegCrseInit 10 2.791e-06 2.791e-06 2.791e-06 0.00% Castro::FluxRegFineAdd() 10 1.945e-06 1.945e-06 1.945e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.886e-06 1.886e-06 1.886e-06 0.00% AmrLevel::checkPointPre() 3 1.684e-06 1.684e-06 1.684e-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 98 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 111 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 1363 KiB 39 MiB Castro::initialize_do_advance() 80 80 24 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2230 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3645 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 213 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 184 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 13 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1894 B 2048 KiB Gravity::solve_for_phi() 80 80 583 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 90 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 3494 B 480 KiB VisMF::Write(FabArray) 656 656 3536 B 320 KiB Castro::normalize_species() 62 62 6015 B 320 KiB amrex::average_down 1054 1054 1279 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1186 B 257 KiB amrex::Dot() 1343 1343 3478 B 160 KiB FabArray::norminf() 896 896 2454 B 160 KiB Castro::do_advance_ctu() 10 10 448 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB Castro::initData() 1 1 28 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3563 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 47 B 10 KiB FillBoundary_nowait() 751 751 315 B 9648 B MLCellLinOp::applyBC() 8758 8758 232 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3846 B 6144 B StateData::FillBoundary(geom) 1992 1992 70 B 3168 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 729 729 122 B 1472 B MLCellLinOp::defineBC() 66 66 375 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 659 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 52 KiB 8192 KiB VisMF::Write(FabArray) 744 744 641 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3563 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 47 B 10 KiB FillBoundary_nowait() 751 751 315 B 9648 B MLCellLinOp::applyBC() 4379 4379 230 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3846 B 6144 B StateData::FillBoundary(geom) 1992 1992 71 B 3168 B Gravity::get_new_grav_vector() 3 3 2909 B 3072 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 82 82 272 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 303 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 896 896 17 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): 2459 [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.04-20-g15038d466c05) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.04-20-g15038d466c05) initialized Starting run at 07:54:51 UTC on 2023-04-12. Successfully read inputs file ... Castro git describe: 23.04-7-g4402e6bb6 AMReX git describe: 23.04-20-g15038d466 Microphysics git describe: 23.04-4-gabda4ae3 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.455082911 Restart time = 0.046333936 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.051584027 [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.046761513 [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.055363904 [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.065922459 [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.069949788 [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.032862093 seconds Ending run at 07:54:51 UTC on 2023-04-12. Run time = 0.369804513 Run time without initialization = 0.322870871 Average number of zones advanced per microsecond: 4.060 Average number of zones advanced per microsecond per rank: 4.060 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3698 ... 0.3698 ... 0.3698 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1079 0.1079 0.1079 29.19% VisMF::Read() 3 0.04013 0.04013 0.04013 10.85% MLCellLinOp::applyBC() 1946 0.03247 0.03247 0.03247 8.78% VisMF::Write(FabArray) 1 0.03121 0.03121 0.03121 8.44% MLPoisson::Fsmooth() 1440 0.01365 0.01365 0.01365 3.69% FillBoundary_nowait() 1766 0.01266 0.01266 0.01266 3.42% StateData::FillBoundary(geom) 160 0.01185 0.01185 0.01185 3.20% amrex::Dot() 484 0.008504 0.008504 0.008504 2.30% Castro::normalize_species() 30 0.008499 0.008499 0.008499 2.30% amrex::Copy() 463 0.00681 0.00681 0.00681 1.84% Castro::enforce_min_density() 30 0.006446 0.006446 0.006446 1.74% Castro::computeTemp() 30 0.006289 0.006289 0.006289 1.70% FabArray::setVal() 537 0.006098 0.006098 0.006098 1.65% FabArray::norminf() 326 0.006008 0.006008 0.006008 1.62% FabArray::ParallelCopy_nowait() 380 0.005898 0.005898 0.005898 1.59% StateDataPhysBCFunct::() 20 0.005091 0.005091 0.005091 1.38% MLCellLinOp::defineAuxData() 6 0.00503 0.00503 0.00503 1.36% MLPoisson::Fapply() 500 0.004331 0.004331 0.004331 1.17% Castro::estTimeStep() 10 0.0036 0.0036 0.0036 0.97% FabArray::Saxpy() 355 0.003551 0.003551 0.003551 0.96% FabArray::Xpay() 361 0.003418 0.003418 0.003418 0.92% MLMG::addInterpCorrection() 180 0.002862 0.002862 0.002862 0.77% Amr::restart() 1 0.00251 0.00251 0.00251 0.68% amrex::average_down 180 0.002509 0.002509 0.002509 0.68% Gravity::fill_multipole_BCs() 6 0.00242 0.00242 0.00242 0.65% Castro::do_advance_ctu() 5 0.002231 0.002231 0.002231 0.60% Castro::reset_internal_energy(MultiFab) 30 0.00223 0.00223 0.00223 0.60% BndryData::define() 6 0.001928 0.001928 0.001928 0.52% FabArray::LinComb() 242 0.001861 0.001861 0.001861 0.50% amrex::Add() 72 0.00184 0.00184 0.00184 0.50% Castro::construct_new_gravity_source() 5 0.00178 0.00178 0.00178 0.48% Amr::writePlotFile() 1 0.001501 0.001501 0.001501 0.41% Castro::construct_old_gravity_source() 5 0.001434 0.001434 0.001434 0.39% Castro::enforce_speed_limit() 30 0.001282 0.001282 0.001282 0.35% MLCGSolver::bicgstab 36 0.0009241 0.0009241 0.0009241 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008822 0.0008822 0.0008822 0.24% Gravity::actual_solve_with_mlmg() 6 0.00077 0.00077 0.00077 0.21% Castro::reset_internal_energy(Fab) 240 0.0007694 0.0007694 0.0007694 0.21% MLCellLinOp::setLevelBC() 6 0.0007289 0.0007289 0.0007289 0.20% FabArray::mult() 22 0.0006388 0.0006388 0.0006388 0.17% FabArray::setDomainBndry() 20 0.0006277 0.0006277 0.0006277 0.17% MLCellLinOp::prepareForSolve() 6 0.0006006 0.0006006 0.0006006 0.16% MultiFab::contains_nan() 10 0.0005888 0.0005888 0.0005888 0.16% MLCellLinOp::compGrad() 6 0.0004823 0.0004823 0.0004823 0.13% MLMG::prepareForSolve() 6 0.0004675 0.0004675 0.0004675 0.13% MLCellLinOp::smooth() 720 0.0004438 0.0004438 0.0004438 0.12% FabArrayBase::CPC::define() 244 0.0004262 0.0004262 0.0004262 0.12% Amr::InitAmr() 1 0.0004161 0.0004161 0.0004161 0.11% FabArray::FillBoundary() 1766 0.000356 0.000356 0.000356 0.10% FabArrayBase::getCPC() 632 0.0003511 0.0003511 0.0003511 0.09% Gravity::get_old_grav_vector() 5 0.000311 0.000311 0.000311 0.08% main() 1 0.0002793 0.0002793 0.0002793 0.08% Gravity::get_new_grav_vector() 5 0.0002724 0.0002724 0.0002724 0.07% FabArrayBase::getFB() 1766 0.0002557 0.0002557 0.0002557 0.07% MLCellLinOp::apply() 500 0.0001802 0.0001802 0.0001802 0.05% Amr::coarseTimeStep() 5 0.0001695 0.0001695 0.0001695 0.05% MLMG::mgVcycle() 36 0.0001587 0.0001587 0.0001587 0.04% MLLinOp::defineGrids() 6 0.0001543 0.0001543 0.0001543 0.04% Castro::construct_new_source() 25 0.000154 0.000154 0.000154 0.04% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.04% Castro::create_source_corrector() 5 0.0001286 0.0001286 0.0001286 0.03% MLCGSolver::ParallelAllReduce 659 0.0001242 0.0001242 0.0001242 0.03% MLCellLinOp::defineBC() 6 0.0001163 0.0001163 0.0001163 0.03% FillPatchIterator::Initialize 20 0.0001158 0.0001158 0.0001158 0.03% FabArray::ParallelCopy() 380 0.0001059 0.0001059 0.0001059 0.03% MLCellLinOp::correctionResidual() 216 9.151e-05 9.151e-05 9.151e-05 0.02% Castro::initialize_do_advance() 5 8.537e-05 8.537e-05 8.537e-05 0.02% Castro::post_timestep() 5 8.293e-05 8.293e-05 8.293e-05 0.02% Amr::timeStep() 5 8.031e-05 8.031e-05 8.031e-05 0.02% AmrLevel::restart() 1 7.665e-05 7.665e-05 7.665e-05 0.02% StateData::restartDoit() 4 6.297e-05 6.297e-05 6.297e-05 0.02% Gravity::solve_for_phi() 5 6.26e-05 6.26e-05 6.26e-05 0.02% FabArrayBase::FB::FB() 26 6.108e-05 6.108e-05 6.108e-05 0.02% Gravity::update_max_rhs() 6 6.105e-05 6.105e-05 6.105e-05 0.02% Castro::initialize_advance() 5 5.734e-05 5.734e-05 5.734e-05 0.02% MLMG:computeResOfCorrection() 180 5.174e-05 5.174e-05 5.174e-05 0.01% Castro::subcycle_advance_ctu() 5 4.93e-05 4.93e-05 4.93e-05 0.01% Castro::expand_state() 5 4.878e-05 4.878e-05 4.878e-05 0.01% MLMG::mgVcycle_down::0 36 3.952e-05 3.952e-05 3.952e-05 0.01% MLMG::actualBottomSolve() 36 3.77e-05 3.77e-05 3.77e-05 0.01% MLMG::mgVcycle_down::1 36 3.727e-05 3.727e-05 3.727e-05 0.01% Castro::clean_state() 30 3.687e-05 3.687e-05 3.687e-05 0.01% MLMG::solve() 6 3.525e-05 3.525e-05 3.525e-05 0.01% MLMG::mgVcycle_down::2 36 3.362e-05 3.362e-05 3.362e-05 0.01% MLMG::mgVcycle_down::4 36 3.319e-05 3.319e-05 3.319e-05 0.01% MLMG::mgVcycle_down::3 36 3.227e-05 3.227e-05 3.227e-05 0.01% Castro::construct_old_source() 25 3.132e-05 3.132e-05 3.132e-05 0.01% MLMG::mgVcycle_up::4 36 2.913e-05 2.913e-05 2.913e-05 0.01% Castro::buildMetrics() 1 2.78e-05 2.78e-05 2.78e-05 0.01% Amr::writeSmallPlotFile() 1 2.711e-05 2.711e-05 2.711e-05 0.01% Castro::finalize_advance() 5 2.702e-05 2.702e-05 2.702e-05 0.01% Castro::initMFs() 1 2.605e-05 2.605e-05 2.605e-05 0.01% MLMG::oneIter() 36 2.525e-05 2.525e-05 2.525e-05 0.01% Castro::swap_state_time_levels() 5 2.409e-05 2.409e-05 2.409e-05 0.01% MLMG::mgVcycle_up::0 36 2.293e-05 2.293e-05 2.293e-05 0.01% MLCellLinOp::solutionResidual() 42 2.291e-05 2.291e-05 2.291e-05 0.01% MLMG::mgVcycle_up::3 36 2.269e-05 2.269e-05 2.269e-05 0.01% Castro::construct_old_gravity() 5 2.266e-05 2.266e-05 2.266e-05 0.01% MLMG::mgVcycle_up::2 36 2.175e-05 2.175e-05 2.175e-05 0.01% MLMG::mgVcycle_up::1 36 2.082e-05 2.082e-05 2.082e-05 0.01% Castro::post_restart() 1 1.914e-05 1.914e-05 1.914e-05 0.01% Castro::finalize_do_advance() 5 1.904e-05 1.904e-05 1.904e-05 0.01% MLMG::ResNormInf() 42 1.753e-05 1.753e-05 1.753e-05 0.00% MLMG::computeResidual() 36 1.547e-05 1.547e-05 1.547e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.527e-05 1.527e-05 1.527e-05 0.00% MLMG::mgVcycle_bottom 36 1.52e-05 1.52e-05 1.52e-05 0.00% FillPatchSingleLevel 20 1.463e-05 1.463e-05 1.463e-05 0.00% Castro::advance() 5 1.445e-05 1.445e-05 1.445e-05 0.00% MLPoisson::define() 6 1.408e-05 1.408e-05 1.408e-05 0.00% makeSFC 30 1.287e-05 1.287e-05 1.287e-05 0.00% Castro::construct_new_gravity() 5 1.266e-05 1.266e-05 1.266e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.185e-05 1.185e-05 1.185e-05 0.00% MLPoisson::prepareForSolve() 6 1.007e-05 1.007e-05 1.007e-05 0.00% Castro::do_new_sources() 5 9.376e-06 9.376e-06 9.376e-06 0.00% DistributionMapping::Distribute() 31 9.205e-06 9.205e-06 9.205e-06 0.00% MLMG::computeMLResidual() 6 8.98e-06 8.98e-06 8.98e-06 0.00% Amr::initSubcycle() 1 8.792e-06 8.792e-06 8.792e-06 0.00% Castro::do_old_sources() 5 8.184e-06 8.184e-06 8.184e-06 0.00% Gravity::actual_multilevel_solve() 1 7.272e-06 7.272e-06 7.272e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.032e-06 7.032e-06 7.032e-06 0.00% Castro::check_for_nan() 10 5.787e-06 5.787e-06 5.787e-06 0.00% MLLinOp::define() 6 5.786e-06 5.786e-06 5.786e-06 0.00% Castro::apply_source_to_state() 10 5.665e-06 5.665e-06 5.665e-06 0.00% Gravity::swapTimeLevels() 5 4.08e-06 4.08e-06 4.08e-06 0.00% Castro::computeNewDt() 5 3.667e-06 3.667e-06 3.667e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.439e-06 3.439e-06 3.439e-06 0.00% MLMG::getGradSolution() 6 3.019e-06 3.019e-06 3.019e-06 0.00% Gravity::set_mass_offset() 6 2.224e-06 2.224e-06 2.224e-06 0.00% MLMG::MLResNormInf() 6 2.145e-06 2.145e-06 2.145e-06 0.00% MLMG::MLRhsNormInf() 6 2.13e-06 2.13e-06 2.13e-06 0.00% Castro::retry_advance_ctu() 5 1.438e-06 1.438e-06 1.438e-06 0.00% Castro::FluxRegCrseInit 5 1.43e-06 1.43e-06 1.43e-06 0.00% Castro::FluxRegFineAdd() 5 1.327e-06 1.327e-06 1.327e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.068e-06 1.068e-06 1.068e-06 0.00% Amr::init() 1 9.9e-07 9.9e-07 9.9e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3698 0.3698 0.3698 100.00% Amr::coarseTimeStep() 5 0.2897 0.2897 0.2897 78.34% Amr::timeStep() 5 0.2882 0.2882 0.2882 77.94% Castro::advance() 5 0.2838 0.2838 0.2838 76.72% Castro::subcycle_advance_ctu() 5 0.2775 0.2775 0.2775 75.03% Castro::do_advance_ctu() 5 0.2774 0.2774 0.2774 75.02% Castro::construct_new_gravity() 5 0.1257 0.1257 0.1257 33.97% Gravity::solve_phi_with_mlmg() 6 0.1211 0.1211 0.1211 32.73% Gravity::actual_solve_with_mlmg() 6 0.1184 0.1184 0.1184 32.01% Gravity::solve_for_phi() 5 0.118 0.118 0.118 31.92% Castro::construct_ctu_hydro_source() 5 0.1079 0.1079 0.1079 29.19% MLMG::solve() 6 0.1076 0.1076 0.1076 29.09% MLMG::oneIter() 36 0.1008 0.1008 0.1008 27.26% MLMG::mgVcycle() 36 0.09927 0.09927 0.09927 26.84% MLCellLinOp::smooth() 720 0.04889 0.04889 0.04889 13.22% Amr::init() 1 0.04638 0.04638 0.04638 12.54% Amr::restart() 1 0.04638 0.04638 0.04638 12.54% MLCellLinOp::applyBC() 1946 0.04581 0.04581 0.04581 12.39% AmrLevel::restart() 1 0.04033 0.04033 0.04033 10.90% StateData::restartDoit() 4 0.04025 0.04025 0.04025 10.88% VisMF::Read() 3 0.04013 0.04013 0.04013 10.85% Amr::writePlotFile() 1 0.03296 0.03296 0.03296 8.91% VisMF::Write(FabArray) 1 0.03121 0.03121 0.03121 8.44% MLMG::mgVcycle_bottom 36 0.03054 0.03054 0.03054 8.26% MLMG::actualBottomSolve() 36 0.03052 0.03052 0.03052 8.25% MLCGSolver::bicgstab 36 0.03023 0.03023 0.03023 8.17% Castro::clean_state() 30 0.02555 0.02555 0.02555 6.91% FillPatchIterator::Initialize 20 0.01972 0.01972 0.01972 5.33% FillPatchSingleLevel 20 0.01898 0.01898 0.01898 5.13% StateDataPhysBCFunct::() 20 0.01694 0.01694 0.01694 4.58% MLCellLinOp::apply() 500 0.01526 0.01526 0.01526 4.13% MLMG::mgVcycle_down::0 36 0.01408 0.01408 0.01408 3.81% MLPoisson::Fsmooth() 1440 0.01365 0.01365 0.01365 3.69% FabArray::FillBoundary() 1766 0.01334 0.01334 0.01334 3.61% FillBoundary_nowait() 1766 0.01298 0.01298 0.01298 3.51% StateData::FillBoundary(geom) 160 0.01185 0.01185 0.01185 3.20% MLMG::mgVcycle_up::0 36 0.01064 0.01064 0.01064 2.88% Castro::initialize_do_advance() 5 0.01001 0.01001 0.01001 2.71% Castro::computeTemp() 30 0.009288 0.009288 0.009288 2.51% MLCellLinOp::correctionResidual() 216 0.009261 0.009261 0.009261 2.50% Castro::do_new_sources() 5 0.008709 0.008709 0.008709 2.35% MLPoisson::define() 6 0.008555 0.008555 0.008555 2.31% amrex::Dot() 484 0.008504 0.008504 0.008504 2.30% Castro::normalize_species() 30 0.008499 0.008499 0.008499 2.30% MLMG:computeResOfCorrection() 180 0.008151 0.008151 0.008151 2.20% Gravity::get_new_grav_vector() 5 0.007493 0.007493 0.007493 2.03% Castro::construct_old_gravity() 5 0.00741 0.00741 0.00741 2.00% Gravity::get_old_grav_vector() 5 0.007387 0.007387 0.007387 2.00% amrex::Copy() 463 0.00681 0.00681 0.00681 1.84% MLMG::mgVcycle_down::1 36 0.006631 0.006631 0.006631 1.79% Castro::enforce_min_density() 30 0.006446 0.006446 0.006446 1.74% FabArray::ParallelCopy() 380 0.006387 0.006387 0.006387 1.73% FabArray::ParallelCopy_nowait() 380 0.006281 0.006281 0.006281 1.70% MLMG::mgVcycle_down::2 36 0.006175 0.006175 0.006175 1.67% FabArray::setVal() 537 0.006098 0.006098 0.006098 1.65% MLMG::mgVcycle_down::3 36 0.006037 0.006037 0.006037 1.63% FabArray::norminf() 326 0.006008 0.006008 0.006008 1.62% MLMG::mgVcycle_down::4 36 0.005992 0.005992 0.005992 1.62% Castro::initialize_advance() 5 0.005972 0.005972 0.005972 1.61% MLCellLinOp::defineAuxData() 6 0.005759 0.005759 0.005759 1.56% Castro::expand_state() 5 0.005487 0.005487 0.005487 1.48% Castro::do_old_sources() 5 0.005455 0.005455 0.005455 1.47% MLCGSolver::ParallelAllReduce 659 0.00514 0.00514 0.00514 1.39% MLMG::addInterpCorrection() 180 0.005043 0.005043 0.005043 1.36% MLMG::mgVcycle_up::4 36 0.004862 0.004862 0.004862 1.31% MLMG::mgVcycle_up::1 36 0.004812 0.004812 0.004812 1.30% MLMG::mgVcycle_up::2 36 0.004716 0.004716 0.004716 1.28% amrex::average_down 180 0.004692 0.004692 0.004692 1.27% MLMG::mgVcycle_up::3 36 0.004641 0.004641 0.004641 1.25% Castro::post_timestep() 5 0.004405 0.004405 0.004405 1.19% MLPoisson::Fapply() 500 0.004331 0.004331 0.004331 1.17% Castro::estTimeStep() 10 0.0036 0.0036 0.0036 0.97% FabArray::Saxpy() 355 0.003551 0.003551 0.003551 0.96% FabArray::Xpay() 361 0.003418 0.003418 0.003418 0.92% Castro::post_restart() 1 0.003357 0.003357 0.003357 0.91% Gravity::multilevel_solve_for_new_phi() 1 0.00325 0.00325 0.00325 0.88% Gravity::actual_multilevel_solve() 1 0.003235 0.003235 0.003235 0.87% MLCellLinOp::solutionResidual() 42 0.003195 0.003195 0.003195 0.86% Castro::reset_internal_energy(MultiFab) 30 0.002999 0.002999 0.002999 0.81% MLMG::computeResidual() 36 0.002652 0.002652 0.002652 0.72% MLCellLinOp::defineBC() 6 0.002593 0.002593 0.002593 0.70% Gravity::fill_multipole_BCs() 6 0.002562 0.002562 0.002562 0.69% MLMG::prepareForSolve() 6 0.002476 0.002476 0.002476 0.67% BndryData::define() 6 0.002476 0.002476 0.002476 0.67% Castro::construct_new_source() 25 0.001934 0.001934 0.001934 0.52% FabArray::LinComb() 242 0.001861 0.001861 0.001861 0.50% amrex::Add() 72 0.00184 0.00184 0.00184 0.50% Castro::construct_new_gravity_source() 5 0.00178 0.00178 0.00178 0.48% Castro::construct_old_source() 25 0.001466 0.001466 0.001466 0.40% Castro::construct_old_gravity_source() 5 0.001434 0.001434 0.001434 0.39% Castro::computeNewDt() 5 0.001333 0.001333 0.001333 0.36% Castro::enforce_speed_limit() 30 0.001282 0.001282 0.001282 0.35% Castro::apply_source_to_state() 10 0.0009288 0.0009288 0.0009288 0.25% MLMG::ResNormInf() 42 0.0009112 0.0009112 0.0009112 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008822 0.0008822 0.0008822 0.24% FabArrayBase::getCPC() 632 0.0007773 0.0007773 0.0007773 0.21% Castro::reset_internal_energy(Fab) 240 0.0007694 0.0007694 0.0007694 0.21% MLMG::getGradSolution() 6 0.0007447 0.0007447 0.0007447 0.20% MLCellLinOp::compGrad() 6 0.0007417 0.0007417 0.0007417 0.20% MLCellLinOp::setLevelBC() 6 0.0007289 0.0007289 0.0007289 0.20% FabArray::mult() 22 0.0006388 0.0006388 0.0006388 0.17% FabArray::setDomainBndry() 20 0.0006277 0.0006277 0.0006277 0.17% MLPoisson::prepareForSolve() 6 0.0006107 0.0006107 0.0006107 0.17% MLCellLinOp::prepareForSolve() 6 0.0006006 0.0006006 0.0006006 0.16% Castro::check_for_nan() 10 0.0005946 0.0005946 0.0005946 0.16% MultiFab::contains_nan() 10 0.0005888 0.0005888 0.0005888 0.16% MLMG::computeMLResidual() 6 0.0005668 0.0005668 0.0005668 0.15% Gravity::update_max_rhs() 6 0.0004416 0.0004416 0.0004416 0.12% FabArrayBase::CPC::define() 244 0.0004262 0.0004262 0.0004262 0.12% Amr::InitAmr() 1 0.0004249 0.0004249 0.0004249 0.11% FabArrayBase::getFB() 1766 0.0003167 0.0003167 0.0003167 0.09% Castro::finalize_advance() 5 0.0002809 0.0002809 0.0002809 0.08% Gravity::swapTimeLevels() 5 0.0002212 0.0002212 0.0002212 0.06% MLLinOp::define() 6 0.0001889 0.0001889 0.0001889 0.05% MLLinOp::defineGrids() 6 0.0001831 0.0001831 0.0001831 0.05% Castro::buildMetrics() 1 0.0001538 0.0001538 0.0001538 0.04% MLMG::MLResNormInf() 6 0.0001496 0.0001496 0.0001496 0.04% MultiFab::max() 6 0.0001346 0.0001346 0.0001346 0.04% Castro::create_source_corrector() 5 0.0001286 0.0001286 0.0001286 0.03% MLMG::MLRhsNormInf() 6 0.0001165 0.0001165 0.0001165 0.03% FabArrayBase::FB::FB() 26 6.108e-05 6.108e-05 6.108e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.769e-05 2.769e-05 2.769e-05 0.01% Amr::writeSmallPlotFile() 1 2.711e-05 2.711e-05 2.711e-05 0.01% Castro::initMFs() 1 2.605e-05 2.605e-05 2.605e-05 0.01% Castro::swap_state_time_levels() 5 2.409e-05 2.409e-05 2.409e-05 0.01% makeSFC 30 2.066e-05 2.066e-05 2.066e-05 0.01% Castro::finalize_do_advance() 5 1.904e-05 1.904e-05 1.904e-05 0.01% DistributionMapping::Distribute() 31 9.205e-06 9.205e-06 9.205e-06 0.00% Amr::initSubcycle() 1 8.792e-06 8.792e-06 8.792e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.852e-06 4.852e-06 4.852e-06 0.00% Gravity::set_mass_offset() 6 2.224e-06 2.224e-06 2.224e-06 0.00% Castro::retry_advance_ctu() 5 1.438e-06 1.438e-06 1.438e-06 0.00% Castro::FluxRegCrseInit 5 1.43e-06 1.43e-06 1.43e-06 0.00% Castro::FluxRegFineAdd() 5 1.327e-06 1.327e-06 1.327e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.068e-06 1.068e-06 1.068e-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 221 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 135 MiB 692 MiB Castro::initMFs() 48 48 59 MiB 68 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB FillPatchIterator::Initialize 160 160 1157 KiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2488 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6679 KiB 14 MiB MLMG::prepareForSolve() 361 361 3571 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 206 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 207 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6675 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 9675 B 2053 KiB Gravity::update_max_rhs() 48 48 2306 B 2048 KiB Gravity::solve_for_phi() 40 40 652 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 17 KiB 2048 KiB BndryData::define() 576 576 328 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 210 KiB 671 KiB Castro::estTimeStep() 10 10 3554 B 480 KiB VisMF::Write(FabArray) 112 112 1322 B 320 KiB Castro::normalize_species() 30 30 7476 B 320 KiB amrex::average_down 469 469 1230 B 257 KiB MLMG::addInterpCorrection() 468 468 1174 B 257 KiB amrex::Dot() 592 592 3389 B 160 KiB FabArray::norminf() 398 398 2399 B 160 KiB Castro::do_advance_ctu() 5 5 588 B 160 KiB MultiFab::max() 6 6 56 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3473 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 297 B 9648 B MLCellLinOp::applyBC() 3892 3892 228 B 9344 B amrex::Copy() 56 56 5923 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 50 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 118 B 1472 B MLCellLinOp::defineBC() 36 36 369 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1428 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 118 KiB 8192 KiB VisMF::Write(FabArray) 120 120 259 KiB 3584 KiB VisMF::Read() 24 24 211 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3473 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 52 B 10 KiB FillBoundary_nowait() 336 336 297 B 9648 B MLCellLinOp::applyBC() 1946 1946 226 B 9328 B amrex::Copy() 56 56 5923 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2632 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 51 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 535 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 24 B 400 B FabArray::norminf() 398 398 17 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): 2459 [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.04-20-g15038d466c05) finalized