Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-17-g5117d21af790) initialized Starting run at 08:43:22 UTC on 2023-07-13. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-17-g5117d21af Microphysics git describe: 23.07-25-ge5c0f75c 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.057791105 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033064458 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.047587395 [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.049413387 [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.070145223 [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.073455813 [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.059415317 [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.057030601 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.051289994 [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.046551384 [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.069923841 [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.070636585 [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.070542501 [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.057659563 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033008996 seconds Ending run at 08:43:23 UTC on 2023-07-13. Run time = 0.895526174 Run time without initialization = 0.757290463 Average number of zones advanced per microsecond: 3.462 Average number of zones advanced per microsecond per rank: 3.462 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8956 ... 0.8956 ... 0.8956 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2494 0.2494 0.2494 27.85% VisMF::Write(FabArray) 11 0.2317 0.2317 0.2317 25.88% MLCellLinOp::applyBC() 4433 0.07473 0.07473 0.07473 8.34% FillBoundary_nowait() 4023 0.03212 0.03212 0.03212 3.59% MLPoisson::Fsmooth() 3280 0.03132 0.03132 0.03132 3.50% StateData::FillBoundary(geom) 328 0.02455 0.02455 0.02455 2.74% Castro::normalize_species() 62 0.01996 0.01996 0.01996 2.23% amrex::Dot() 1114 0.01985 0.01985 0.01985 2.22% amrex::Copy() 1029 0.01451 0.01451 0.01451 1.62% FabArray::norminf() 743 0.01387 0.01387 0.01387 1.55% Castro::computeTemp() 63 0.01306 0.01306 0.01306 1.46% FabArray::ParallelCopy_nowait() 861 0.01303 0.01303 0.01303 1.46% FabArray::setVal() 1144 0.01274 0.01274 0.01274 1.42% StateDataPhysBCFunct::() 41 0.01161 0.01161 0.01161 1.30% Castro::enforce_min_density() 62 0.01044 0.01044 0.01044 1.17% MLPoisson::Fapply() 1142 0.01 0.01 0.01 1.12% MLCellLinOp::defineAuxData() 11 0.009518 0.009518 0.009518 1.06% FabArray::Saxpy() 813 0.007949 0.007949 0.007949 0.89% FabArray::Xpay() 821 0.007835 0.007835 0.007835 0.87% MLMG::addInterpCorrection() 410 0.00652 0.00652 0.00652 0.73% Gravity::fill_multipole_BCs() 11 0.006472 0.006472 0.006472 0.72% amrex::average_down 410 0.005874 0.005874 0.005874 0.66% Castro::estTimeStep() 21 0.005421 0.005421 0.005421 0.61% Castro::reset_internal_energy(MultiFab) 63 0.00483 0.00483 0.00483 0.54% amrex::Add() 164 0.004359 0.004359 0.004359 0.49% FabArray::LinComb() 557 0.004317 0.004317 0.004317 0.48% Amr::checkPoint() 3 0.00398 0.00398 0.00398 0.44% Castro::enforce_speed_limit() 62 0.003709 0.003709 0.003709 0.41% BndryData::define() 11 0.003514 0.003514 0.003514 0.39% Castro::construct_new_gravity_source() 10 0.003128 0.003128 0.003128 0.35% Castro::construct_old_gravity_source() 10 0.002684 0.002684 0.002684 0.30% Amr::writePlotFile() 2 0.002356 0.002356 0.002356 0.26% MLCGSolver::bicgstab 82 0.002129 0.002129 0.002129 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001661 0.001661 0.001661 0.19% Castro::reset_internal_energy(Fab) 504 0.001564 0.001564 0.001564 0.17% Gravity::actual_solve_with_mlmg() 11 0.001473 0.001473 0.001473 0.16% check_for_negative_density() 10 0.001462 0.001462 0.001462 0.16% MLCellLinOp::setLevelBC() 11 0.001357 0.001357 0.001357 0.15% FabArray::setDomainBndry() 41 0.001301 0.001301 0.001301 0.15% FabArray::mult() 43 0.0013 0.0013 0.0013 0.15% Castro::initData() 1 0.001263 0.001263 0.001263 0.14% MultiFab::contains_nan() 20 0.001201 0.001201 0.001201 0.13% MLCellLinOp::smooth() 1640 0.001107 0.001107 0.001107 0.12% MLCellLinOp::prepareForSolve() 11 0.001101 0.001101 0.001101 0.12% MLCellLinOp::compGrad() 11 0.0008954 0.0008954 0.0008954 0.10% MLMG::prepareForSolve() 11 0.0008544 0.0008544 0.0008544 0.10% FabArray::FillBoundary() 4023 0.0008016 0.0008016 0.0008016 0.09% FabArrayBase::getCPC() 1323 0.0007959 0.0007959 0.0007959 0.09% FabArrayBase::CPC::define() 454 0.0007174 0.0007174 0.0007174 0.08% FabArrayBase::getFB() 4023 0.0006005 0.0006005 0.0006005 0.07% Gravity::get_new_grav_vector() 11 0.0005298 0.0005298 0.0005298 0.06% Gravity::get_old_grav_vector() 10 0.0004755 0.0004755 0.0004755 0.05% Amr::InitAmr() 1 0.0004709 0.0004709 0.0004709 0.05% MLCellLinOp::apply() 1142 0.0004555 0.0004555 0.0004555 0.05% MLMG::mgVcycle() 82 0.0003615 0.0003615 0.0003615 0.04% MLLinOp::defineGrids() 11 0.0003575 0.0003575 0.0003575 0.04% Amr::coarseTimeStep() 10 0.0003394 0.0003394 0.0003394 0.04% AmrLevel::FillPatch() 41 0.0003387 0.0003387 0.0003387 0.04% main() 1 0.0002907 0.0002907 0.0002907 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002904 0.0002904 0.0002904 0.03% MultiFab::max() 11 0.0002592 0.0002592 0.0002592 0.03% FabArray::ParallelCopy() 861 0.0002348 0.0002348 0.0002348 0.03% MLCellLinOp::defineBC() 11 0.0002127 0.0002127 0.0002127 0.02% FillPatchIterator::Initialize 41 0.0002122 0.0002122 0.0002122 0.02% MLCellLinOp::correctionResidual() 492 0.0002116 0.0002116 0.0002116 0.02% Castro::subcycle_advance_ctu() 10 0.0002039 0.0002039 0.0002039 0.02% Amr::timeStep() 10 0.000166 0.000166 0.000166 0.02% StateData::checkPoint() 12 0.0001375 0.0001375 0.0001375 0.02% Gravity::update_max_rhs() 11 0.0001278 0.0001278 0.0001278 0.01% MLMG:computeResOfCorrection() 410 0.0001242 0.0001242 0.0001242 0.01% Castro::create_source_corrector() 10 0.0001239 0.0001239 0.0001239 0.01% Gravity::solve_for_phi() 10 0.0001206 0.0001206 0.0001206 0.01% Castro::advance() 10 9.272e-05 9.272e-05 9.272e-05 0.01% MLMG::actualBottomSolve() 82 8.867e-05 8.867e-05 8.867e-05 0.01% Castro::Castro() 1 8.594e-05 8.594e-05 8.594e-05 0.01% FabArrayBase::FB::FB() 56 8.565e-05 8.565e-05 8.565e-05 0.01% MLMG::mgVcycle_down::0 82 8.124e-05 8.124e-05 8.124e-05 0.01% MLMG::mgVcycle_down::2 82 7.943e-05 7.943e-05 7.943e-05 0.01% MLMG::mgVcycle_down::1 82 7.725e-05 7.725e-05 7.725e-05 0.01% AmrLevel::checkPoint() 3 7.659e-05 7.659e-05 7.659e-05 0.01% Castro::construct_new_source() 50 7.582e-05 7.582e-05 7.582e-05 0.01% Castro::clean_state() 62 7.525e-05 7.525e-05 7.525e-05 0.01% Castro::initialize_advance() 10 7.487e-05 7.487e-05 7.487e-05 0.01% MLMG::mgVcycle_down::4 82 7.216e-05 7.216e-05 7.216e-05 0.01% MLMG::mgVcycle_down::3 82 7.141e-05 7.141e-05 7.141e-05 0.01% MLMG::solve() 11 6.999e-05 6.999e-05 6.999e-05 0.01% Castro::finalize_advance() 10 6.856e-05 6.856e-05 6.856e-05 0.01% MLMG::mgVcycle_up::4 82 5.875e-05 5.875e-05 5.875e-05 0.01% Castro::initialize_do_advance() 10 5.81e-05 5.81e-05 5.81e-05 0.01% Castro::do_advance_ctu() 10 5.357e-05 5.357e-05 5.357e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.997e-05 4.997e-05 4.997e-05 0.01% MLMG::mgVcycle_up::1 82 4.991e-05 4.991e-05 4.991e-05 0.01% MLMG::mgVcycle_up::3 82 4.975e-05 4.975e-05 4.975e-05 0.01% MLMG::mgVcycle_up::0 82 4.921e-05 4.921e-05 4.921e-05 0.01% MLMG::mgVcycle_up::2 82 4.848e-05 4.848e-05 4.848e-05 0.01% MLCellLinOp::solutionResidual() 93 4.737e-05 4.737e-05 4.737e-05 0.01% MLMG::oneIter() 82 4.704e-05 4.704e-05 4.704e-05 0.01% Castro::finalize_do_advance() 10 4.07e-05 4.07e-05 4.07e-05 0.00% Castro::swap_state_time_levels() 10 3.842e-05 3.842e-05 3.842e-05 0.00% StateData::define() 4 3.63e-05 3.63e-05 3.63e-05 0.00% FillPatchSingleLevel 41 3.483e-05 3.483e-05 3.483e-05 0.00% MLMG::ResNormInf() 93 3.433e-05 3.433e-05 3.433e-05 0.00% MLMG::mgVcycle_bottom 82 3.407e-05 3.407e-05 3.407e-05 0.00% Castro::enforce_consistent_e() 1 3.222e-05 3.222e-05 3.222e-05 0.00% MLMG::computeResidual() 82 2.989e-05 2.989e-05 2.989e-05 0.00% Castro::construct_new_gravity() 10 2.581e-05 2.581e-05 2.581e-05 0.00% makeSFC 55 2.571e-05 2.571e-05 2.571e-05 0.00% Amr::writeSmallPlotFile() 1 2.553e-05 2.553e-05 2.553e-05 0.00% Castro::initMFs() 1 2.308e-05 2.308e-05 2.308e-05 0.00% MLPoisson::define() 11 2.298e-05 2.298e-05 2.298e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.238e-05 2.238e-05 2.238e-05 0.00% Amr::FinalizeInit() 1 2.193e-05 2.193e-05 2.193e-05 0.00% Castro::do_old_sources() 10 2.134e-05 2.134e-05 2.134e-05 0.00% Castro::construct_old_source() 50 1.906e-05 1.906e-05 1.906e-05 0.00% Castro::buildMetrics() 1 1.842e-05 1.842e-05 1.842e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.779e-05 1.779e-05 1.779e-05 0.00% Castro::do_new_sources() 10 1.767e-05 1.767e-05 1.767e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.651e-05 1.651e-05 1.651e-05 0.00% DistributionMapping::Distribute() 56 1.537e-05 1.537e-05 1.537e-05 0.00% MLPoisson::prepareForSolve() 11 1.508e-05 1.508e-05 1.508e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.42e-05 1.42e-05 1.42e-05 0.00% Castro::computeNewDt() 9 1.374e-05 1.374e-05 1.374e-05 0.00% Amr::defBaseLevel() 1 1.279e-05 1.279e-05 1.279e-05 0.00% Castro::check_for_nan() 20 1.143e-05 1.143e-05 1.143e-05 0.00% Castro::apply_source_to_state() 20 1.045e-05 1.045e-05 1.045e-05 0.00% MLLinOp::define() 11 1.008e-05 1.008e-05 1.008e-05 0.00% Castro::construct_old_gravity() 10 9.947e-06 9.947e-06 9.947e-06 0.00% Gravity::swapTimeLevels() 10 9.358e-06 9.358e-06 9.358e-06 0.00% Amr::initSubcycle() 1 8.825e-06 8.825e-06 8.825e-06 0.00% Castro::post_timestep() 10 8.289e-06 8.289e-06 8.289e-06 0.00% Gravity::actual_multilevel_solve() 1 8.223e-06 8.223e-06 8.223e-06 0.00% MLMG::computeMLResidual() 11 7.645e-06 7.645e-06 7.645e-06 0.00% AmrLevel::checkPointPost() 3 6.352e-06 6.352e-06 6.352e-06 0.00% MLMG::getGradSolution() 11 5.468e-06 5.468e-06 5.468e-06 0.00% Castro::expand_state() 10 5.232e-06 5.232e-06 5.232e-06 0.00% Amr::InitializeInit() 1 4.668e-06 4.668e-06 4.668e-06 0.00% Castro::retry_advance_ctu() 10 4.326e-06 4.326e-06 4.326e-06 0.00% Gravity::set_mass_offset() 11 4.213e-06 4.213e-06 4.213e-06 0.00% Castro::post_init() 1 3.82e-06 3.82e-06 3.82e-06 0.00% MLMG::MLRhsNormInf() 11 3.789e-06 3.789e-06 3.789e-06 0.00% MLMG::MLResNormInf() 11 3.509e-06 3.509e-06 3.509e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.919e-06 2.919e-06 2.919e-06 0.00% Castro::computeInitialDt() 2 2.731e-06 2.731e-06 2.731e-06 0.00% Castro::FluxRegCrseInit 10 2.599e-06 2.599e-06 2.599e-06 0.00% Amr::init() 1 2.472e-06 2.472e-06 2.472e-06 0.00% Castro::FluxRegFineAdd() 10 2.151e-06 2.151e-06 2.151e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.901e-06 1.901e-06 1.901e-06 0.00% AmrLevel::checkPointPre() 3 1.643e-06 1.643e-06 1.643e-06 0.00% Castro::post_regrid() 1 1.078e-06 1.078e-06 1.078e-06 0.00% Amr::initialInit() 1 9.89e-07 9.89e-07 9.89e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8955 0.8955 0.8955 100.00% Amr::coarseTimeStep() 10 0.7241 0.7241 0.7241 80.85% Amr::timeStep() 10 0.6059 0.6059 0.6059 67.66% Castro::advance() 10 0.5952 0.5952 0.5952 66.46% Castro::subcycle_advance_ctu() 10 0.5814 0.5814 0.5814 64.92% Castro::do_advance_ctu() 10 0.5812 0.5812 0.5812 64.90% Gravity::solve_phi_with_mlmg() 11 0.2773 0.2773 0.2773 30.97% Gravity::actual_solve_with_mlmg() 11 0.2704 0.2704 0.2704 30.19% Castro::construct_ctu_hydro_source() 10 0.2594 0.2594 0.2594 28.97% Castro::construct_new_gravity() 10 0.2533 0.2533 0.2533 28.29% MLMG::solve() 11 0.2501 0.2501 0.2501 27.93% Gravity::solve_for_phi() 10 0.2382 0.2382 0.2382 26.60% MLMG::oneIter() 82 0.2361 0.2361 0.2361 26.37% MLMG::mgVcycle() 82 0.2324 0.2324 0.2324 25.96% VisMF::Write(FabArray) 11 0.2317 0.2317 0.2317 25.88% Amr::checkPoint() 3 0.1726 0.1726 0.1726 19.28% AmrLevel::checkPoint() 3 0.1686 0.1686 0.1686 18.83% StateData::checkPoint() 12 0.1686 0.1686 0.1686 18.82% Amr::init() 1 0.1376 0.1376 0.1376 15.37% MLCellLinOp::smooth() 1640 0.1153 0.1153 0.1153 12.87% MLCellLinOp::applyBC() 4433 0.1083 0.1083 0.1083 12.10% MLMG::mgVcycle_bottom 82 0.07099 0.07099 0.07099 7.93% MLMG::actualBottomSolve() 82 0.07096 0.07096 0.07096 7.92% MLCGSolver::bicgstab 82 0.07028 0.07028 0.07028 7.85% Amr::writePlotFile() 2 0.0662 0.0662 0.0662 7.39% Castro::clean_state() 62 0.05297 0.05297 0.05297 5.92% Amr::initialInit() 1 0.04663 0.04663 0.04663 5.21% AmrLevel::FillPatch() 41 0.04591 0.04591 0.04591 5.13% Amr::FinalizeInit() 1 0.04263 0.04263 0.04263 4.76% FillPatchIterator::Initialize 41 0.04178 0.04178 0.04178 4.67% Castro::post_init() 1 0.04137 0.04137 0.04137 4.62% FillPatchIterator::FillFromLevel0() 41 0.04027 0.04027 0.04027 4.50% FillPatchSingleLevel 41 0.04022 0.04022 0.04022 4.49% Gravity::multilevel_solve_for_new_phi() 1 0.03952 0.03952 0.03952 4.41% Gravity::actual_multilevel_solve() 1 0.0395 0.0395 0.0395 4.41% StateDataPhysBCFunct::() 41 0.03616 0.03616 0.03616 4.04% MLCellLinOp::apply() 1142 0.03544 0.03544 0.03544 3.96% MLMG::mgVcycle_down::0 82 0.03411 0.03411 0.03411 3.81% FabArray::FillBoundary() 4023 0.03361 0.03361 0.03361 3.75% FillBoundary_nowait() 4023 0.03281 0.03281 0.03281 3.66% MLPoisson::Fsmooth() 3280 0.03132 0.03132 0.03132 3.50% MLMG::mgVcycle_up::0 82 0.02584 0.02584 0.02584 2.89% StateData::FillBoundary(geom) 328 0.02455 0.02455 0.02455 2.74% MLCellLinOp::correctionResidual() 492 0.02178 0.02178 0.02178 2.43% Castro::normalize_species() 62 0.01996 0.01996 0.01996 2.23% Castro::initialize_do_advance() 10 0.0199 0.0199 0.0199 2.22% amrex::Dot() 1114 0.01985 0.01985 0.01985 2.22% Castro::computeTemp() 63 0.01945 0.01945 0.01945 2.17% MLMG:computeResOfCorrection() 410 0.01924 0.01924 0.01924 2.15% Castro::do_old_sources() 10 0.0182 0.0182 0.0182 2.03% Gravity::get_new_grav_vector() 11 0.01665 0.01665 0.01665 1.86% MLPoisson::define() 11 0.01606 0.01606 0.01606 1.79% MLMG::mgVcycle_down::1 82 0.01539 0.01539 0.01539 1.72% Castro::construct_old_gravity() 10 0.01514 0.01514 0.01514 1.69% Gravity::get_old_grav_vector() 10 0.01513 0.01513 0.01513 1.69% amrex::Copy() 1029 0.01451 0.01451 0.01451 1.62% MLMG::mgVcycle_down::2 82 0.01426 0.01426 0.01426 1.59% FabArray::ParallelCopy() 861 0.01407 0.01407 0.01407 1.57% MLMG::mgVcycle_down::3 82 0.01394 0.01394 0.01394 1.56% FabArray::norminf() 743 0.01387 0.01387 0.01387 1.55% FabArray::ParallelCopy_nowait() 861 0.01384 0.01384 0.01384 1.55% MLMG::mgVcycle_down::4 82 0.01371 0.01371 0.01371 1.53% Castro::initialize_advance() 10 0.01305 0.01305 0.01305 1.46% FabArray::setVal() 1144 0.01274 0.01274 0.01274 1.42% Castro::do_new_sources() 10 0.01197 0.01197 0.01197 1.34% MLCGSolver::ParallelAllReduce 1514 0.01194 0.01194 0.01194 1.33% MLMG::addInterpCorrection() 410 0.01154 0.01154 0.01154 1.29% MLMG::mgVcycle_up::1 82 0.01117 0.01117 0.01117 1.25% Castro::expand_state() 10 0.01116 0.01116 0.01116 1.25% MLMG::mgVcycle_up::4 82 0.01104 0.01104 0.01104 1.23% MLMG::mgVcycle_up::2 82 0.01095 0.01095 0.01095 1.22% MLCellLinOp::defineAuxData() 11 0.01093 0.01093 0.01093 1.22% amrex::average_down 410 0.0109 0.0109 0.0109 1.22% MLMG::mgVcycle_up::3 82 0.01068 0.01068 0.01068 1.19% Castro::post_timestep() 10 0.01059 0.01059 0.01059 1.18% Castro::enforce_min_density() 62 0.01044 0.01044 0.01044 1.17% MLPoisson::Fapply() 1142 0.01 0.01 0.01 1.12% FabArray::Saxpy() 813 0.007949 0.007949 0.007949 0.89% FabArray::Xpay() 821 0.007835 0.007835 0.007835 0.87% MLCellLinOp::solutionResidual() 93 0.007023 0.007023 0.007023 0.78% Gravity::fill_multipole_BCs() 11 0.006705 0.006705 0.006705 0.75% Castro::reset_internal_energy(MultiFab) 63 0.006394 0.006394 0.006394 0.71% MLMG::computeResidual() 82 0.006052 0.006052 0.006052 0.68% Castro::estTimeStep() 21 0.005421 0.005421 0.005421 0.61% MLCellLinOp::defineBC() 11 0.004685 0.004685 0.004685 0.52% MLMG::prepareForSolve() 11 0.004555 0.004555 0.004555 0.51% BndryData::define() 11 0.004473 0.004473 0.004473 0.50% amrex::Add() 164 0.004359 0.004359 0.004359 0.49% FabArray::LinComb() 557 0.004317 0.004317 0.004317 0.48% Amr::InitializeInit() 1 0.004001 0.004001 0.004001 0.45% Amr::defBaseLevel() 1 0.003996 0.003996 0.003996 0.45% Castro::enforce_speed_limit() 62 0.003709 0.003709 0.003709 0.41% Castro::initData() 1 0.003504 0.003504 0.003504 0.39% Castro::construct_new_source() 50 0.003204 0.003204 0.003204 0.36% Castro::construct_new_gravity_source() 10 0.003128 0.003128 0.003128 0.35% Castro::construct_old_source() 50 0.002703 0.002703 0.002703 0.30% Castro::construct_old_gravity_source() 10 0.002684 0.002684 0.002684 0.30% Castro::computeNewDt() 9 0.002323 0.002323 0.002323 0.26% Castro::finalize_do_advance() 10 0.00229 0.00229 0.00229 0.26% MLMG::ResNormInf() 93 0.002115 0.002115 0.002115 0.24% Castro::apply_source_to_state() 20 0.001833 0.001833 0.001833 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001661 0.001661 0.001661 0.19% Castro::reset_internal_energy(Fab) 504 0.001564 0.001564 0.001564 0.17% FabArrayBase::getCPC() 1323 0.001513 0.001513 0.001513 0.17% check_for_negative_density() 10 0.001462 0.001462 0.001462 0.16% MLMG::getGradSolution() 11 0.001377 0.001377 0.001377 0.15% MLCellLinOp::compGrad() 11 0.001372 0.001372 0.001372 0.15% MLCellLinOp::setLevelBC() 11 0.001357 0.001357 0.001357 0.15% FabArray::setDomainBndry() 41 0.001301 0.001301 0.001301 0.15% FabArray::mult() 43 0.0013 0.0013 0.0013 0.15% Castro::check_for_nan() 20 0.001213 0.001213 0.001213 0.14% MultiFab::contains_nan() 20 0.001201 0.001201 0.001201 0.13% MLPoisson::prepareForSolve() 11 0.001116 0.001116 0.001116 0.12% MLCellLinOp::prepareForSolve() 11 0.001101 0.001101 0.001101 0.12% Castro::post_regrid() 1 0.001087 0.001087 0.001087 0.12% MLMG::computeMLResidual() 11 0.001008 0.001008 0.001008 0.11% Castro::computeInitialDt() 2 0.0008654 0.0008654 0.0008654 0.10% Gravity::update_max_rhs() 11 0.0008229 0.0008229 0.0008229 0.09% FabArrayBase::CPC::define() 454 0.0007174 0.0007174 0.0007174 0.08% FabArrayBase::getFB() 4023 0.0006861 0.0006861 0.0006861 0.08% Castro::finalize_advance() 10 0.0005906 0.0005906 0.0005906 0.07% Amr::InitAmr() 1 0.0004797 0.0004797 0.0004797 0.05% Gravity::swapTimeLevels() 10 0.0004304 0.0004304 0.0004304 0.05% MLLinOp::define() 11 0.0004236 0.0004236 0.0004236 0.05% Castro::Castro() 1 0.0004226 0.0004226 0.0004226 0.05% MLLinOp::defineGrids() 11 0.0004135 0.0004135 0.0004135 0.05% MLMG::MLResNormInf() 11 0.0002814 0.0002814 0.0002814 0.03% MultiFab::max() 11 0.0002592 0.0002592 0.0002592 0.03% MLMG::MLRhsNormInf() 11 0.0002156 0.0002156 0.0002156 0.02% Castro::buildMetrics() 1 0.0001524 0.0001524 0.0001524 0.02% Castro::create_source_corrector() 10 0.0001239 0.0001239 0.0001239 0.01% FabArrayBase::FB::FB() 56 8.565e-05 8.565e-05 8.565e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.41e-05 5.41e-05 5.41e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.281e-05 5.281e-05 5.281e-05 0.01% makeSFC 55 3.99e-05 3.99e-05 3.99e-05 0.00% Castro::swap_state_time_levels() 10 3.842e-05 3.842e-05 3.842e-05 0.00% StateData::define() 4 3.63e-05 3.63e-05 3.63e-05 0.00% Castro::enforce_consistent_e() 1 3.222e-05 3.222e-05 3.222e-05 0.00% Amr::writeSmallPlotFile() 1 2.553e-05 2.553e-05 2.553e-05 0.00% Castro::initMFs() 1 2.308e-05 2.308e-05 2.308e-05 0.00% DistributionMapping::Distribute() 56 1.537e-05 1.537e-05 1.537e-05 0.00% Amr::initSubcycle() 1 8.825e-06 8.825e-06 8.825e-06 0.00% AmrLevel::checkPointPost() 3 6.352e-06 6.352e-06 6.352e-06 0.00% Castro::retry_advance_ctu() 10 4.326e-06 4.326e-06 4.326e-06 0.00% Gravity::set_mass_offset() 11 4.213e-06 4.213e-06 4.213e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.097e-06 4.097e-06 4.097e-06 0.00% Castro::FluxRegCrseInit 10 2.599e-06 2.599e-06 2.599e-06 0.00% Castro::FluxRegFineAdd() 10 2.151e-06 2.151e-06 2.151e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.901e-06 1.901e-06 1.901e-06 0.00% AmrLevel::checkPointPre() 3 1.643e-06 1.643e-06 1.643e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 135 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 996 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2077 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3437 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 193 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7528 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1756 B 2048 KiB Gravity::solve_for_phi() 80 80 544 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 90 KiB 2048 KiB BndryData::define() 1056 1056 313 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 199 KiB 671 KiB Castro::estTimeStep() 21 21 2953 B 480 KiB VisMF::Write(FabArray) 656 656 3303 B 320 KiB Castro::normalize_species() 62 62 7263 B 320 KiB amrex::average_down 1067 1067 1230 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1117 B 257 KiB amrex::Dot() 1360 1360 3269 B 160 KiB FabArray::norminf() 907 907 2288 B 160 KiB check_for_negative_density() 10 10 257 B 160 KiB Castro::initData() 1 1 26 B 160 KiB MultiFab::max() 11 11 44 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3360 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 315 B 9648 B MLCellLinOp::applyBC() 8866 8866 217 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 114 B 1472 B MLCellLinOp::defineBC() 66 66 408 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 605 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 596 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3360 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 315 B 9648 B MLCellLinOp::applyBC() 4433 4433 215 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3855 B 6144 B Gravity::get_new_grav_vector() 3 3 2913 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 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 286 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): 2422 [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-17-g5117d21af790) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-17-g5117d21af790) initialized Starting run at 08:43:23 UTC on 2023-07-13. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-17-g5117d21af Microphysics git describe: 23.07-25-ge5c0f75c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.495293374 Restart time = 0.045626798 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.048151012 [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.053418165 [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.078234892 [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.078115327 [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.053993435 [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.03272793 seconds Ending run at 08:43:24 UTC on 2023-07-13. Run time = 0.391235553 Run time without initialization = 0.345048876 Average number of zones advanced per microsecond: 3.799 Average number of zones advanced per microsecond per rank: 3.799 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3913 ... 0.3913 ... 0.3913 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1306 0.1306 0.1306 33.38% VisMF::Read() 3 0.03942 0.03942 0.03942 10.08% MLCellLinOp::applyBC() 1946 0.03256 0.03256 0.03256 8.32% VisMF::Write(FabArray) 1 0.0311 0.0311 0.0311 7.95% MLPoisson::Fsmooth() 1440 0.01361 0.01361 0.01361 3.48% FillBoundary_nowait() 1766 0.01259 0.01259 0.01259 3.22% StateData::FillBoundary(geom) 160 0.01204 0.01204 0.01204 3.08% Castro::normalize_species() 30 0.009319 0.009319 0.009319 2.38% amrex::Dot() 484 0.008497 0.008497 0.008497 2.17% Castro::computeTemp() 30 0.006937 0.006937 0.006937 1.77% amrex::Copy() 463 0.006849 0.006849 0.006849 1.75% FabArray::setVal() 537 0.006075 0.006075 0.006075 1.55% FabArray::norminf() 326 0.005988 0.005988 0.005988 1.53% FabArray::ParallelCopy_nowait() 380 0.005961 0.005961 0.005961 1.52% MLCellLinOp::defineAuxData() 6 0.005185 0.005185 0.005185 1.33% Castro::enforce_min_density() 30 0.004964 0.004964 0.004964 1.27% StateDataPhysBCFunct::() 20 0.004656 0.004656 0.004656 1.19% MLPoisson::Fapply() 500 0.004338 0.004338 0.004338 1.11% FabArray::Saxpy() 355 0.003517 0.003517 0.003517 0.90% FabArray::Xpay() 361 0.003385 0.003385 0.003385 0.87% Gravity::fill_multipole_BCs() 6 0.003373 0.003373 0.003373 0.86% Castro::estTimeStep() 10 0.003127 0.003127 0.003127 0.80% MLMG::addInterpCorrection() 180 0.002875 0.002875 0.002875 0.73% amrex::average_down 180 0.002575 0.002575 0.002575 0.66% Amr::restart() 1 0.002494 0.002494 0.002494 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002051 0.002051 0.002051 0.52% BndryData::define() 6 0.001935 0.001935 0.001935 0.49% FabArray::LinComb() 242 0.001839 0.001839 0.001839 0.47% amrex::Add() 72 0.001834 0.001834 0.001834 0.47% Castro::construct_new_gravity_source() 5 0.001565 0.001565 0.001565 0.40% Amr::writePlotFile() 1 0.001462 0.001462 0.001462 0.37% Castro::construct_old_gravity_source() 5 0.00138 0.00138 0.00138 0.35% Castro::subcycle_advance_ctu() 5 0.001235 0.001235 0.001235 0.32% MLCGSolver::bicgstab 36 0.0009651 0.0009651 0.0009651 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009101 0.0009101 0.0009101 0.23% Castro::reset_internal_energy(Fab) 240 0.0008443 0.0008443 0.0008443 0.22% Gravity::actual_solve_with_mlmg() 6 0.0007868 0.0007868 0.0007868 0.20% MLCellLinOp::setLevelBC() 6 0.0007441 0.0007441 0.0007441 0.19% check_for_negative_density() 5 0.0007082 0.0007082 0.0007082 0.18% Castro::do_old_sources() 5 0.0006425 0.0006425 0.0006425 0.16% FabArray::mult() 22 0.0006407 0.0006407 0.0006407 0.16% FabArray::setDomainBndry() 20 0.000635 0.000635 0.000635 0.16% MLCellLinOp::prepareForSolve() 6 0.0006002 0.0006002 0.0006002 0.15% MultiFab::contains_nan() 10 0.0005842 0.0005842 0.0005842 0.15% MLCellLinOp::smooth() 720 0.0005341 0.0005341 0.0005341 0.14% MLCellLinOp::compGrad() 6 0.0004878 0.0004878 0.0004878 0.12% MLMG::prepareForSolve() 6 0.0004762 0.0004762 0.0004762 0.12% Castro::enforce_speed_limit() 30 0.0004482 0.0004482 0.0004482 0.11% FabArrayBase::CPC::define() 244 0.0004255 0.0004255 0.0004255 0.11% Amr::InitAmr() 1 0.0003861 0.0003861 0.0003861 0.10% FabArrayBase::getCPC() 632 0.0003678 0.0003678 0.0003678 0.09% FabArray::FillBoundary() 1766 0.0003531 0.0003531 0.0003531 0.09% main() 1 0.0002661 0.0002661 0.0002661 0.07% FabArrayBase::getFB() 1766 0.000259 0.000259 0.000259 0.07% Gravity::get_old_grav_vector() 5 0.0002566 0.0002566 0.0002566 0.07% Gravity::get_new_grav_vector() 5 0.0002321 0.0002321 0.0002321 0.06% MLLinOp::defineGrids() 6 0.0002026 0.0002026 0.0002026 0.05% MLCellLinOp::apply() 500 0.0002024 0.0002024 0.0002024 0.05% Amr::coarseTimeStep() 5 0.0001664 0.0001664 0.0001664 0.04% AmrLevel::FillPatch() 20 0.0001642 0.0001642 0.0001642 0.04% MLMG::mgVcycle() 36 0.0001605 0.0001605 0.0001605 0.04% MLCGSolver::ParallelAllReduce 659 0.0001352 0.0001352 0.0001352 0.03% MultiFab::max() 6 0.0001342 0.0001342 0.0001342 0.03% MLCellLinOp::defineBC() 6 0.0001187 0.0001187 0.0001187 0.03% FabArray::ParallelCopy() 380 0.0001075 0.0001075 0.0001075 0.03% FillPatchIterator::Initialize 20 0.000103 0.000103 0.000103 0.03% MLCellLinOp::correctionResidual() 216 9.95e-05 9.95e-05 9.95e-05 0.03% Amr::timeStep() 5 9.585e-05 9.585e-05 9.585e-05 0.02% Castro::create_source_corrector() 5 8.267e-05 8.267e-05 8.267e-05 0.02% AmrLevel::restart() 1 7.705e-05 7.705e-05 7.705e-05 0.02% Gravity::update_max_rhs() 6 6.681e-05 6.681e-05 6.681e-05 0.02% Castro::do_new_sources() 5 6.402e-05 6.402e-05 6.402e-05 0.02% Castro::finalize_do_advance() 5 6.363e-05 6.363e-05 6.363e-05 0.02% StateData::restartDoit() 4 6.277e-05 6.277e-05 6.277e-05 0.02% FabArrayBase::FB::FB() 26 5.939e-05 5.939e-05 5.939e-05 0.02% MLMG:computeResOfCorrection() 180 5.317e-05 5.317e-05 5.317e-05 0.01% Gravity::solve_for_phi() 5 5.185e-05 5.185e-05 5.185e-05 0.01% Castro::construct_new_source() 25 4.409e-05 4.409e-05 4.409e-05 0.01% Castro::finalize_advance() 5 4.212e-05 4.212e-05 4.212e-05 0.01% MLMG::actualBottomSolve() 36 4.087e-05 4.087e-05 4.087e-05 0.01% Castro::clean_state() 30 4.068e-05 4.068e-05 4.068e-05 0.01% MLMG::mgVcycle_down::2 36 3.892e-05 3.892e-05 3.892e-05 0.01% MLMG::mgVcycle_down::0 36 3.825e-05 3.825e-05 3.825e-05 0.01% Castro::initialize_advance() 5 3.643e-05 3.643e-05 3.643e-05 0.01% MLMG::mgVcycle_down::1 36 3.641e-05 3.641e-05 3.641e-05 0.01% MLMG::mgVcycle_down::4 36 3.474e-05 3.474e-05 3.474e-05 0.01% Castro::advance() 5 3.375e-05 3.375e-05 3.375e-05 0.01% MLMG::mgVcycle_down::3 36 3.374e-05 3.374e-05 3.374e-05 0.01% MLMG::solve() 6 3.37e-05 3.37e-05 3.37e-05 0.01% Castro::post_timestep() 5 3.258e-05 3.258e-05 3.258e-05 0.01% MLMG::mgVcycle_up::4 36 3.161e-05 3.161e-05 3.161e-05 0.01% Castro::initialize_do_advance() 5 2.855e-05 2.855e-05 2.855e-05 0.01% Castro::buildMetrics() 1 2.739e-05 2.739e-05 2.739e-05 0.01% Castro::initMFs() 1 2.623e-05 2.623e-05 2.623e-05 0.01% Amr::writeSmallPlotFile() 1 2.605e-05 2.605e-05 2.605e-05 0.01% Castro::swap_state_time_levels() 5 2.391e-05 2.391e-05 2.391e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.295e-05 2.295e-05 2.295e-05 0.01% Castro::do_advance_ctu() 5 2.294e-05 2.294e-05 2.294e-05 0.01% MLMG::oneIter() 36 2.246e-05 2.246e-05 2.246e-05 0.01% MLCellLinOp::solutionResidual() 42 2.168e-05 2.168e-05 2.168e-05 0.01% MLMG::mgVcycle_up::3 36 2.166e-05 2.166e-05 2.166e-05 0.01% MLMG::mgVcycle_up::0 36 2.16e-05 2.16e-05 2.16e-05 0.01% MLMG::mgVcycle_up::2 36 2.084e-05 2.084e-05 2.084e-05 0.01% MLMG::mgVcycle_up::1 36 2.01e-05 2.01e-05 2.01e-05 0.01% Castro::post_restart() 1 2.006e-05 2.006e-05 2.006e-05 0.01% MLMG::mgVcycle_bottom 36 1.7e-05 1.7e-05 1.7e-05 0.00% MLMG::ResNormInf() 42 1.666e-05 1.666e-05 1.666e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.603e-05 1.603e-05 1.603e-05 0.00% FillPatchSingleLevel 20 1.595e-05 1.595e-05 1.595e-05 0.00% MLPoisson::define() 6 1.541e-05 1.541e-05 1.541e-05 0.00% MLMG::computeResidual() 36 1.308e-05 1.308e-05 1.308e-05 0.00% makeSFC 30 1.299e-05 1.299e-05 1.299e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.174e-05 1.174e-05 1.174e-05 0.00% Castro::construct_new_gravity() 5 1.148e-05 1.148e-05 1.148e-05 0.00% Castro::construct_old_source() 25 1.017e-05 1.017e-05 1.017e-05 0.00% MLPoisson::prepareForSolve() 6 1.01e-05 1.01e-05 1.01e-05 0.00% DistributionMapping::Distribute() 31 8.781e-06 8.781e-06 8.781e-06 0.00% Amr::initSubcycle() 1 8.578e-06 8.578e-06 8.578e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.367e-06 7.367e-06 7.367e-06 0.00% Gravity::actual_multilevel_solve() 1 7.27e-06 7.27e-06 7.27e-06 0.00% Castro::construct_old_gravity() 5 5.939e-06 5.939e-06 5.939e-06 0.00% Castro::check_for_nan() 10 5.709e-06 5.709e-06 5.709e-06 0.00% Castro::apply_source_to_state() 10 5.436e-06 5.436e-06 5.436e-06 0.00% MLLinOp::define() 6 5.404e-06 5.404e-06 5.404e-06 0.00% MLMG::computeMLResidual() 6 4.22e-06 4.22e-06 4.22e-06 0.00% Gravity::swapTimeLevels() 5 4.164e-06 4.164e-06 4.164e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.552e-06 3.552e-06 3.552e-06 0.00% Castro::computeNewDt() 5 3.23e-06 3.23e-06 3.23e-06 0.00% MLMG::getGradSolution() 6 2.981e-06 2.981e-06 2.981e-06 0.00% Castro::retry_advance_ctu() 5 2.972e-06 2.972e-06 2.972e-06 0.00% Castro::expand_state() 5 2.645e-06 2.645e-06 2.645e-06 0.00% Gravity::set_mass_offset() 6 2.345e-06 2.345e-06 2.345e-06 0.00% MLMG::MLResNormInf() 6 2.313e-06 2.313e-06 2.313e-06 0.00% Castro::FluxRegCrseInit 5 2.313e-06 2.313e-06 2.313e-06 0.00% MLMG::MLRhsNormInf() 6 2.022e-06 2.022e-06 2.022e-06 0.00% Castro::FluxRegFineAdd() 5 1.771e-06 1.771e-06 1.771e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.026e-06 1.026e-06 1.026e-06 0.00% Amr::init() 1 9.57e-07 9.57e-07 9.57e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3912 0.3912 0.3912 100.00% Amr::coarseTimeStep() 5 0.3121 0.3121 0.3121 79.76% Amr::timeStep() 5 0.3097 0.3097 0.3097 79.17% Castro::advance() 5 0.3055 0.3055 0.3055 78.08% Castro::subcycle_advance_ctu() 5 0.2983 0.2983 0.2983 76.25% Castro::do_advance_ctu() 5 0.2971 0.2971 0.2971 75.94% Castro::construct_ctu_hydro_source() 5 0.1357 0.1357 0.1357 34.69% Castro::construct_new_gravity() 5 0.1272 0.1272 0.1272 32.51% Gravity::solve_phi_with_mlmg() 6 0.1225 0.1225 0.1225 31.30% Gravity::solve_for_phi() 5 0.1194 0.1194 0.1194 30.53% Gravity::actual_solve_with_mlmg() 6 0.1189 0.1189 0.1189 30.38% MLMG::solve() 6 0.1078 0.1078 0.1078 27.55% MLMG::oneIter() 36 0.1011 0.1011 0.1011 25.83% MLMG::mgVcycle() 36 0.09952 0.09952 0.09952 25.44% MLCellLinOp::smooth() 720 0.04894 0.04894 0.04894 12.51% MLCellLinOp::applyBC() 1946 0.04582 0.04582 0.04582 11.71% Amr::init() 1 0.04567 0.04567 0.04567 11.67% Amr::restart() 1 0.04567 0.04567 0.04567 11.67% AmrLevel::restart() 1 0.03962 0.03962 0.03962 10.13% StateData::restartDoit() 4 0.03954 0.03954 0.03954 10.11% VisMF::Read() 3 0.03942 0.03942 0.03942 10.08% Amr::writePlotFile() 1 0.03282 0.03282 0.03282 8.39% VisMF::Write(FabArray) 1 0.0311 0.0311 0.0311 7.95% MLMG::mgVcycle_bottom 36 0.03056 0.03056 0.03056 7.81% MLMG::actualBottomSolve() 36 0.03054 0.03054 0.03054 7.81% MLCGSolver::bicgstab 36 0.03024 0.03024 0.03024 7.73% Castro::clean_state() 30 0.0246 0.0246 0.0246 6.29% AmrLevel::FillPatch() 20 0.02154 0.02154 0.02154 5.50% FillPatchIterator::Initialize 20 0.01949 0.01949 0.01949 4.98% FillPatchIterator::FillFromLevel0() 20 0.01875 0.01875 0.01875 4.79% FillPatchSingleLevel 20 0.01873 0.01873 0.01873 4.79% StateDataPhysBCFunct::() 20 0.0167 0.0167 0.0167 4.27% MLCellLinOp::apply() 500 0.01531 0.01531 0.01531 3.91% MLMG::mgVcycle_down::0 36 0.01413 0.01413 0.01413 3.61% MLPoisson::Fsmooth() 1440 0.01361 0.01361 0.01361 3.48% FabArray::FillBoundary() 1766 0.01326 0.01326 0.01326 3.39% FillBoundary_nowait() 1766 0.01291 0.01291 0.01291 3.30% StateData::FillBoundary(geom) 160 0.01204 0.01204 0.01204 3.08% MLMG::mgVcycle_up::0 36 0.01068 0.01068 0.01068 2.73% Castro::computeTemp() 30 0.009833 0.009833 0.009833 2.51% Castro::initialize_do_advance() 5 0.009708 0.009708 0.009708 2.48% Castro::do_old_sources() 5 0.009401 0.009401 0.009401 2.40% Castro::normalize_species() 30 0.009319 0.009319 0.009319 2.38% MLCellLinOp::correctionResidual() 216 0.009293 0.009293 0.009293 2.38% MLPoisson::define() 6 0.008805 0.008805 0.008805 2.25% amrex::Dot() 484 0.008497 0.008497 0.008497 2.17% MLMG:computeResOfCorrection() 180 0.008178 0.008178 0.008178 2.09% Gravity::get_new_grav_vector() 5 0.00765 0.00765 0.00765 1.96% Castro::construct_old_gravity() 5 0.007346 0.007346 0.007346 1.88% Gravity::get_old_grav_vector() 5 0.00734 0.00734 0.00734 1.88% amrex::Copy() 463 0.006849 0.006849 0.006849 1.75% Castro::initialize_advance() 5 0.006783 0.006783 0.006783 1.73% MLMG::mgVcycle_down::1 36 0.006646 0.006646 0.006646 1.70% FabArray::ParallelCopy() 380 0.006458 0.006458 0.006458 1.65% FabArray::ParallelCopy_nowait() 380 0.00635 0.00635 0.00635 1.62% Castro::do_new_sources() 5 0.006212 0.006212 0.006212 1.59% MLMG::mgVcycle_down::2 36 0.006203 0.006203 0.006203 1.59% FabArray::setVal() 537 0.006075 0.006075 0.006075 1.55% MLMG::mgVcycle_down::3 36 0.006056 0.006056 0.006056 1.55% FabArray::norminf() 326 0.005988 0.005988 0.005988 1.53% MLMG::mgVcycle_down::4 36 0.005987 0.005987 0.005987 1.53% MLCellLinOp::defineAuxData() 6 0.005939 0.005939 0.005939 1.52% MLCGSolver::ParallelAllReduce 659 0.005139 0.005139 0.005139 1.31% Castro::expand_state() 5 0.005119 0.005119 0.005119 1.31% MLMG::addInterpCorrection() 180 0.005091 0.005091 0.005091 1.30% Castro::enforce_min_density() 30 0.004964 0.004964 0.004964 1.27% MLMG::mgVcycle_up::1 36 0.00486 0.00486 0.00486 1.24% MLMG::mgVcycle_up::4 36 0.004823 0.004823 0.004823 1.23% amrex::average_down 180 0.004799 0.004799 0.004799 1.23% MLMG::mgVcycle_up::2 36 0.004754 0.004754 0.004754 1.21% MLMG::mgVcycle_up::3 36 0.004657 0.004657 0.004657 1.19% MLPoisson::Fapply() 500 0.004338 0.004338 0.004338 1.11% Castro::post_timestep() 5 0.004164 0.004164 0.004164 1.06% FabArray::Saxpy() 355 0.003517 0.003517 0.003517 0.90% Gravity::fill_multipole_BCs() 6 0.003506 0.003506 0.003506 0.90% FabArray::Xpay() 361 0.003385 0.003385 0.003385 0.87% Castro::post_restart() 1 0.003379 0.003379 0.003379 0.86% Gravity::multilevel_solve_for_new_phi() 1 0.003267 0.003267 0.003267 0.83% Gravity::actual_multilevel_solve() 1 0.003251 0.003251 0.003251 0.83% MLCellLinOp::solutionResidual() 42 0.003153 0.003153 0.003153 0.81% Castro::estTimeStep() 10 0.003127 0.003127 0.003127 0.80% Castro::reset_internal_energy(MultiFab) 30 0.002895 0.002895 0.002895 0.74% MLCellLinOp::defineBC() 6 0.002614 0.002614 0.002614 0.67% MLMG::computeResidual() 36 0.002611 0.002611 0.002611 0.67% BndryData::define() 6 0.002495 0.002495 0.002495 0.64% MLMG::prepareForSolve() 6 0.002469 0.002469 0.002469 0.63% Castro::computeNewDt() 5 0.002156 0.002156 0.002156 0.55% FabArray::LinComb() 242 0.001839 0.001839 0.001839 0.47% amrex::Add() 72 0.001834 0.001834 0.001834 0.47% Castro::construct_new_source() 25 0.001609 0.001609 0.001609 0.41% Castro::construct_new_gravity_source() 5 0.001565 0.001565 0.001565 0.40% Castro::construct_old_source() 25 0.00139 0.00139 0.00139 0.36% Castro::construct_old_gravity_source() 5 0.00138 0.00138 0.00138 0.35% Castro::finalize_do_advance() 5 0.001037 0.001037 0.001037 0.27% MLMG::ResNormInf() 42 0.0009247 0.0009247 0.0009247 0.24% Castro::apply_source_to_state() 10 0.0009158 0.0009158 0.0009158 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009101 0.0009101 0.0009101 0.23% Castro::reset_internal_energy(Fab) 240 0.0008443 0.0008443 0.0008443 0.22% FabArrayBase::getCPC() 632 0.0007934 0.0007934 0.0007934 0.20% MLMG::getGradSolution() 6 0.0007477 0.0007477 0.0007477 0.19% MLCellLinOp::compGrad() 6 0.0007447 0.0007447 0.0007447 0.19% MLCellLinOp::setLevelBC() 6 0.0007441 0.0007441 0.0007441 0.19% check_for_negative_density() 5 0.0007082 0.0007082 0.0007082 0.18% FabArray::mult() 22 0.0006407 0.0006407 0.0006407 0.16% FabArray::setDomainBndry() 20 0.000635 0.000635 0.000635 0.16% MLPoisson::prepareForSolve() 6 0.0006103 0.0006103 0.0006103 0.16% MLCellLinOp::prepareForSolve() 6 0.0006002 0.0006002 0.0006002 0.15% Castro::check_for_nan() 10 0.0005899 0.0005899 0.0005899 0.15% MultiFab::contains_nan() 10 0.0005842 0.0005842 0.0005842 0.15% MLMG::computeMLResidual() 6 0.0005602 0.0005602 0.0005602 0.14% Castro::enforce_speed_limit() 30 0.0004482 0.0004482 0.0004482 0.11% Gravity::update_max_rhs() 6 0.0004435 0.0004435 0.0004435 0.11% FabArrayBase::CPC::define() 244 0.0004255 0.0004255 0.0004255 0.11% Amr::InitAmr() 1 0.0003947 0.0003947 0.0003947 0.10% Castro::finalize_advance() 5 0.0003219 0.0003219 0.0003219 0.08% FabArrayBase::getFB() 1766 0.0003184 0.0003184 0.0003184 0.08% MLLinOp::define() 6 0.000237 0.000237 0.000237 0.06% MLLinOp::defineGrids() 6 0.0002316 0.0002316 0.0002316 0.06% Gravity::swapTimeLevels() 5 0.0002213 0.0002213 0.0002213 0.06% MLMG::MLResNormInf() 6 0.0001478 0.0001478 0.0001478 0.04% Castro::buildMetrics() 1 0.0001476 0.0001476 0.0001476 0.04% MultiFab::max() 6 0.0001342 0.0001342 0.0001342 0.03% MLMG::MLRhsNormInf() 6 0.0001135 0.0001135 0.0001135 0.03% Castro::create_source_corrector() 5 8.267e-05 8.267e-05 8.267e-05 0.02% FabArrayBase::FB::FB() 26 5.939e-05 5.939e-05 5.939e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.792e-05 2.792e-05 2.792e-05 0.01% Castro::initMFs() 1 2.623e-05 2.623e-05 2.623e-05 0.01% Amr::writeSmallPlotFile() 1 2.605e-05 2.605e-05 2.605e-05 0.01% Castro::swap_state_time_levels() 5 2.391e-05 2.391e-05 2.391e-05 0.01% makeSFC 30 2.055e-05 2.055e-05 2.055e-05 0.01% DistributionMapping::Distribute() 31 8.781e-06 8.781e-06 8.781e-06 0.00% Amr::initSubcycle() 1 8.578e-06 8.578e-06 8.578e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.778e-06 4.778e-06 4.778e-06 0.00% Castro::retry_advance_ctu() 5 2.972e-06 2.972e-06 2.972e-06 0.00% Gravity::set_mass_offset() 6 2.345e-06 2.345e-06 2.345e-06 0.00% Castro::FluxRegCrseInit 5 2.313e-06 2.313e-06 2.313e-06 0.00% Castro::FluxRegFineAdd() 5 1.771e-06 1.771e-06 1.771e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.026e-06 1.026e-06 1.026e-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 211 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 149 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 1061 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2345 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 6744 KiB 14 MiB MLMG::prepareForSolve() 361 361 3382 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 194 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 200 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6740 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2190 B 2048 KiB Gravity::solve_for_phi() 40 40 623 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 3811 B 480 KiB VisMF::Write(FabArray) 112 112 1243 B 320 KiB Castro::normalize_species() 30 30 7752 B 320 KiB amrex::average_down 469 469 1198 B 257 KiB MLMG::addInterpCorrection() 468 468 1121 B 257 KiB amrex::Dot() 592 592 3191 B 160 KiB FabArray::norminf() 398 398 2258 B 160 KiB check_for_negative_density() 5 5 286 B 160 KiB MultiFab::max() 6 6 52 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3290 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 279 B 9648 B MLCellLinOp::applyBC() 3892 3892 217 B 9344 B amrex::Copy() 56 56 5979 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 403 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1517 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 111 KiB 8192 KiB VisMF::Write(FabArray) 120 120 244 KiB 3584 KiB VisMF::Read() 24 24 195 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3290 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 279 B 9648 B MLCellLinOp::applyBC() 1946 1946 216 B 9328 B amrex::Copy() 56 56 5979 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2666 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 522 B 1296 B amrex::average_down 37 37 226 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): 2422 [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-17-g5117d21af790) finalized