Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-9-g28df482cebf2) initialized Starting run at 08:20:22 UTC on 2023-07-06. Successfully read inputs file ... Castro git describe: 23.07-3-g8dc29e1af AMReX git describe: 23.07-9-g28df482ce Microphysics git describe: 23.07-12-gbc626e8f 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.058568693 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033055053 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.047188828 [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.069836097 [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.072429425 [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.05925033 [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.056680226 [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.057285887 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.066891411 [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.078326456 [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.073722902 [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.047645743 [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.052352157 [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.057266301 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032950992 seconds Ending run at 08:20:22 UTC on 2023-07-06. Run time = 0.911696711 Run time without initialization = 0.772499879 Average number of zones advanced per microsecond: 3.393 Average number of zones advanced per microsecond per rank: 3.393 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9117 ... 0.9117 ... 0.9117 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2700 0.2700 0.2700 29.61% VisMF::Write(FabArray) 11 0.2322 0.2322 0.2322 25.47% MLCellLinOp::applyBC() 4433 0.07451 0.07451 0.07451 8.17% FillBoundary_nowait() 4023 0.03207 0.03207 0.03207 3.52% MLPoisson::Fsmooth() 3280 0.03142 0.03142 0.03142 3.45% StateData::FillBoundary(geom) 328 0.02462 0.02462 0.02462 2.70% amrex::Dot() 1114 0.01988 0.01988 0.01988 2.18% Castro::normalize_species() 62 0.01878 0.01878 0.01878 2.06% amrex::Copy() 1029 0.0146 0.0146 0.0146 1.60% FabArray::norminf() 743 0.01402 0.01402 0.01402 1.54% FabArray::ParallelCopy_nowait() 861 0.01295 0.01295 0.01295 1.42% FabArray::setVal() 1144 0.01285 0.01285 0.01285 1.41% Castro::computeTemp() 63 0.01282 0.01282 0.01282 1.41% StateDataPhysBCFunct::() 41 0.01134 0.01134 0.01134 1.24% MLPoisson::Fapply() 1142 0.01004 0.01004 0.01004 1.10% Castro::enforce_min_density() 62 0.009746 0.009746 0.009746 1.07% MLCellLinOp::defineAuxData() 11 0.009596 0.009596 0.009596 1.05% FabArray::Saxpy() 813 0.007941 0.007941 0.007941 0.87% FabArray::Xpay() 821 0.007837 0.007837 0.007837 0.86% MLMG::addInterpCorrection() 410 0.00643 0.00643 0.00643 0.71% amrex::average_down 410 0.005799 0.005799 0.005799 0.64% Gravity::fill_multipole_BCs() 11 0.005707 0.005707 0.005707 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005584 0.005584 0.005584 0.61% Castro::estTimeStep() 21 0.004645 0.004645 0.004645 0.51% FabArray::LinComb() 557 0.004383 0.004383 0.004383 0.48% amrex::Add() 164 0.004349 0.004349 0.004349 0.48% Amr::checkPoint() 3 0.004065 0.004065 0.004065 0.45% BndryData::define() 11 0.003549 0.003549 0.003549 0.39% Castro::enforce_speed_limit() 62 0.003042 0.003042 0.003042 0.33% Castro::construct_new_gravity_source() 10 0.002615 0.002615 0.002615 0.29% Amr::writePlotFile() 2 0.002365 0.002365 0.002365 0.26% Castro::construct_old_gravity_source() 10 0.002167 0.002167 0.002167 0.24% MLCGSolver::bicgstab 82 0.002093 0.002093 0.002093 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001659 0.001659 0.001659 0.18% Castro::reset_internal_energy(Fab) 504 0.001632 0.001632 0.001632 0.18% Gravity::actual_solve_with_mlmg() 11 0.001453 0.001453 0.001453 0.16% check_for_negative_density() 10 0.001436 0.001436 0.001436 0.16% MLCellLinOp::setLevelBC() 11 0.001369 0.001369 0.001369 0.15% FabArray::mult() 43 0.001308 0.001308 0.001308 0.14% FabArray::setDomainBndry() 41 0.001289 0.001289 0.001289 0.14% MultiFab::contains_nan() 20 0.001208 0.001208 0.001208 0.13% Castro::initData() 1 0.001109 0.001109 0.001109 0.12% MLCellLinOp::prepareForSolve() 11 0.001093 0.001093 0.001093 0.12% MLCellLinOp::smooth() 1640 0.001013 0.001013 0.001013 0.11% MLCellLinOp::compGrad() 11 0.0008994 0.0008994 0.0008994 0.10% MLMG::prepareForSolve() 11 0.0008478 0.0008478 0.0008478 0.09% FabArray::FillBoundary() 4023 0.000811 0.000811 0.000811 0.09% FabArrayBase::getCPC() 1323 0.0007338 0.0007338 0.0007338 0.08% FabArrayBase::CPC::define() 454 0.0006907 0.0006907 0.0006907 0.08% FabArrayBase::getFB() 4023 0.0006045 0.0006045 0.0006045 0.07% Gravity::get_new_grav_vector() 11 0.0005418 0.0005418 0.0005418 0.06% Gravity::get_old_grav_vector() 10 0.0004743 0.0004743 0.0004743 0.05% Amr::InitAmr() 1 0.0004647 0.0004647 0.0004647 0.05% MLCellLinOp::apply() 1142 0.0004357 0.0004357 0.0004357 0.05% Amr::coarseTimeStep() 10 0.0003886 0.0003886 0.0003886 0.04% MLLinOp::defineGrids() 11 0.0003642 0.0003642 0.0003642 0.04% MLMG::mgVcycle() 82 0.0003431 0.0003431 0.0003431 0.04% AmrLevel::FillPatch() 41 0.000328 0.000328 0.000328 0.04% main() 1 0.0003031 0.0003031 0.0003031 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002823 0.0002823 0.0002823 0.03% MultiFab::max() 11 0.0002578 0.0002578 0.0002578 0.03% FabArray::ParallelCopy() 861 0.0002378 0.0002378 0.0002378 0.03% MLCellLinOp::defineBC() 11 0.0002136 0.0002136 0.0002136 0.02% FillPatchIterator::Initialize 41 0.0002074 0.0002074 0.0002074 0.02% MLCellLinOp::correctionResidual() 492 0.0002011 0.0002011 0.0002011 0.02% Castro::subcycle_advance_ctu() 10 0.0001844 0.0001844 0.0001844 0.02% Amr::timeStep() 10 0.0001643 0.0001643 0.0001643 0.02% Castro::create_source_corrector() 10 0.0001631 0.0001631 0.0001631 0.02% StateData::checkPoint() 12 0.000139 0.000139 0.000139 0.02% Gravity::update_max_rhs() 11 0.000129 0.000129 0.000129 0.01% MLMG:computeResOfCorrection() 410 0.0001158 0.0001158 0.0001158 0.01% Gravity::solve_for_phi() 10 0.0001093 0.0001093 0.0001093 0.01% FabArrayBase::FB::FB() 56 8.946e-05 8.946e-05 8.946e-05 0.01% MLMG::mgVcycle_down::0 82 8.706e-05 8.706e-05 8.706e-05 0.01% MLMG::actualBottomSolve() 82 8.529e-05 8.529e-05 8.529e-05 0.01% Castro::Castro() 1 8.419e-05 8.419e-05 8.419e-05 0.01% MLMG::mgVcycle_down::4 82 8.239e-05 8.239e-05 8.239e-05 0.01% MLMG::mgVcycle_down::2 82 8.029e-05 8.029e-05 8.029e-05 0.01% MLMG::mgVcycle_down::1 82 8.007e-05 8.007e-05 8.007e-05 0.01% FillPatchIterator::FillFromLevel0() 41 7.966e-05 7.966e-05 7.966e-05 0.01% AmrLevel::checkPoint() 3 7.764e-05 7.764e-05 7.764e-05 0.01% MLMG::mgVcycle_down::3 82 7.704e-05 7.704e-05 7.704e-05 0.01% Castro::initialize_advance() 10 7.595e-05 7.595e-05 7.595e-05 0.01% MLMG::solve() 11 7.325e-05 7.325e-05 7.325e-05 0.01% Castro::post_timestep() 10 6.989e-05 6.989e-05 6.989e-05 0.01% Castro::clean_state() 62 6.961e-05 6.961e-05 6.961e-05 0.01% Castro::advance() 10 6.884e-05 6.884e-05 6.884e-05 0.01% Castro::finalize_advance() 10 6.287e-05 6.287e-05 6.287e-05 0.01% Castro::initialize_do_advance() 10 6.21e-05 6.21e-05 6.21e-05 0.01% MLMG::mgVcycle_up::4 82 5.881e-05 5.881e-05 5.881e-05 0.01% MLMG::oneIter() 82 5.299e-05 5.299e-05 5.299e-05 0.01% MLMG::mgVcycle_up::0 82 5.076e-05 5.076e-05 5.076e-05 0.01% MLMG::mgVcycle_up::3 82 4.855e-05 4.855e-05 4.855e-05 0.01% MLMG::mgVcycle_up::1 82 4.766e-05 4.766e-05 4.766e-05 0.01% MLMG::mgVcycle_up::2 82 4.617e-05 4.617e-05 4.617e-05 0.01% MLCellLinOp::solutionResidual() 93 4.593e-05 4.593e-05 4.593e-05 0.01% Castro::construct_new_source() 50 4.327e-05 4.327e-05 4.327e-05 0.00% StateData::define() 4 4.272e-05 4.272e-05 4.272e-05 0.00% Castro::do_advance_ctu() 10 4.074e-05 4.074e-05 4.074e-05 0.00% Castro::finalize_do_advance() 10 4.071e-05 4.071e-05 4.071e-05 0.00% Castro::swap_state_time_levels() 10 3.769e-05 3.769e-05 3.769e-05 0.00% MLMG::ResNormInf() 93 3.668e-05 3.668e-05 3.668e-05 0.00% Castro::enforce_consistent_e() 1 3.356e-05 3.356e-05 3.356e-05 0.00% FillPatchSingleLevel 41 3.246e-05 3.246e-05 3.246e-05 0.00% MLMG::computeResidual() 82 3.099e-05 3.099e-05 3.099e-05 0.00% makeSFC 55 3.036e-05 3.036e-05 3.036e-05 0.00% MLMG::mgVcycle_bottom 82 3.034e-05 3.034e-05 3.034e-05 0.00% MLPoisson::define() 11 2.804e-05 2.804e-05 2.804e-05 0.00% Castro::construct_new_gravity() 10 2.585e-05 2.585e-05 2.585e-05 0.00% Amr::writeSmallPlotFile() 1 2.527e-05 2.527e-05 2.527e-05 0.00% Castro::initMFs() 1 2.42e-05 2.42e-05 2.42e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.218e-05 2.218e-05 2.218e-05 0.00% Castro::do_old_sources() 10 2.024e-05 2.024e-05 2.024e-05 0.00% Amr::FinalizeInit() 1 2.01e-05 2.01e-05 2.01e-05 0.00% Amr::defBaseLevel() 1 2.002e-05 2.002e-05 2.002e-05 0.00% Castro::do_new_sources() 10 1.792e-05 1.792e-05 1.792e-05 0.00% Castro::buildMetrics() 1 1.746e-05 1.746e-05 1.746e-05 0.00% Castro::construct_old_source() 50 1.739e-05 1.739e-05 1.739e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.72e-05 1.72e-05 1.72e-05 0.00% MLLinOp::define() 11 1.705e-05 1.705e-05 1.705e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.585e-05 1.585e-05 1.585e-05 0.00% DistributionMapping::Distribute() 56 1.569e-05 1.569e-05 1.569e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.393e-05 1.393e-05 1.393e-05 0.00% Castro::check_for_nan() 20 1.109e-05 1.109e-05 1.109e-05 0.00% Castro::apply_source_to_state() 20 1.04e-05 1.04e-05 1.04e-05 0.00% Castro::construct_old_gravity() 10 9.991e-06 9.991e-06 9.991e-06 0.00% Gravity::swapTimeLevels() 10 8.962e-06 8.962e-06 8.962e-06 0.00% MLPoisson::prepareForSolve() 11 8.962e-06 8.962e-06 8.962e-06 0.00% Amr::initSubcycle() 1 8.52e-06 8.52e-06 8.52e-06 0.00% Gravity::actual_multilevel_solve() 1 8.415e-06 8.415e-06 8.415e-06 0.00% MLMG::computeMLResidual() 11 7.939e-06 7.939e-06 7.939e-06 0.00% Castro::computeNewDt() 9 6.511e-06 6.511e-06 6.511e-06 0.00% MLMG::getGradSolution() 11 6.123e-06 6.123e-06 6.123e-06 0.00% AmrLevel::checkPointPost() 3 6.121e-06 6.121e-06 6.121e-06 0.00% Castro::expand_state() 10 5.532e-06 5.532e-06 5.532e-06 0.00% Amr::InitializeInit() 1 4.683e-06 4.683e-06 4.683e-06 0.00% Gravity::set_mass_offset() 11 4.143e-06 4.143e-06 4.143e-06 0.00% MLMG::MLRhsNormInf() 11 3.951e-06 3.951e-06 3.951e-06 0.00% Castro::retry_advance_ctu() 10 3.876e-06 3.876e-06 3.876e-06 0.00% MLMG::MLResNormInf() 11 3.635e-06 3.635e-06 3.635e-06 0.00% Castro::post_init() 1 3.551e-06 3.551e-06 3.551e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.397e-06 3.397e-06 3.397e-06 0.00% Amr::init() 1 2.927e-06 2.927e-06 2.927e-06 0.00% Castro::FluxRegCrseInit 10 2.894e-06 2.894e-06 2.894e-06 0.00% Castro::FluxRegFineAdd() 10 2.843e-06 2.843e-06 2.843e-06 0.00% Castro::computeInitialDt() 2 2.482e-06 2.482e-06 2.482e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.897e-06 1.897e-06 1.897e-06 0.00% AmrLevel::checkPointPre() 3 1.704e-06 1.704e-06 1.704e-06 0.00% Amr::initialInit() 1 1.313e-06 1.313e-06 1.313e-06 0.00% Castro::post_regrid() 1 9.94e-07 9.94e-07 9.94e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9117 0.9117 0.9117 100.00% Amr::coarseTimeStep() 10 0.7393 0.7393 0.7393 81.09% Amr::timeStep() 10 0.6217 0.6217 0.6217 68.19% Castro::advance() 10 0.6108 0.6108 0.6108 67.00% Castro::subcycle_advance_ctu() 10 0.5972 0.5972 0.5972 65.51% Castro::do_advance_ctu() 10 0.597 0.597 0.597 65.49% Castro::construct_ctu_hydro_source() 10 0.2789 0.2789 0.2789 30.59% Gravity::solve_phi_with_mlmg() 11 0.2764 0.2764 0.2764 30.31% Gravity::actual_solve_with_mlmg() 11 0.2702 0.2702 0.2702 29.63% Castro::construct_new_gravity() 10 0.2525 0.2525 0.2525 27.70% MLMG::solve() 11 0.2499 0.2499 0.2499 27.40% Gravity::solve_for_phi() 10 0.2371 0.2371 0.2371 26.01% MLMG::oneIter() 82 0.2358 0.2358 0.2358 25.87% VisMF::Write(FabArray) 11 0.2322 0.2322 0.2322 25.47% MLMG::mgVcycle() 82 0.2322 0.2322 0.2322 25.47% Amr::checkPoint() 3 0.1732 0.1732 0.1732 19.00% AmrLevel::checkPoint() 3 0.1692 0.1692 0.1692 18.56% StateData::checkPoint() 12 0.1691 0.1691 0.1691 18.55% Amr::init() 1 0.1386 0.1386 0.1386 15.20% MLCellLinOp::smooth() 1640 0.1151 0.1151 0.1151 12.62% MLCellLinOp::applyBC() 4433 0.1081 0.1081 0.1081 11.86% MLMG::mgVcycle_bottom 82 0.07112 0.07112 0.07112 7.80% MLMG::actualBottomSolve() 82 0.07109 0.07109 0.07109 7.80% MLCGSolver::bicgstab 82 0.07042 0.07042 0.07042 7.72% Amr::writePlotFile() 2 0.06613 0.06613 0.06613 7.25% Castro::clean_state() 62 0.05105 0.05105 0.05105 5.60% Amr::initialInit() 1 0.04683 0.04683 0.04683 5.14% AmrLevel::FillPatch() 41 0.04574 0.04574 0.04574 5.02% Amr::FinalizeInit() 1 0.04303 0.04303 0.04303 4.72% Castro::post_init() 1 0.04177 0.04177 0.04177 4.58% FillPatchIterator::Initialize 41 0.0416 0.0416 0.0416 4.56% FillPatchIterator::FillFromLevel0() 41 0.0401 0.0401 0.0401 4.40% FillPatchSingleLevel 41 0.04002 0.04002 0.04002 4.39% Gravity::multilevel_solve_for_new_phi() 1 0.03966 0.03966 0.03966 4.35% Gravity::actual_multilevel_solve() 1 0.03964 0.03964 0.03964 4.35% StateDataPhysBCFunct::() 41 0.03596 0.03596 0.03596 3.94% MLCellLinOp::apply() 1142 0.03544 0.03544 0.03544 3.89% MLMG::mgVcycle_down::0 82 0.03418 0.03418 0.03418 3.75% FabArray::FillBoundary() 4023 0.03358 0.03358 0.03358 3.68% FillBoundary_nowait() 4023 0.03277 0.03277 0.03277 3.59% MLPoisson::Fsmooth() 3280 0.03142 0.03142 0.03142 3.45% MLMG::mgVcycle_up::0 82 0.02564 0.02564 0.02564 2.81% StateData::FillBoundary(geom) 328 0.02462 0.02462 0.02462 2.70% MLCellLinOp::correctionResidual() 492 0.02186 0.02186 0.02186 2.40% Castro::computeTemp() 63 0.02003 0.02003 0.02003 2.20% amrex::Dot() 1114 0.01988 0.01988 0.01988 2.18% Castro::initialize_do_advance() 10 0.01964 0.01964 0.01964 2.15% MLMG:computeResOfCorrection() 410 0.01931 0.01931 0.01931 2.12% Castro::normalize_species() 62 0.01878 0.01878 0.01878 2.06% Gravity::get_new_grav_vector() 11 0.0172 0.0172 0.0172 1.89% Castro::do_old_sources() 10 0.0165 0.0165 0.0165 1.81% MLPoisson::define() 11 0.01612 0.01612 0.01612 1.77% MLMG::mgVcycle_down::1 82 0.01535 0.01535 0.01535 1.68% Castro::construct_old_gravity() 10 0.01491 0.01491 0.01491 1.64% Gravity::get_old_grav_vector() 10 0.0149 0.0149 0.0149 1.63% amrex::Copy() 1029 0.0146 0.0146 0.0146 1.60% MLMG::mgVcycle_down::2 82 0.01427 0.01427 0.01427 1.57% FabArray::norminf() 743 0.01402 0.01402 0.01402 1.54% FabArray::ParallelCopy() 861 0.01398 0.01398 0.01398 1.53% MLMG::mgVcycle_down::3 82 0.01391 0.01391 0.01391 1.53% FabArray::ParallelCopy_nowait() 861 0.01374 0.01374 0.01374 1.51% MLMG::mgVcycle_down::4 82 0.01372 0.01372 0.01372 1.51% Castro::initialize_advance() 10 0.01292 0.01292 0.01292 1.42% FabArray::setVal() 1144 0.01285 0.01285 0.01285 1.41% MLCGSolver::ParallelAllReduce 1514 0.01193 0.01193 0.01193 1.31% Castro::do_new_sources() 10 0.01163 0.01163 0.01163 1.28% MLMG::addInterpCorrection() 410 0.01137 0.01137 0.01137 1.25% MLMG::mgVcycle_up::1 82 0.01113 0.01113 0.01113 1.22% MLMG::mgVcycle_up::4 82 0.01104 0.01104 0.01104 1.21% Castro::expand_state() 10 0.01103 0.01103 0.01103 1.21% MLCellLinOp::defineAuxData() 11 0.01093 0.01093 0.01093 1.20% MLMG::mgVcycle_up::2 82 0.01086 0.01086 0.01086 1.19% amrex::average_down 410 0.01081 0.01081 0.01081 1.19% Castro::post_timestep() 10 0.01075 0.01075 0.01075 1.18% MLMG::mgVcycle_up::3 82 0.01062 0.01062 0.01062 1.16% MLPoisson::Fapply() 1142 0.01004 0.01004 0.01004 1.10% Castro::enforce_min_density() 62 0.009746 0.009746 0.009746 1.07% FabArray::Saxpy() 813 0.007941 0.007941 0.007941 0.87% FabArray::Xpay() 821 0.007837 0.007837 0.007837 0.86% Castro::reset_internal_energy(MultiFab) 63 0.007216 0.007216 0.007216 0.79% MLCellLinOp::solutionResidual() 93 0.007011 0.007011 0.007011 0.77% MLMG::computeResidual() 82 0.006036 0.006036 0.006036 0.66% Gravity::fill_multipole_BCs() 11 0.005987 0.005987 0.005987 0.66% MLCellLinOp::defineBC() 11 0.004715 0.004715 0.004715 0.52% Castro::estTimeStep() 21 0.004645 0.004645 0.004645 0.51% MLMG::prepareForSolve() 11 0.004548 0.004548 0.004548 0.50% BndryData::define() 11 0.004502 0.004502 0.004502 0.49% FabArray::LinComb() 557 0.004383 0.004383 0.004383 0.48% amrex::Add() 164 0.004349 0.004349 0.004349 0.48% Amr::InitializeInit() 1 0.003803 0.003803 0.003803 0.42% Amr::defBaseLevel() 1 0.003799 0.003799 0.003799 0.42% Castro::initData() 1 0.003284 0.003284 0.003284 0.36% Castro::enforce_speed_limit() 62 0.003042 0.003042 0.003042 0.33% Castro::construct_new_source() 50 0.002658 0.002658 0.002658 0.29% Castro::construct_new_gravity_source() 10 0.002615 0.002615 0.002615 0.29% Castro::construct_old_source() 50 0.002184 0.002184 0.002184 0.24% Castro::construct_old_gravity_source() 10 0.002167 0.002167 0.002167 0.24% Castro::computeNewDt() 9 0.002159 0.002159 0.002159 0.24% MLMG::ResNormInf() 93 0.002123 0.002123 0.002123 0.23% Castro::finalize_do_advance() 10 0.001974 0.001974 0.001974 0.22% Castro::apply_source_to_state() 20 0.001833 0.001833 0.001833 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001659 0.001659 0.001659 0.18% Castro::reset_internal_energy(Fab) 504 0.001632 0.001632 0.001632 0.18% check_for_negative_density() 10 0.001436 0.001436 0.001436 0.16% FabArrayBase::getCPC() 1323 0.001425 0.001425 0.001425 0.16% MLMG::getGradSolution() 11 0.001382 0.001382 0.001382 0.15% MLCellLinOp::compGrad() 11 0.001376 0.001376 0.001376 0.15% MLCellLinOp::setLevelBC() 11 0.001369 0.001369 0.001369 0.15% FabArray::mult() 43 0.001308 0.001308 0.001308 0.14% FabArray::setDomainBndry() 41 0.001289 0.001289 0.001289 0.14% Castro::check_for_nan() 20 0.00122 0.00122 0.00122 0.13% MultiFab::contains_nan() 20 0.001208 0.001208 0.001208 0.13% MLPoisson::prepareForSolve() 11 0.001102 0.001102 0.001102 0.12% Castro::post_regrid() 1 0.001094 0.001094 0.001094 0.12% MLCellLinOp::prepareForSolve() 11 0.001093 0.001093 0.001093 0.12% MLMG::computeMLResidual() 11 0.001014 0.001014 0.001014 0.11% Gravity::update_max_rhs() 11 0.0008257 0.0008257 0.0008257 0.09% FabArrayBase::getFB() 4023 0.0006939 0.0006939 0.0006939 0.08% FabArrayBase::CPC::define() 454 0.0006907 0.0006907 0.0006907 0.08% Castro::finalize_advance() 10 0.0005932 0.0005932 0.0005932 0.07% Castro::computeInitialDt() 2 0.0005618 0.0005618 0.0005618 0.06% Amr::InitAmr() 1 0.0004733 0.0004733 0.0004733 0.05% MLLinOp::define() 11 0.0004419 0.0004419 0.0004419 0.05% Gravity::swapTimeLevels() 10 0.0004399 0.0004399 0.0004399 0.05% Castro::Castro() 1 0.0004315 0.0004315 0.0004315 0.05% MLLinOp::defineGrids() 11 0.0004249 0.0004249 0.0004249 0.05% MLMG::MLResNormInf() 11 0.0002917 0.0002917 0.0002917 0.03% MultiFab::max() 11 0.0002578 0.0002578 0.0002578 0.03% MLMG::MLRhsNormInf() 11 0.0002174 0.0002174 0.0002174 0.02% Castro::buildMetrics() 1 0.0001633 0.0001633 0.0001633 0.02% Castro::create_source_corrector() 10 0.0001631 0.0001631 0.0001631 0.02% FabArrayBase::FB::FB() 56 8.946e-05 8.946e-05 8.946e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.879e-05 5.879e-05 5.879e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.857e-05 5.857e-05 5.857e-05 0.01% makeSFC 55 4.486e-05 4.486e-05 4.486e-05 0.00% StateData::define() 4 4.272e-05 4.272e-05 4.272e-05 0.00% Castro::swap_state_time_levels() 10 3.769e-05 3.769e-05 3.769e-05 0.00% Castro::enforce_consistent_e() 1 3.356e-05 3.356e-05 3.356e-05 0.00% Amr::writeSmallPlotFile() 1 2.527e-05 2.527e-05 2.527e-05 0.00% Castro::initMFs() 1 2.42e-05 2.42e-05 2.42e-05 0.00% DistributionMapping::Distribute() 56 1.569e-05 1.569e-05 1.569e-05 0.00% Amr::initSubcycle() 1 8.52e-06 8.52e-06 8.52e-06 0.00% AmrLevel::checkPointPost() 3 6.121e-06 6.121e-06 6.121e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.583e-06 4.583e-06 4.583e-06 0.00% Gravity::set_mass_offset() 11 4.143e-06 4.143e-06 4.143e-06 0.00% Castro::retry_advance_ctu() 10 3.876e-06 3.876e-06 3.876e-06 0.00% Castro::FluxRegCrseInit 10 2.894e-06 2.894e-06 2.894e-06 0.00% Castro::FluxRegFineAdd() 10 2.843e-06 2.843e-06 2.843e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.897e-06 1.897e-06 1.897e-06 0.00% AmrLevel::checkPointPre() 3 1.704e-06 1.704e-06 1.704e-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 88 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 140 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 967 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2038 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7608 KiB 14 MiB MLMG::prepareForSolve() 660 660 3372 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 196 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 167 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7531 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 10 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1731 B 2048 KiB Gravity::solve_for_phi() 80 80 532 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 88 KiB 2048 KiB BndryData::define() 1056 1056 307 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 195 KiB 671 KiB Castro::estTimeStep() 21 21 2483 B 480 KiB VisMF::Write(FabArray) 656 656 3220 B 320 KiB Castro::normalize_species() 62 62 6711 B 320 KiB amrex::average_down 1067 1067 1207 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1083 B 257 KiB amrex::Dot() 1360 1360 3216 B 160 KiB FabArray::norminf() 907 907 2276 B 160 KiB check_for_negative_density() 10 10 249 B 160 KiB Castro::initData() 1 1 26 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3297 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 309 B 9648 B MLCellLinOp::applyBC() 8866 8866 213 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 400 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 603 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 586 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3297 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 309 B 9648 B MLCellLinOp::applyBC() 4433 4433 211 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3856 B 6144 B Gravity::get_new_grav_vector() 3 3 2915 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 2880 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 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 280 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 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): 2419 [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.07-9-g28df482cebf2) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-9-g28df482cebf2) initialized Starting run at 08:20:23 UTC on 2023-07-06. Successfully read inputs file ... Castro git describe: 23.07-3-g8dc29e1af AMReX git describe: 23.07-9-g28df482ce Microphysics git describe: 23.07-12-gbc626e8f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.50186152 Restart time = 0.044633816 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.050834178 [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.053130177 [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.065342284 [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.075474834 [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.073832291 [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.032508021 seconds Ending run at 08:20:24 UTC on 2023-07-06. Run time = 0.396765657 Run time without initialization = 0.351564218 Average number of zones advanced per microsecond: 3.728 Average number of zones advanced per microsecond per rank: 3.728 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3968 ... 0.3968 ... 0.3968 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1403 0.1403 0.1403 35.35% VisMF::Read() 3 0.0384 0.0384 0.0384 9.68% MLCellLinOp::applyBC() 1946 0.03213 0.03213 0.03213 8.10% VisMF::Write(FabArray) 1 0.03096 0.03096 0.03096 7.80% MLPoisson::Fsmooth() 1440 0.01349 0.01349 0.01349 3.40% FillBoundary_nowait() 1766 0.01288 0.01288 0.01288 3.25% StateData::FillBoundary(geom) 160 0.01182 0.01182 0.01182 2.98% Castro::normalize_species() 30 0.009697 0.009697 0.009697 2.44% amrex::Dot() 484 0.00846 0.00846 0.00846 2.13% amrex::Copy() 463 0.006828 0.006828 0.006828 1.72% FabArray::setVal() 537 0.006142 0.006142 0.006142 1.55% FabArray::norminf() 326 0.006016 0.006016 0.006016 1.52% FabArray::ParallelCopy_nowait() 380 0.005862 0.005862 0.005862 1.48% Castro::computeTemp() 30 0.005663 0.005663 0.005663 1.43% MLCellLinOp::defineAuxData() 6 0.005164 0.005164 0.005164 1.30% Castro::enforce_min_density() 30 0.004695 0.004695 0.004695 1.18% StateDataPhysBCFunct::() 20 0.004547 0.004547 0.004547 1.15% MLPoisson::Fapply() 500 0.004304 0.004304 0.004304 1.08% Gravity::fill_multipole_BCs() 6 0.003553 0.003553 0.003553 0.90% FabArray::Saxpy() 355 0.003528 0.003528 0.003528 0.89% FabArray::Xpay() 361 0.003406 0.003406 0.003406 0.86% Castro::estTimeStep() 10 0.003057 0.003057 0.003057 0.77% MLMG::addInterpCorrection() 180 0.002809 0.002809 0.002809 0.71% amrex::average_down 180 0.002552 0.002552 0.002552 0.64% Amr::restart() 1 0.002491 0.002491 0.002491 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002065 0.002065 0.002065 0.52% BndryData::define() 6 0.001952 0.001952 0.001952 0.49% FabArray::LinComb() 242 0.001847 0.001847 0.001847 0.47% amrex::Add() 72 0.001839 0.001839 0.001839 0.46% Castro::construct_new_gravity_source() 5 0.001571 0.001571 0.001571 0.40% Castro::construct_old_gravity_source() 5 0.001437 0.001437 0.001437 0.36% Amr::writePlotFile() 1 0.001368 0.001368 0.001368 0.34% MLCGSolver::bicgstab 36 0.001014 0.001014 0.001014 0.26% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009037 0.0009037 0.0009037 0.23% Gravity::actual_solve_with_mlmg() 6 0.0007809 0.0007809 0.0007809 0.20% Castro::reset_internal_energy(Fab) 240 0.0007668 0.0007668 0.0007668 0.19% MLCellLinOp::setLevelBC() 6 0.0007364 0.0007364 0.0007364 0.19% check_for_negative_density() 5 0.0007054 0.0007054 0.0007054 0.18% Castro::subcycle_advance_ctu() 5 0.0006752 0.0006752 0.0006752 0.17% FabArray::mult() 22 0.0006358 0.0006358 0.0006358 0.16% FabArray::setDomainBndry() 20 0.0006288 0.0006288 0.0006288 0.16% MLCellLinOp::prepareForSolve() 6 0.0005969 0.0005969 0.0005969 0.15% MultiFab::contains_nan() 10 0.0005886 0.0005886 0.0005886 0.15% MLCellLinOp::smooth() 720 0.0005494 0.0005494 0.0005494 0.14% MLCellLinOp::compGrad() 6 0.0004797 0.0004797 0.0004797 0.12% MLMG::prepareForSolve() 6 0.0004661 0.0004661 0.0004661 0.12% Castro::enforce_speed_limit() 30 0.0004399 0.0004399 0.0004399 0.11% FabArrayBase::CPC::define() 244 0.0004231 0.0004231 0.0004231 0.11% Amr::InitAmr() 1 0.000387 0.000387 0.000387 0.10% FabArray::FillBoundary() 1766 0.0003857 0.0003857 0.0003857 0.10% FabArrayBase::getCPC() 632 0.0003627 0.0003627 0.0003627 0.09% main() 1 0.0002817 0.0002817 0.0002817 0.07% Gravity::get_old_grav_vector() 5 0.0002659 0.0002659 0.0002659 0.07% FabArrayBase::getFB() 1766 0.0002553 0.0002553 0.0002553 0.06% Gravity::get_new_grav_vector() 5 0.0002347 0.0002347 0.0002347 0.06% MLCellLinOp::apply() 500 0.0002223 0.0002223 0.0002223 0.06% Amr::coarseTimeStep() 5 0.0002041 0.0002041 0.0002041 0.05% MLLinOp::defineGrids() 6 0.0001715 0.0001715 0.0001715 0.04% AmrLevel::FillPatch() 20 0.0001619 0.0001619 0.0001619 0.04% MLMG::mgVcycle() 36 0.0001539 0.0001539 0.0001539 0.04% MultiFab::max() 6 0.000137 0.000137 0.000137 0.03% MLCGSolver::ParallelAllReduce 659 0.0001346 0.0001346 0.0001346 0.03% Castro::construct_new_source() 25 0.0001279 0.0001279 0.0001279 0.03% FabArray::ParallelCopy() 380 0.0001204 0.0001204 0.0001204 0.03% MLCellLinOp::defineBC() 6 0.0001113 0.0001113 0.0001113 0.03% FillPatchIterator::Initialize 20 9.873e-05 9.873e-05 9.873e-05 0.02% MLCellLinOp::correctionResidual() 216 9.419e-05 9.419e-05 9.419e-05 0.02% Amr::timeStep() 5 8.55e-05 8.55e-05 8.55e-05 0.02% AmrLevel::restart() 1 8.252e-05 8.252e-05 8.252e-05 0.02% Castro::create_source_corrector() 5 7.696e-05 7.696e-05 7.696e-05 0.02% Gravity::update_max_rhs() 6 6.678e-05 6.678e-05 6.678e-05 0.02% StateData::restartDoit() 4 6.525e-05 6.525e-05 6.525e-05 0.02% FabArrayBase::FB::FB() 26 6.013e-05 6.013e-05 6.013e-05 0.02% Castro::advance() 5 5.364e-05 5.364e-05 5.364e-05 0.01% Gravity::solve_for_phi() 5 5.29e-05 5.29e-05 5.29e-05 0.01% Castro::construct_old_source() 25 5.236e-05 5.236e-05 5.236e-05 0.01% MLMG:computeResOfCorrection() 180 4.987e-05 4.987e-05 4.987e-05 0.01% Castro::finalize_do_advance() 5 4.273e-05 4.273e-05 4.273e-05 0.01% MLMG::actualBottomSolve() 36 4.054e-05 4.054e-05 4.054e-05 0.01% Castro::do_new_sources() 5 4.044e-05 4.044e-05 4.044e-05 0.01% MLMG::mgVcycle_down::0 36 3.996e-05 3.996e-05 3.996e-05 0.01% MLMG::mgVcycle_down::1 36 3.713e-05 3.713e-05 3.713e-05 0.01% Castro::initialize_advance() 5 3.601e-05 3.601e-05 3.601e-05 0.01% MLMG::mgVcycle_down::4 36 3.585e-05 3.585e-05 3.585e-05 0.01% MLMG::mgVcycle_down::2 36 3.522e-05 3.522e-05 3.522e-05 0.01% MLMG::mgVcycle_down::3 36 3.471e-05 3.471e-05 3.471e-05 0.01% Castro::clean_state() 30 3.352e-05 3.352e-05 3.352e-05 0.01% MLMG::solve() 6 3.341e-05 3.341e-05 3.341e-05 0.01% MLMG::mgVcycle_up::4 36 2.945e-05 2.945e-05 2.945e-05 0.01% Castro::initialize_do_advance() 5 2.927e-05 2.927e-05 2.927e-05 0.01% Castro::finalize_advance() 5 2.905e-05 2.905e-05 2.905e-05 0.01% Amr::writeSmallPlotFile() 1 2.633e-05 2.633e-05 2.633e-05 0.01% Castro::buildMetrics() 1 2.628e-05 2.628e-05 2.628e-05 0.01% Castro::initMFs() 1 2.608e-05 2.608e-05 2.608e-05 0.01% MLMG::oneIter() 36 2.472e-05 2.472e-05 2.472e-05 0.01% Castro::swap_state_time_levels() 5 2.41e-05 2.41e-05 2.41e-05 0.01% MLMG::mgVcycle_up::0 36 2.275e-05 2.275e-05 2.275e-05 0.01% MLMG::mgVcycle_up::3 36 2.236e-05 2.236e-05 2.236e-05 0.01% MLCellLinOp::solutionResidual() 42 2.194e-05 2.194e-05 2.194e-05 0.01% MLMG::mgVcycle_up::2 36 2.17e-05 2.17e-05 2.17e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.111e-05 2.111e-05 2.111e-05 0.01% MLPoisson::define() 6 2.07e-05 2.07e-05 2.07e-05 0.01% MLMG::mgVcycle_up::1 36 2.058e-05 2.058e-05 2.058e-05 0.01% Castro::post_restart() 1 2.048e-05 2.048e-05 2.048e-05 0.01% MLMG::ResNormInf() 42 2.031e-05 2.031e-05 2.031e-05 0.01% Castro::do_advance_ctu() 5 1.886e-05 1.886e-05 1.886e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.6e-05 1.6e-05 1.6e-05 0.00% FillPatchSingleLevel 20 1.433e-05 1.433e-05 1.433e-05 0.00% MLMG::mgVcycle_bottom 36 1.415e-05 1.415e-05 1.415e-05 0.00% MLMG::computeResidual() 36 1.35e-05 1.35e-05 1.35e-05 0.00% Castro::construct_new_gravity() 5 1.346e-05 1.346e-05 1.346e-05 0.00% makeSFC 30 1.334e-05 1.334e-05 1.334e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.198e-05 1.198e-05 1.198e-05 0.00% MLLinOp::define() 6 1.091e-05 1.091e-05 1.091e-05 0.00% Castro::do_old_sources() 5 1.058e-05 1.058e-05 1.058e-05 0.00% DistributionMapping::Distribute() 31 8.661e-06 8.661e-06 8.661e-06 0.00% Amr::initSubcycle() 1 8.164e-06 8.164e-06 8.164e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.702e-06 7.702e-06 7.702e-06 0.00% Gravity::actual_multilevel_solve() 1 7.085e-06 7.085e-06 7.085e-06 0.00% Castro::apply_source_to_state() 10 5.764e-06 5.764e-06 5.764e-06 0.00% Castro::check_for_nan() 10 5.598e-06 5.598e-06 5.598e-06 0.00% Castro::construct_old_gravity() 5 5.54e-06 5.54e-06 5.54e-06 0.00% Castro::post_timestep() 5 5.036e-06 5.036e-06 5.036e-06 0.00% MLPoisson::prepareForSolve() 6 4.684e-06 4.684e-06 4.684e-06 0.00% Gravity::swapTimeLevels() 5 4.48e-06 4.48e-06 4.48e-06 0.00% MLMG::computeMLResidual() 6 4.073e-06 4.073e-06 4.073e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.283e-06 3.283e-06 3.283e-06 0.00% Castro::computeNewDt() 5 3.157e-06 3.157e-06 3.157e-06 0.00% MLMG::getGradSolution() 6 3.043e-06 3.043e-06 3.043e-06 0.00% Gravity::set_mass_offset() 6 2.58e-06 2.58e-06 2.58e-06 0.00% Castro::expand_state() 5 2.562e-06 2.562e-06 2.562e-06 0.00% Castro::retry_advance_ctu() 5 2.328e-06 2.328e-06 2.328e-06 0.00% MLMG::MLRhsNormInf() 6 2.324e-06 2.324e-06 2.324e-06 0.00% MLMG::MLResNormInf() 6 2.142e-06 2.142e-06 2.142e-06 0.00% Castro::FluxRegCrseInit 5 1.401e-06 1.401e-06 1.401e-06 0.00% Amr::init() 1 1.335e-06 1.335e-06 1.335e-06 0.00% Castro::FluxRegFineAdd() 5 1.176e-06 1.176e-06 1.176e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.063e-06 1.063e-06 1.063e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3968 0.3968 0.3968 100.00% Amr::coarseTimeStep() 5 0.3188 0.3188 0.3188 80.35% Amr::timeStep() 5 0.3166 0.3166 0.3166 79.79% Castro::advance() 5 0.312 0.312 0.312 78.63% Castro::subcycle_advance_ctu() 5 0.3062 0.3062 0.3062 77.16% Castro::do_advance_ctu() 5 0.3055 0.3055 0.3055 76.99% Castro::construct_ctu_hydro_source() 5 0.1448 0.1448 0.1448 36.48% Castro::construct_new_gravity() 5 0.1268 0.1268 0.1268 31.96% Gravity::solve_phi_with_mlmg() 6 0.1223 0.1223 0.1223 30.82% Gravity::solve_for_phi() 5 0.1192 0.1192 0.1192 30.05% Gravity::actual_solve_with_mlmg() 6 0.1185 0.1185 0.1185 29.87% MLMG::solve() 6 0.1075 0.1075 0.1075 27.09% MLMG::oneIter() 36 0.1007 0.1007 0.1007 25.38% MLMG::mgVcycle() 36 0.09916 0.09916 0.09916 24.99% MLCellLinOp::smooth() 720 0.0488 0.0488 0.0488 12.30% MLCellLinOp::applyBC() 1946 0.04571 0.04571 0.04571 11.52% Amr::init() 1 0.04468 0.04468 0.04468 11.26% Amr::restart() 1 0.04467 0.04467 0.04467 11.26% AmrLevel::restart() 1 0.0386 0.0386 0.0386 9.73% StateData::restartDoit() 4 0.03852 0.03852 0.03852 9.71% VisMF::Read() 3 0.0384 0.0384 0.0384 9.68% Amr::writePlotFile() 1 0.03259 0.03259 0.03259 8.21% VisMF::Write(FabArray) 1 0.03096 0.03096 0.03096 7.80% MLMG::mgVcycle_bottom 36 0.03052 0.03052 0.03052 7.69% MLMG::actualBottomSolve() 36 0.03051 0.03051 0.03051 7.69% MLCGSolver::bicgstab 36 0.03021 0.03021 0.03021 7.61% Castro::clean_state() 30 0.02336 0.02336 0.02336 5.89% AmrLevel::FillPatch() 20 0.02119 0.02119 0.02119 5.34% FillPatchIterator::Initialize 20 0.01915 0.01915 0.01915 4.83% FillPatchIterator::FillFromLevel0() 20 0.01842 0.01842 0.01842 4.64% FillPatchSingleLevel 20 0.0184 0.0184 0.0184 4.64% StateDataPhysBCFunct::() 20 0.01637 0.01637 0.01637 4.13% MLCellLinOp::apply() 500 0.01521 0.01521 0.01521 3.83% MLMG::mgVcycle_down::0 36 0.01418 0.01418 0.01418 3.57% FabArray::FillBoundary() 1766 0.01358 0.01358 0.01358 3.42% MLPoisson::Fsmooth() 1440 0.01349 0.01349 0.01349 3.40% FillBoundary_nowait() 1766 0.0132 0.0132 0.0132 3.33% StateData::FillBoundary(geom) 160 0.01182 0.01182 0.01182 2.98% MLMG::mgVcycle_up::0 36 0.01073 0.01073 0.01073 2.71% Castro::normalize_species() 30 0.009697 0.009697 0.009697 2.44% Castro::initialize_do_advance() 5 0.009385 0.009385 0.009385 2.37% MLCellLinOp::correctionResidual() 216 0.009264 0.009264 0.009264 2.33% Castro::do_old_sources() 5 0.008888 0.008888 0.008888 2.24% MLPoisson::define() 6 0.008762 0.008762 0.008762 2.21% Castro::computeTemp() 30 0.008495 0.008495 0.008495 2.14% amrex::Dot() 484 0.00846 0.00846 0.00846 2.13% MLMG:computeResOfCorrection() 180 0.00815 0.00815 0.00815 2.05% Gravity::get_new_grav_vector() 5 0.007487 0.007487 0.007487 1.89% Castro::construct_old_gravity() 5 0.007247 0.007247 0.007247 1.83% Gravity::get_old_grav_vector() 5 0.007241 0.007241 0.007241 1.82% amrex::Copy() 463 0.006828 0.006828 0.006828 1.72% Castro::do_new_sources() 5 0.006804 0.006804 0.006804 1.71% MLMG::mgVcycle_down::1 36 0.006646 0.006646 0.006646 1.68% FabArray::ParallelCopy() 380 0.006369 0.006369 0.006369 1.61% FabArray::ParallelCopy_nowait() 380 0.006249 0.006249 0.006249 1.57% MLMG::mgVcycle_down::2 36 0.006166 0.006166 0.006166 1.55% FabArray::setVal() 537 0.006142 0.006142 0.006142 1.55% FabArray::norminf() 326 0.006016 0.006016 0.006016 1.52% MLMG::mgVcycle_down::3 36 0.005988 0.005988 0.005988 1.51% MLMG::mgVcycle_down::4 36 0.005927 0.005927 0.005927 1.49% MLCellLinOp::defineAuxData() 6 0.005917 0.005917 0.005917 1.49% Castro::initialize_advance() 5 0.005505 0.005505 0.005505 1.39% Castro::expand_state() 5 0.005161 0.005161 0.005161 1.30% MLCGSolver::ParallelAllReduce 659 0.005121 0.005121 0.005121 1.29% MLMG::addInterpCorrection() 180 0.004974 0.004974 0.004974 1.25% MLMG::mgVcycle_up::1 36 0.004807 0.004807 0.004807 1.21% MLMG::mgVcycle_up::4 36 0.004777 0.004777 0.004777 1.20% amrex::average_down 180 0.004742 0.004742 0.004742 1.20% Castro::enforce_min_density() 30 0.004695 0.004695 0.004695 1.18% MLMG::mgVcycle_up::2 36 0.004687 0.004687 0.004687 1.18% MLMG::mgVcycle_up::3 36 0.004579 0.004579 0.004579 1.15% Castro::post_timestep() 5 0.004487 0.004487 0.004487 1.13% MLPoisson::Fapply() 500 0.004304 0.004304 0.004304 1.08% Gravity::fill_multipole_BCs() 6 0.003675 0.003675 0.003675 0.93% FabArray::Saxpy() 355 0.003528 0.003528 0.003528 0.89% Castro::post_restart() 1 0.003409 0.003409 0.003409 0.86% FabArray::Xpay() 361 0.003406 0.003406 0.003406 0.86% Gravity::multilevel_solve_for_new_phi() 1 0.003296 0.003296 0.003296 0.83% Gravity::actual_multilevel_solve() 1 0.00328 0.00328 0.00328 0.83% MLCellLinOp::solutionResidual() 42 0.003164 0.003164 0.003164 0.80% Castro::estTimeStep() 10 0.003057 0.003057 0.003057 0.77% Castro::reset_internal_energy(MultiFab) 30 0.002832 0.002832 0.002832 0.71% MLMG::computeResidual() 36 0.002617 0.002617 0.002617 0.66% MLCellLinOp::defineBC() 6 0.002612 0.002612 0.002612 0.66% MLMG::prepareForSolve() 6 0.002503 0.002503 0.002503 0.63% BndryData::define() 6 0.002501 0.002501 0.002501 0.63% Castro::computeNewDt() 5 0.002015 0.002015 0.002015 0.51% FabArray::LinComb() 242 0.001847 0.001847 0.001847 0.47% amrex::Add() 72 0.001839 0.001839 0.001839 0.46% Castro::construct_new_source() 25 0.001699 0.001699 0.001699 0.43% Castro::construct_new_gravity_source() 5 0.001571 0.001571 0.001571 0.40% Castro::construct_old_source() 25 0.001489 0.001489 0.001489 0.38% Castro::construct_old_gravity_source() 5 0.001437 0.001437 0.001437 0.36% Castro::finalize_do_advance() 5 0.001088 0.001088 0.001088 0.27% MLMG::ResNormInf() 42 0.0009356 0.0009356 0.0009356 0.24% Castro::apply_source_to_state() 10 0.0009219 0.0009219 0.0009219 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009037 0.0009037 0.0009037 0.23% FabArrayBase::getCPC() 632 0.0007858 0.0007858 0.0007858 0.20% Castro::reset_internal_energy(Fab) 240 0.0007668 0.0007668 0.0007668 0.19% MLMG::getGradSolution() 6 0.0007445 0.0007445 0.0007445 0.19% MLCellLinOp::compGrad() 6 0.0007414 0.0007414 0.0007414 0.19% MLCellLinOp::setLevelBC() 6 0.0007364 0.0007364 0.0007364 0.19% check_for_negative_density() 5 0.0007054 0.0007054 0.0007054 0.18% FabArray::mult() 22 0.0006358 0.0006358 0.0006358 0.16% FabArray::setDomainBndry() 20 0.0006288 0.0006288 0.0006288 0.16% MLPoisson::prepareForSolve() 6 0.0006016 0.0006016 0.0006016 0.15% MLCellLinOp::prepareForSolve() 6 0.0005969 0.0005969 0.0005969 0.15% Castro::check_for_nan() 10 0.0005942 0.0005942 0.0005942 0.15% MultiFab::contains_nan() 10 0.0005886 0.0005886 0.0005886 0.15% MLMG::computeMLResidual() 6 0.0005647 0.0005647 0.0005647 0.14% Gravity::update_max_rhs() 6 0.0004478 0.0004478 0.0004478 0.11% Castro::enforce_speed_limit() 30 0.0004399 0.0004399 0.0004399 0.11% FabArrayBase::CPC::define() 244 0.0004231 0.0004231 0.0004231 0.11% Amr::InitAmr() 1 0.0003951 0.0003951 0.0003951 0.10% FabArrayBase::getFB() 1766 0.0003154 0.0003154 0.0003154 0.08% Castro::finalize_advance() 5 0.0002973 0.0002973 0.0002973 0.07% Gravity::swapTimeLevels() 5 0.0002225 0.0002225 0.0002225 0.06% MLLinOp::define() 6 0.000212 0.000212 0.000212 0.05% MLLinOp::defineGrids() 6 0.0002011 0.0002011 0.0002011 0.05% MLMG::MLResNormInf() 6 0.0001491 0.0001491 0.0001491 0.04% Castro::buildMetrics() 1 0.0001458 0.0001458 0.0001458 0.04% MultiFab::max() 6 0.000137 0.000137 0.000137 0.03% MLMG::MLRhsNormInf() 6 0.0001146 0.0001146 0.0001146 0.03% Castro::create_source_corrector() 5 7.696e-05 7.696e-05 7.696e-05 0.02% FabArrayBase::FB::FB() 26 6.013e-05 6.013e-05 6.013e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.858e-05 2.858e-05 2.858e-05 0.01% Amr::writeSmallPlotFile() 1 2.633e-05 2.633e-05 2.633e-05 0.01% Castro::initMFs() 1 2.608e-05 2.608e-05 2.608e-05 0.01% Castro::swap_state_time_levels() 5 2.41e-05 2.41e-05 2.41e-05 0.01% makeSFC 30 2.088e-05 2.088e-05 2.088e-05 0.01% DistributionMapping::Distribute() 31 8.661e-06 8.661e-06 8.661e-06 0.00% Amr::initSubcycle() 1 8.164e-06 8.164e-06 8.164e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.412e-06 4.412e-06 4.412e-06 0.00% Gravity::set_mass_offset() 6 2.58e-06 2.58e-06 2.58e-06 0.00% Castro::retry_advance_ctu() 5 2.328e-06 2.328e-06 2.328e-06 0.00% Castro::FluxRegCrseInit 5 1.401e-06 1.401e-06 1.401e-06 0.00% Castro::FluxRegFineAdd() 5 1.176e-06 1.176e-06 1.176e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.063e-06 1.063e-06 1.063e-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 202 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 162 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1037 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2299 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 6775 KiB 14 MiB MLMG::prepareForSolve() 361 361 3326 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 189 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 193 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6771 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 15 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2183 B 2048 KiB Gravity::solve_for_phi() 40 40 614 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 306 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 3675 B 480 KiB VisMF::Write(FabArray) 112 112 1226 B 320 KiB Castro::normalize_species() 30 30 7957 B 320 KiB amrex::average_down 469 469 1164 B 257 KiB MLMG::addInterpCorrection() 468 468 1082 B 257 KiB amrex::Dot() 592 592 3135 B 160 KiB FabArray::norminf() 398 398 2238 B 160 KiB check_for_negative_density() 5 5 282 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3234 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 282 B 9648 B MLCellLinOp::applyBC() 3892 3892 210 B 9344 B amrex::Copy() 56 56 5988 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 110 B 1472 B MLCellLinOp::defineBC() 36 36 396 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1424 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 110 KiB 8192 KiB VisMF::Write(FabArray) 120 120 240 KiB 3584 KiB VisMF::Read() 24 24 187 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3234 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 282 B 9648 B MLCellLinOp::applyBC() 1946 1946 209 B 9328 B amrex::Copy() 56 56 5988 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2679 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 43 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 225 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): 2419 [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.07-9-g28df482cebf2) finalized