Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-23-g02ac1f39bce4) initialized Starting run at 07:45:08 UTC on 2023-06-16. Successfully read inputs file ... Castro git describe: 23.06-20-g6a7d6484b AMReX git describe: 23.06-23-g02ac1f39b Microphysics git describe: 23.06-14-ga0d8db09 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.061572395 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034789681 seconds [Level 0 step 1] ADVANCE with dt = 4.541742215e-05 [Level 0 step 1] Advanced 262144 cells [STEP 1] Coarse TimeStep time: 0.048860902 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.050353399 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.075545388 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.076713858 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.063343567 [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.057770198 secs. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.073610223 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.073711166 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.053435435 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.046532344 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.058276997 [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.058052359 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033262991 seconds Ending run at 07:45:08 UTC on 2023-06-16. Run time = 0.915080013 Run time without initialization = 0.770216636 Average number of zones advanced per microsecond: 3.404 Average number of zones advanced per microsecond per rank: 3.404 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9151 ... 0.9151 ... 0.9151 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2575 0.2575 0.2575 28.14% VisMF::Write(FabArray) 11 0.2385 0.2385 0.2385 26.06% MLCellLinOp::applyBC() 4433 0.07529 0.07529 0.07529 8.23% MLPoisson::Fsmooth() 3280 0.03175 0.03175 0.03175 3.47% FillBoundary_nowait() 4023 0.03149 0.03149 0.03149 3.44% StateData::FillBoundary(geom) 328 0.02467 0.02467 0.02467 2.70% amrex::Dot() 1114 0.02009 0.02009 0.02009 2.20% Castro::normalize_species() 62 0.02006 0.02006 0.02006 2.19% amrex::Copy() 1029 0.01466 0.01466 0.01466 1.60% FabArray::norminf() 743 0.01396 0.01396 0.01396 1.53% Castro::computeTemp() 63 0.01372 0.01372 0.01372 1.50% FabArray::ParallelCopy_nowait() 861 0.01315 0.01315 0.01315 1.44% FabArray::setVal() 1144 0.013 0.013 0.013 1.42% StateDataPhysBCFunct::() 41 0.01238 0.01238 0.01238 1.35% MLPoisson::Fapply() 1142 0.01012 0.01012 0.01012 1.11% Castro::enforce_min_density() 62 0.01 0.01 0.01 1.09% MLCellLinOp::defineAuxData() 11 0.009455 0.009455 0.009455 1.03% FabArray::Saxpy() 813 0.007991 0.007991 0.007991 0.87% FabArray::Xpay() 821 0.007985 0.007985 0.007985 0.87% MLMG::addInterpCorrection() 410 0.006618 0.006618 0.006618 0.72% Gravity::fill_multipole_BCs() 11 0.006467 0.006467 0.006467 0.71% amrex::average_down 410 0.005976 0.005976 0.005976 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005159 0.005159 0.005159 0.56% Castro::estTimeStep() 21 0.005013 0.005013 0.005013 0.55% FabArray::LinComb() 557 0.004388 0.004388 0.004388 0.48% amrex::Add() 164 0.004381 0.004381 0.004381 0.48% Amr::checkPoint() 3 0.004061 0.004061 0.004061 0.44% Castro::enforce_speed_limit() 62 0.004035 0.004035 0.004035 0.44% BndryData::define() 11 0.003545 0.003545 0.003545 0.39% Castro::construct_new_gravity_source() 10 0.003187 0.003187 0.003187 0.35% Castro::construct_old_gravity_source() 10 0.00277 0.00277 0.00277 0.30% Amr::writePlotFile() 2 0.002433 0.002433 0.002433 0.27% MLCGSolver::bicgstab 82 0.002174 0.002174 0.002174 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001654 0.001654 0.001654 0.18% Gravity::actual_solve_with_mlmg() 11 0.001595 0.001595 0.001595 0.17% check_for_negative_density() 10 0.001559 0.001559 0.001559 0.17% Castro::reset_internal_energy(Fab) 504 0.001552 0.001552 0.001552 0.17% MLCellLinOp::setLevelBC() 11 0.001348 0.001348 0.001348 0.15% FabArray::mult() 43 0.001316 0.001316 0.001316 0.14% FabArray::setDomainBndry() 41 0.001304 0.001304 0.001304 0.14% MultiFab::contains_nan() 20 0.001203 0.001203 0.001203 0.13% Castro::initData() 1 0.001201 0.001201 0.001201 0.13% MLCellLinOp::smooth() 1640 0.001163 0.001163 0.001163 0.13% MLCellLinOp::prepareForSolve() 11 0.001142 0.001142 0.001142 0.12% MLCellLinOp::compGrad() 11 0.0009062 0.0009062 0.0009062 0.10% MLMG::prepareForSolve() 11 0.0008836 0.0008836 0.0008836 0.10% FabArray::FillBoundary() 4023 0.0008578 0.0008578 0.0008578 0.09% FabArrayBase::getCPC() 1323 0.0007616 0.0007616 0.0007616 0.08% FabArrayBase::CPC::define() 454 0.0006959 0.0006959 0.0006959 0.08% Gravity::get_new_grav_vector() 11 0.0006546 0.0006546 0.0006546 0.07% FabArrayBase::getFB() 4023 0.0006119 0.0006119 0.0006119 0.07% Gravity::get_old_grav_vector() 10 0.0005593 0.0005593 0.0005593 0.06% MLCellLinOp::apply() 1142 0.0004893 0.0004893 0.0004893 0.05% Amr::InitAmr() 1 0.0004796 0.0004796 0.0004796 0.05% MLLinOp::defineGrids() 11 0.0004443 0.0004443 0.0004443 0.05% Amr::coarseTimeStep() 10 0.0004396 0.0004396 0.0004396 0.05% MLMG::mgVcycle() 82 0.0003794 0.0003794 0.0003794 0.04% MLCGSolver::ParallelAllReduce 1514 0.000321 0.000321 0.000321 0.04% main() 1 0.0003086 0.0003086 0.0003086 0.03% MultiFab::max() 11 0.0002604 0.0002604 0.0002604 0.03% Castro::subcycle_advance_ctu() 10 0.0002503 0.0002503 0.0002503 0.03% FabArray::ParallelCopy() 861 0.000248 0.000248 0.000248 0.03% FillPatchIterator::Initialize 41 0.0002437 0.0002437 0.0002437 0.03% Amr::timeStep() 10 0.0002309 0.0002309 0.0002309 0.03% MLCellLinOp::defineBC() 11 0.0002239 0.0002239 0.0002239 0.02% MLCellLinOp::correctionResidual() 492 0.0002212 0.0002212 0.0002212 0.02% Castro::create_source_corrector() 10 0.0001778 0.0001778 0.0001778 0.02% StateData::checkPoint() 12 0.0001446 0.0001446 0.0001446 0.02% MLMG:computeResOfCorrection() 410 0.0001324 0.0001324 0.0001324 0.01% Gravity::solve_for_phi() 10 0.0001323 0.0001323 0.0001323 0.01% Gravity::update_max_rhs() 11 0.0001306 0.0001306 0.0001306 0.01% Castro::construct_new_source() 50 0.0001177 0.0001177 0.0001177 0.01% MLMG::actualBottomSolve() 82 0.0001 0.0001 0.0001 0.01% MLMG::mgVcycle_down::0 82 9.836e-05 9.836e-05 9.836e-05 0.01% Castro::advance() 10 9.526e-05 9.526e-05 9.526e-05 0.01% Castro::expand_state() 10 9.262e-05 9.262e-05 9.262e-05 0.01% FabArrayBase::FB::FB() 56 9.23e-05 9.23e-05 9.23e-05 0.01% Castro::do_old_sources() 10 9.104e-05 9.104e-05 9.104e-05 0.01% MLMG::mgVcycle_down::1 82 8.548e-05 8.548e-05 8.548e-05 0.01% MLMG::mgVcycle_down::2 82 8.374e-05 8.374e-05 8.374e-05 0.01% MLMG::solve() 11 8.206e-05 8.206e-05 8.206e-05 0.01% Castro::Castro() 1 8.177e-05 8.177e-05 8.177e-05 0.01% AmrLevel::checkPoint() 3 8.006e-05 8.006e-05 8.006e-05 0.01% MLMG::mgVcycle_down::3 82 7.891e-05 7.891e-05 7.891e-05 0.01% MLMG::mgVcycle_down::4 82 7.754e-05 7.754e-05 7.754e-05 0.01% Castro::initialize_advance() 10 7.659e-05 7.659e-05 7.659e-05 0.01% Castro::clean_state() 62 7.414e-05 7.414e-05 7.414e-05 0.01% MLMG::oneIter() 82 7.095e-05 7.095e-05 7.095e-05 0.01% Castro::finalize_advance() 10 7.002e-05 7.002e-05 7.002e-05 0.01% Castro::initialize_do_advance() 10 6.951e-05 6.951e-05 6.951e-05 0.01% MLMG::mgVcycle_up::4 82 6.276e-05 6.276e-05 6.276e-05 0.01% MLMG::mgVcycle_up::0 82 5.792e-05 5.792e-05 5.792e-05 0.01% MLMG::mgVcycle_up::1 82 5.211e-05 5.211e-05 5.211e-05 0.01% MLMG::mgVcycle_up::3 82 5.182e-05 5.182e-05 5.182e-05 0.01% MLCellLinOp::solutionResidual() 93 5.14e-05 5.14e-05 5.14e-05 0.01% Castro::swap_state_time_levels() 10 5.01e-05 5.01e-05 5.01e-05 0.01% MLMG::mgVcycle_up::2 82 4.949e-05 4.949e-05 4.949e-05 0.01% Castro::finalize_do_advance() 10 4.358e-05 4.358e-05 4.358e-05 0.00% StateData::define() 4 4.209e-05 4.209e-05 4.209e-05 0.00% Castro::do_advance_ctu() 10 4.051e-05 4.051e-05 4.051e-05 0.00% MLMG::ResNormInf() 93 3.728e-05 3.728e-05 3.728e-05 0.00% MLMG::mgVcycle_bottom 82 3.596e-05 3.596e-05 3.596e-05 0.00% Amr::FinalizeInit() 1 3.553e-05 3.553e-05 3.553e-05 0.00% MLMG::computeResidual() 82 3.468e-05 3.468e-05 3.468e-05 0.00% Castro::construct_new_gravity() 10 3.413e-05 3.413e-05 3.413e-05 0.00% FillPatchSingleLevel 41 3.277e-05 3.277e-05 3.277e-05 0.00% MLPoisson::define() 11 3.262e-05 3.262e-05 3.262e-05 0.00% Castro::enforce_consistent_e() 1 3.174e-05 3.174e-05 3.174e-05 0.00% Amr::defBaseLevel() 1 3.006e-05 3.006e-05 3.006e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.823e-05 2.823e-05 2.823e-05 0.00% makeSFC 55 2.661e-05 2.661e-05 2.661e-05 0.00% Castro::initMFs() 1 2.619e-05 2.619e-05 2.619e-05 0.00% Amr::writeSmallPlotFile() 1 2.617e-05 2.617e-05 2.617e-05 0.00% Castro::do_new_sources() 10 2.271e-05 2.271e-05 2.271e-05 0.00% Castro::buildMetrics() 1 2.075e-05 2.075e-05 2.075e-05 0.00% Castro::construct_old_source() 50 1.996e-05 1.996e-05 1.996e-05 0.00% DistributionMapping::Distribute() 56 1.838e-05 1.838e-05 1.838e-05 0.00% MLLinOp::define() 11 1.809e-05 1.809e-05 1.809e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.739e-05 1.739e-05 1.739e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.576e-05 1.576e-05 1.576e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.562e-05 1.562e-05 1.562e-05 0.00% MLPoisson::prepareForSolve() 11 1.54e-05 1.54e-05 1.54e-05 0.00% Castro::check_for_nan() 20 1.394e-05 1.394e-05 1.394e-05 0.00% Castro::apply_source_to_state() 20 1.203e-05 1.203e-05 1.203e-05 0.00% MLMG::computeMLResidual() 11 1.188e-05 1.188e-05 1.188e-05 0.00% Castro::post_init() 1 1.156e-05 1.156e-05 1.156e-05 0.00% Castro::construct_old_gravity() 10 1.078e-05 1.078e-05 1.078e-05 0.00% Gravity::swapTimeLevels() 10 1.033e-05 1.033e-05 1.033e-05 0.00% Amr::initSubcycle() 1 9.686e-06 9.686e-06 9.686e-06 0.00% Castro::post_timestep() 10 8.762e-06 8.762e-06 8.762e-06 0.00% Gravity::actual_multilevel_solve() 1 8.662e-06 8.662e-06 8.662e-06 0.00% MLMG::getGradSolution() 11 7.565e-06 7.565e-06 7.565e-06 0.00% Castro::computeNewDt() 9 6.584e-06 6.584e-06 6.584e-06 0.00% AmrLevel::checkPointPost() 3 6.449e-06 6.449e-06 6.449e-06 0.00% Gravity::set_mass_offset() 11 5.594e-06 5.594e-06 5.594e-06 0.00% Castro::retry_advance_ctu() 10 5.429e-06 5.429e-06 5.429e-06 0.00% Amr::InitializeInit() 1 4.62e-06 4.62e-06 4.62e-06 0.00% MLMG::MLResNormInf() 11 4.581e-06 4.581e-06 4.581e-06 0.00% MLMG::MLRhsNormInf() 11 4.112e-06 4.112e-06 4.112e-06 0.00% Castro::computeInitialDt() 2 3.449e-06 3.449e-06 3.449e-06 0.00% Amr::init() 1 3.32e-06 3.32e-06 3.32e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.26e-06 3.26e-06 3.26e-06 0.00% Castro::FluxRegCrseInit 10 3.001e-06 3.001e-06 3.001e-06 0.00% AmrLevel::checkPointPre() 3 2.282e-06 2.282e-06 2.282e-06 0.00% Castro::FluxRegFineAdd() 10 2.123e-06 2.123e-06 2.123e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.836e-06 1.836e-06 1.836e-06 0.00% Amr::initialInit() 1 1.665e-06 1.665e-06 1.665e-06 0.00% Castro::post_regrid() 1 1.081e-06 1.081e-06 1.081e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9151 0.9151 0.9151 100.00% Amr::coarseTimeStep() 10 0.7367 0.7367 0.7367 80.50% Amr::timeStep() 10 0.6174 0.6174 0.6174 67.47% Castro::advance() 10 0.6071 0.6071 0.6071 66.34% Castro::subcycle_advance_ctu() 10 0.5925 0.5925 0.5925 64.74% Castro::do_advance_ctu() 10 0.5922 0.5922 0.5922 64.72% Gravity::solve_phi_with_mlmg() 11 0.2796 0.2796 0.2796 30.55% Gravity::actual_solve_with_mlmg() 11 0.2727 0.2727 0.2727 29.79% Castro::construct_ctu_hydro_source() 10 0.2675 0.2675 0.2675 29.23% Castro::construct_new_gravity() 10 0.2554 0.2554 0.2554 27.91% MLMG::solve() 11 0.2523 0.2523 0.2523 27.57% Gravity::solve_for_phi() 10 0.2398 0.2398 0.2398 26.20% VisMF::Write(FabArray) 11 0.2385 0.2385 0.2385 26.06% MLMG::oneIter() 82 0.238 0.238 0.238 26.01% MLMG::mgVcycle() 82 0.2343 0.2343 0.2343 25.60% Amr::checkPoint() 3 0.1775 0.1775 0.1775 19.40% AmrLevel::checkPoint() 3 0.1735 0.1735 0.1735 18.96% StateData::checkPoint() 12 0.1734 0.1734 0.1734 18.95% Amr::init() 1 0.1442 0.1442 0.1442 15.76% MLCellLinOp::smooth() 1640 0.1157 0.1157 0.1157 12.65% MLCellLinOp::applyBC() 4433 0.1083 0.1083 0.1083 11.84% MLMG::mgVcycle_bottom 82 0.07185 0.07185 0.07185 7.85% MLMG::actualBottomSolve() 82 0.07181 0.07181 0.07181 7.85% MLCGSolver::bicgstab 82 0.07112 0.07112 0.07112 7.77% Amr::writePlotFile() 2 0.06819 0.06819 0.06819 7.45% Castro::clean_state() 62 0.05382 0.05382 0.05382 5.88% Amr::initialInit() 1 0.04772 0.04772 0.04772 5.21% Amr::FinalizeInit() 1 0.0436 0.0436 0.0436 4.76% FillPatchIterator::Initialize 41 0.04273 0.04273 0.04273 4.67% Castro::post_init() 1 0.04227 0.04227 0.04227 4.62% FillPatchSingleLevel 41 0.04119 0.04119 0.04119 4.50% Gravity::multilevel_solve_for_new_phi() 1 0.04025 0.04025 0.04025 4.40% Gravity::actual_multilevel_solve() 1 0.04024 0.04024 0.04024 4.40% StateDataPhysBCFunct::() 41 0.03705 0.03705 0.03705 4.05% MLCellLinOp::apply() 1142 0.03566 0.03566 0.03566 3.90% MLMG::mgVcycle_down::0 82 0.03388 0.03388 0.03388 3.70% FabArray::FillBoundary() 4023 0.03306 0.03306 0.03306 3.61% FillBoundary_nowait() 4023 0.0322 0.0322 0.0322 3.52% MLPoisson::Fsmooth() 3280 0.03175 0.03175 0.03175 3.47% MLMG::mgVcycle_up::0 82 0.02565 0.02565 0.02565 2.80% StateData::FillBoundary(geom) 328 0.02467 0.02467 0.02467 2.70% MLCellLinOp::correctionResidual() 492 0.02191 0.02191 0.02191 2.39% Castro::initialize_do_advance() 10 0.02155 0.02155 0.02155 2.36% Castro::computeTemp() 63 0.02043 0.02043 0.02043 2.23% amrex::Dot() 1114 0.02009 0.02009 0.02009 2.20% Castro::normalize_species() 62 0.02006 0.02006 0.02006 2.19% MLMG:computeResOfCorrection() 410 0.01934 0.01934 0.01934 2.11% Castro::do_old_sources() 10 0.01805 0.01805 0.01805 1.97% Gravity::get_new_grav_vector() 11 0.01736 0.01736 0.01736 1.90% MLPoisson::define() 11 0.01606 0.01606 0.01606 1.76% MLMG::mgVcycle_down::1 82 0.01559 0.01559 0.01559 1.70% Castro::construct_old_gravity() 10 0.01478 0.01478 0.01478 1.62% Gravity::get_old_grav_vector() 10 0.01477 0.01477 0.01477 1.61% amrex::Copy() 1029 0.01466 0.01466 0.01466 1.60% MLMG::mgVcycle_down::2 82 0.01451 0.01451 0.01451 1.59% FabArray::ParallelCopy() 861 0.01423 0.01423 0.01423 1.55% MLMG::mgVcycle_down::3 82 0.01412 0.01412 0.01412 1.54% FabArray::ParallelCopy_nowait() 861 0.01398 0.01398 0.01398 1.53% FabArray::norminf() 743 0.01396 0.01396 0.01396 1.53% Castro::initialize_advance() 10 0.01394 0.01394 0.01394 1.52% MLMG::mgVcycle_down::4 82 0.01393 0.01393 0.01393 1.52% FabArray::setVal() 1144 0.013 0.013 0.013 1.42% Castro::expand_state() 10 0.01211 0.01211 0.01211 1.32% MLCGSolver::ParallelAllReduce 1514 0.01207 0.01207 0.01207 1.32% Castro::do_new_sources() 10 0.01207 0.01207 0.01207 1.32% MLMG::addInterpCorrection() 410 0.01166 0.01166 0.01166 1.27% MLMG::mgVcycle_up::4 82 0.01131 0.01131 0.01131 1.24% MLMG::mgVcycle_up::1 82 0.01126 0.01126 0.01126 1.23% amrex::average_down 410 0.01105 0.01105 0.01105 1.21% MLMG::mgVcycle_up::2 82 0.01103 0.01103 0.01103 1.20% MLMG::mgVcycle_up::3 82 0.01079 0.01079 0.01079 1.18% MLCellLinOp::defineAuxData() 11 0.01077 0.01077 0.01077 1.18% MLPoisson::Fapply() 1142 0.01012 0.01012 0.01012 1.11% Castro::post_timestep() 10 0.01006 0.01006 0.01006 1.10% Castro::enforce_min_density() 62 0.01 0.01 0.01 1.09% FabArray::Saxpy() 813 0.007991 0.007991 0.007991 0.87% FabArray::Xpay() 821 0.007985 0.007985 0.007985 0.87% MLCellLinOp::solutionResidual() 93 0.00713 0.00713 0.00713 0.78% Castro::reset_internal_energy(MultiFab) 63 0.006711 0.006711 0.006711 0.73% Gravity::fill_multipole_BCs() 11 0.006696 0.006696 0.006696 0.73% MLMG::computeResidual() 82 0.006132 0.006132 0.006132 0.67% Castro::estTimeStep() 21 0.005013 0.005013 0.005013 0.55% MLCellLinOp::defineBC() 11 0.00474 0.00474 0.00474 0.52% MLMG::prepareForSolve() 11 0.004674 0.004674 0.004674 0.51% BndryData::define() 11 0.004516 0.004516 0.004516 0.49% FabArray::LinComb() 557 0.004388 0.004388 0.004388 0.48% amrex::Add() 164 0.004381 0.004381 0.004381 0.48% Amr::InitializeInit() 1 0.004126 0.004126 0.004126 0.45% Amr::defBaseLevel() 1 0.004122 0.004122 0.004122 0.45% Castro::enforce_speed_limit() 62 0.004035 0.004035 0.004035 0.44% Castro::initData() 1 0.00359 0.00359 0.00359 0.39% Castro::construct_new_source() 50 0.003305 0.003305 0.003305 0.36% Castro::construct_new_gravity_source() 10 0.003187 0.003187 0.003187 0.35% Castro::construct_old_source() 50 0.00279 0.00279 0.00279 0.30% Castro::construct_old_gravity_source() 10 0.00277 0.00277 0.00277 0.30% Castro::computeNewDt() 9 0.002282 0.002282 0.002282 0.25% MLMG::ResNormInf() 93 0.002104 0.002104 0.002104 0.23% Castro::finalize_do_advance() 10 0.001956 0.001956 0.001956 0.21% Castro::apply_source_to_state() 20 0.001826 0.001826 0.001826 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001654 0.001654 0.001654 0.18% check_for_negative_density() 10 0.001559 0.001559 0.001559 0.17% Castro::reset_internal_energy(Fab) 504 0.001552 0.001552 0.001552 0.17% FabArrayBase::getCPC() 1323 0.001457 0.001457 0.001457 0.16% MLMG::getGradSolution() 11 0.00138 0.00138 0.00138 0.15% MLCellLinOp::compGrad() 11 0.001372 0.001372 0.001372 0.15% MLCellLinOp::setLevelBC() 11 0.001348 0.001348 0.001348 0.15% FabArray::mult() 43 0.001316 0.001316 0.001316 0.14% FabArray::setDomainBndry() 41 0.001304 0.001304 0.001304 0.14% Castro::check_for_nan() 20 0.001217 0.001217 0.001217 0.13% MultiFab::contains_nan() 20 0.001203 0.001203 0.001203 0.13% MLPoisson::prepareForSolve() 11 0.001158 0.001158 0.001158 0.13% MLCellLinOp::prepareForSolve() 11 0.001142 0.001142 0.001142 0.12% Castro::post_regrid() 1 0.00112 0.00112 0.00112 0.12% MLMG::computeMLResidual() 11 0.001045 0.001045 0.001045 0.11% Gravity::update_max_rhs() 11 0.0008467 0.0008467 0.0008467 0.09% Castro::computeInitialDt() 2 0.000828 0.000828 0.000828 0.09% FabArrayBase::getFB() 4023 0.0007042 0.0007042 0.0007042 0.08% FabArrayBase::CPC::define() 454 0.0006959 0.0006959 0.0006959 0.08% Castro::finalize_advance() 10 0.0005972 0.0005972 0.0005972 0.07% MLLinOp::define() 11 0.0005236 0.0005236 0.0005236 0.06% MLLinOp::defineGrids() 11 0.0005055 0.0005055 0.0005055 0.06% Amr::InitAmr() 1 0.0004893 0.0004893 0.0004893 0.05% Castro::Castro() 1 0.0004389 0.0004389 0.0004389 0.05% Gravity::swapTimeLevels() 10 0.0004352 0.0004352 0.0004352 0.05% MLMG::MLResNormInf() 11 0.0002882 0.0002882 0.0002882 0.03% MultiFab::max() 11 0.0002604 0.0002604 0.0002604 0.03% MLMG::MLRhsNormInf() 11 0.0002173 0.0002173 0.0002173 0.02% Castro::create_source_corrector() 10 0.0001778 0.0001778 0.0001778 0.02% Castro::buildMetrics() 1 0.0001692 0.0001692 0.0001692 0.02% FabArrayBase::FB::FB() 56 9.23e-05 9.23e-05 9.23e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.931e-05 5.931e-05 5.931e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.771e-05 5.771e-05 5.771e-05 0.01% Castro::swap_state_time_levels() 10 5.01e-05 5.01e-05 5.01e-05 0.01% makeSFC 55 4.355e-05 4.355e-05 4.355e-05 0.00% StateData::define() 4 4.209e-05 4.209e-05 4.209e-05 0.00% Castro::enforce_consistent_e() 1 3.174e-05 3.174e-05 3.174e-05 0.00% Castro::initMFs() 1 2.619e-05 2.619e-05 2.619e-05 0.00% Amr::writeSmallPlotFile() 1 2.617e-05 2.617e-05 2.617e-05 0.00% DistributionMapping::Distribute() 56 1.838e-05 1.838e-05 1.838e-05 0.00% Amr::initSubcycle() 1 9.686e-06 9.686e-06 9.686e-06 0.00% AmrLevel::checkPointPost() 3 6.449e-06 6.449e-06 6.449e-06 0.00% Gravity::set_mass_offset() 11 5.594e-06 5.594e-06 5.594e-06 0.00% Castro::retry_advance_ctu() 10 5.429e-06 5.429e-06 5.429e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.705e-06 4.705e-06 4.705e-06 0.00% Castro::FluxRegCrseInit 10 3.001e-06 3.001e-06 3.001e-06 0.00% AmrLevel::checkPointPre() 3 2.282e-06 2.282e-06 2.282e-06 0.00% Castro::FluxRegFineAdd() 10 2.123e-06 2.123e-06 2.123e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.836e-06 1.836e-06 1.836e-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 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 132 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1012 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2094 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 3391 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 197 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 165 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1761 B 2048 KiB Gravity::solve_for_phi() 80 80 536 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 196 KiB 671 KiB Castro::estTimeStep() 21 21 2663 B 480 KiB VisMF::Write(FabArray) 656 656 3260 B 320 KiB Castro::normalize_species() 62 62 7141 B 320 KiB amrex::average_down 1067 1067 1216 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1093 B 257 KiB amrex::Dot() 1360 1360 3235 B 160 KiB FabArray::norminf() 907 907 2251 B 160 KiB check_for_negative_density() 10 10 266 B 160 KiB Castro::initData() 1 1 25 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 3315 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 8866 8866 212 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3834 B 6144 B StateData::FillBoundary(geom) 1992 1992 46 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 113 B 1472 B MLCellLinOp::defineBC() 66 66 349 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 656 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 54 KiB 8192 KiB VisMF::Write(FabArray) 744 744 597 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3315 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 4433 4433 210 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3835 B 6144 B Gravity::get_new_grav_vector() 3 3 2913 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 2976 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 282 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): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.06-23-g02ac1f39bce4) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.06-23-g02ac1f39bce4) initialized Starting run at 07:45:09 UTC on 2023-06-16. Successfully read inputs file ... Castro git describe: 23.06-20-g6a7d6484b AMReX git describe: 23.06-23-g02ac1f39b Microphysics git describe: 23.06-14-ga0d8db09 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.517521868 Restart time = 0.04500371 seconds. [Level 0 step 6] ADVANCE with dt = 5.79654185e-05 [Level 0 step 6] Advanced 262144 cells [STEP 6] Coarse TimeStep time: 0.050675059 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.054973453 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.078995278 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.074978428 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.054873839 [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.032951634 seconds Ending run at 07:45:10 UTC on 2023-06-16. Run time = 0.393464158 Run time without initialization = 0.347910945 Average number of zones advanced per microsecond: 3.767 Average number of zones advanced per microsecond per rank: 3.767 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3935 ... 0.3935 ... 0.3935 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1331 0.1331 0.1331 33.82% VisMF::Read() 3 0.03877 0.03877 0.03877 9.85% MLCellLinOp::applyBC() 1946 0.03254 0.03254 0.03254 8.27% VisMF::Write(FabArray) 1 0.03132 0.03132 0.03132 7.96% FillBoundary_nowait() 1766 0.01411 0.01411 0.01411 3.59% MLPoisson::Fsmooth() 1440 0.01345 0.01345 0.01345 3.42% StateData::FillBoundary(geom) 160 0.01162 0.01162 0.01162 2.95% Castro::normalize_species() 30 0.01037 0.01037 0.01037 2.64% amrex::Dot() 484 0.008474 0.008474 0.008474 2.15% Castro::computeTemp() 30 0.006837 0.006837 0.006837 1.74% amrex::Copy() 463 0.006774 0.006774 0.006774 1.72% FabArray::setVal() 537 0.006089 0.006089 0.006089 1.55% FabArray::norminf() 326 0.005943 0.005943 0.005943 1.51% FabArray::ParallelCopy_nowait() 380 0.005917 0.005917 0.005917 1.50% MLCellLinOp::defineAuxData() 6 0.005098 0.005098 0.005098 1.30% StateDataPhysBCFunct::() 20 0.004779 0.004779 0.004779 1.21% Castro::enforce_min_density() 30 0.004539 0.004539 0.004539 1.15% MLPoisson::Fapply() 500 0.004331 0.004331 0.004331 1.10% FabArray::Saxpy() 355 0.003518 0.003518 0.003518 0.89% FabArray::Xpay() 361 0.003419 0.003419 0.003419 0.87% Gravity::fill_multipole_BCs() 6 0.003396 0.003396 0.003396 0.86% MLMG::addInterpCorrection() 180 0.002884 0.002884 0.002884 0.73% Castro::estTimeStep() 10 0.002875 0.002875 0.002875 0.73% amrex::average_down 180 0.00258 0.00258 0.00258 0.66% Amr::restart() 1 0.00254 0.00254 0.00254 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002195 0.002195 0.002195 0.56% BndryData::define() 6 0.001918 0.001918 0.001918 0.49% FabArray::LinComb() 242 0.001849 0.001849 0.001849 0.47% amrex::Add() 72 0.00183 0.00183 0.00183 0.47% Castro::construct_new_gravity_source() 5 0.001615 0.001615 0.001615 0.41% Amr::writePlotFile() 1 0.001471 0.001471 0.001471 0.37% Castro::construct_old_gravity_source() 5 0.001405 0.001405 0.001405 0.36% MLCGSolver::bicgstab 36 0.0009344 0.0009344 0.0009344 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008786 0.0008786 0.0008786 0.22% Castro::reset_internal_energy(Fab) 240 0.0008077 0.0008077 0.0008077 0.21% Gravity::actual_solve_with_mlmg() 6 0.0007993 0.0007993 0.0007993 0.20% check_for_negative_density() 5 0.0007261 0.0007261 0.0007261 0.18% MLCellLinOp::setLevelBC() 6 0.000725 0.000725 0.000725 0.18% Castro::subcycle_advance_ctu() 5 0.0006557 0.0006557 0.0006557 0.17% FabArray::mult() 22 0.0006366 0.0006366 0.0006366 0.16% FabArray::setDomainBndry() 20 0.0006244 0.0006244 0.0006244 0.16% MLCellLinOp::prepareForSolve() 6 0.0005934 0.0005934 0.0005934 0.15% MultiFab::contains_nan() 10 0.000586 0.000586 0.000586 0.15% MLCellLinOp::smooth() 720 0.0004974 0.0004974 0.0004974 0.13% Castro::enforce_speed_limit() 30 0.0004947 0.0004947 0.0004947 0.13% MLCellLinOp::compGrad() 6 0.000481 0.000481 0.000481 0.12% MLMG::prepareForSolve() 6 0.0004744 0.0004744 0.0004744 0.12% FabArrayBase::CPC::define() 244 0.0004184 0.0004184 0.0004184 0.11% Amr::InitAmr() 1 0.0003728 0.0003728 0.0003728 0.09% FabArray::FillBoundary() 1766 0.0003546 0.0003546 0.0003546 0.09% FabArrayBase::getCPC() 632 0.0003486 0.0003486 0.0003486 0.09% Gravity::get_old_grav_vector() 5 0.0003227 0.0003227 0.0003227 0.08% main() 1 0.0002789 0.0002789 0.0002789 0.07% Gravity::get_new_grav_vector() 5 0.000274 0.000274 0.000274 0.07% FabArrayBase::getFB() 1766 0.0002549 0.0002549 0.0002549 0.06% Amr::coarseTimeStep() 5 0.0002203 0.0002203 0.0002203 0.06% MLCellLinOp::apply() 500 0.000209 0.000209 0.000209 0.05% MLLinOp::defineGrids() 6 0.0002025 0.0002025 0.0002025 0.05% MLMG::mgVcycle() 36 0.0001593 0.0001593 0.0001593 0.04% MultiFab::max() 6 0.0001325 0.0001325 0.0001325 0.03% MLCGSolver::ParallelAllReduce 659 0.0001213 0.0001213 0.0001213 0.03% MLCellLinOp::defineBC() 6 0.0001146 0.0001146 0.0001146 0.03% FillPatchIterator::Initialize 20 0.0001134 0.0001134 0.0001134 0.03% FabArray::ParallelCopy() 380 0.0001057 0.0001057 0.0001057 0.03% Castro::construct_new_source() 25 0.0001014 0.0001014 0.0001014 0.03% Castro::do_new_sources() 5 9.81e-05 9.81e-05 9.81e-05 0.02% MLCellLinOp::correctionResidual() 216 9.648e-05 9.648e-05 9.648e-05 0.02% AmrLevel::restart() 1 8e-05 8e-05 8e-05 0.02% Castro::create_source_corrector() 5 7.703e-05 7.703e-05 7.703e-05 0.02% Amr::timeStep() 5 7.636e-05 7.636e-05 7.636e-05 0.02% StateData::restartDoit() 4 6.826e-05 6.826e-05 6.826e-05 0.02% Castro::finalize_do_advance() 5 6.636e-05 6.636e-05 6.636e-05 0.02% FabArrayBase::FB::FB() 26 6.037e-05 6.037e-05 6.037e-05 0.02% Gravity::update_max_rhs() 6 5.986e-05 5.986e-05 5.986e-05 0.02% Castro::construct_old_source() 25 5.514e-05 5.514e-05 5.514e-05 0.01% Gravity::solve_for_phi() 5 5.253e-05 5.253e-05 5.253e-05 0.01% Castro::initialize_do_advance() 5 5.025e-05 5.025e-05 5.025e-05 0.01% MLMG:computeResOfCorrection() 180 4.898e-05 4.898e-05 4.898e-05 0.01% Castro::do_old_sources() 5 4.555e-05 4.555e-05 4.555e-05 0.01% MLMG::mgVcycle_down::0 36 4.052e-05 4.052e-05 4.052e-05 0.01% Castro::expand_state() 5 4.048e-05 4.048e-05 4.048e-05 0.01% MLMG::actualBottomSolve() 36 3.986e-05 3.986e-05 3.986e-05 0.01% MLMG::mgVcycle_down::1 36 3.47e-05 3.47e-05 3.47e-05 0.01% Castro::advance() 5 3.382e-05 3.382e-05 3.382e-05 0.01% MLMG::solve() 6 3.351e-05 3.351e-05 3.351e-05 0.01% Castro::initialize_advance() 5 3.322e-05 3.322e-05 3.322e-05 0.01% Castro::post_timestep() 5 3.266e-05 3.266e-05 3.266e-05 0.01% Castro::clean_state() 30 3.251e-05 3.251e-05 3.251e-05 0.01% MLMG::mgVcycle_down::4 36 3.226e-05 3.226e-05 3.226e-05 0.01% MLMG::mgVcycle_down::2 36 3.216e-05 3.216e-05 3.216e-05 0.01% MLMG::mgVcycle_down::3 36 3.169e-05 3.169e-05 3.169e-05 0.01% MLMG::mgVcycle_up::4 36 2.774e-05 2.774e-05 2.774e-05 0.01% Castro::finalize_advance() 5 2.691e-05 2.691e-05 2.691e-05 0.01% Castro::buildMetrics() 1 2.676e-05 2.676e-05 2.676e-05 0.01% Amr::writeSmallPlotFile() 1 2.667e-05 2.667e-05 2.667e-05 0.01% Castro::post_restart() 1 2.542e-05 2.542e-05 2.542e-05 0.01% Castro::initMFs() 1 2.505e-05 2.505e-05 2.505e-05 0.01% MLMG::mgVcycle_up::0 36 2.468e-05 2.468e-05 2.468e-05 0.01% MLMG::oneIter() 36 2.404e-05 2.404e-05 2.404e-05 0.01% Castro::swap_state_time_levels() 5 2.373e-05 2.373e-05 2.373e-05 0.01% MLMG::mgVcycle_up::3 36 2.203e-05 2.203e-05 2.203e-05 0.01% MLMG::mgVcycle_up::2 36 2.188e-05 2.188e-05 2.188e-05 0.01% MLCellLinOp::solutionResidual() 42 2.065e-05 2.065e-05 2.065e-05 0.01% MLMG::mgVcycle_up::1 36 2.065e-05 2.065e-05 2.065e-05 0.01% MLPoisson::define() 6 1.874e-05 1.874e-05 1.874e-05 0.00% MLMG::ResNormInf() 42 1.671e-05 1.671e-05 1.671e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.577e-05 1.577e-05 1.577e-05 0.00% Castro::do_advance_ctu() 5 1.508e-05 1.508e-05 1.508e-05 0.00% MLMG::mgVcycle_bottom 36 1.467e-05 1.467e-05 1.467e-05 0.00% MLMG::computeResidual() 36 1.403e-05 1.403e-05 1.403e-05 0.00% FillPatchSingleLevel 20 1.347e-05 1.347e-05 1.347e-05 0.00% makeSFC 30 1.276e-05 1.276e-05 1.276e-05 0.00% Castro::construct_new_gravity() 5 1.18e-05 1.18e-05 1.18e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.15e-05 1.15e-05 1.15e-05 0.00% MLLinOp::define() 6 1.076e-05 1.076e-05 1.076e-05 0.00% MLPoisson::prepareForSolve() 6 9.237e-06 9.237e-06 9.237e-06 0.00% DistributionMapping::Distribute() 31 8.99e-06 8.99e-06 8.99e-06 0.00% Amr::initSubcycle() 1 8.331e-06 8.331e-06 8.331e-06 0.00% Gravity::actual_multilevel_solve() 1 7.599e-06 7.599e-06 7.599e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.287e-06 7.287e-06 7.287e-06 0.00% Castro::apply_source_to_state() 10 5.669e-06 5.669e-06 5.669e-06 0.00% Castro::check_for_nan() 10 5.569e-06 5.569e-06 5.569e-06 0.00% Castro::construct_old_gravity() 5 4.937e-06 4.937e-06 4.937e-06 0.00% Gravity::swapTimeLevels() 5 4.083e-06 4.083e-06 4.083e-06 0.00% MLMG::computeMLResidual() 6 3.98e-06 3.98e-06 3.98e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.151e-06 3.151e-06 3.151e-06 0.00% Castro::computeNewDt() 5 3.071e-06 3.071e-06 3.071e-06 0.00% MLMG::getGradSolution() 6 2.953e-06 2.953e-06 2.953e-06 0.00% Gravity::set_mass_offset() 6 2.414e-06 2.414e-06 2.414e-06 0.00% Castro::FluxRegFineAdd() 5 2.32e-06 2.32e-06 2.32e-06 0.00% MLMG::MLResNormInf() 6 2.163e-06 2.163e-06 2.163e-06 0.00% MLMG::MLRhsNormInf() 6 2.028e-06 2.028e-06 2.028e-06 0.00% Castro::retry_advance_ctu() 5 1.877e-06 1.877e-06 1.877e-06 0.00% Castro::FluxRegCrseInit 5 1.327e-06 1.327e-06 1.327e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.044e-06 1.044e-06 1.044e-06 0.00% Amr::init() 1 1.019e-06 1.019e-06 1.019e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3935 0.3935 0.3935 100.00% Amr::coarseTimeStep() 5 0.3147 0.3147 0.3147 79.98% Amr::timeStep() 5 0.3131 0.3131 0.3131 79.57% Castro::advance() 5 0.3082 0.3082 0.3082 78.31% Castro::subcycle_advance_ctu() 5 0.3015 0.3015 0.3015 76.62% Castro::do_advance_ctu() 5 0.3008 0.3008 0.3008 76.45% Castro::construct_ctu_hydro_source() 5 0.1377 0.1377 0.1377 35.00% Castro::construct_new_gravity() 5 0.128 0.128 0.128 32.52% Gravity::solve_phi_with_mlmg() 6 0.1235 0.1235 0.1235 31.38% Gravity::solve_for_phi() 5 0.1205 0.1205 0.1205 30.62% Gravity::actual_solve_with_mlmg() 6 0.1199 0.1199 0.1199 30.46% MLMG::solve() 6 0.1089 0.1089 0.1089 27.68% MLMG::oneIter() 36 0.102 0.102 0.102 25.93% MLMG::mgVcycle() 36 0.1005 0.1005 0.1005 25.53% MLCellLinOp::smooth() 720 0.04991 0.04991 0.04991 12.68% MLCellLinOp::applyBC() 1946 0.04732 0.04732 0.04732 12.03% Amr::init() 1 0.04505 0.04505 0.04505 11.45% Amr::restart() 1 0.04504 0.04504 0.04504 11.45% AmrLevel::restart() 1 0.03898 0.03898 0.03898 9.91% StateData::restartDoit() 4 0.03889 0.03889 0.03889 9.88% VisMF::Read() 3 0.03877 0.03877 0.03877 9.85% Amr::writePlotFile() 1 0.03304 0.03304 0.03304 8.40% VisMF::Write(FabArray) 1 0.03132 0.03132 0.03132 7.96% MLMG::mgVcycle_bottom 36 0.03042 0.03042 0.03042 7.73% MLMG::actualBottomSolve() 36 0.0304 0.0304 0.0304 7.73% MLCGSolver::bicgstab 36 0.03011 0.03011 0.03011 7.65% Castro::clean_state() 30 0.02528 0.02528 0.02528 6.42% FillPatchIterator::Initialize 20 0.01918 0.01918 0.01918 4.87% FillPatchSingleLevel 20 0.01844 0.01844 0.01844 4.69% StateDataPhysBCFunct::() 20 0.0164 0.0164 0.0164 4.17% MLCellLinOp::apply() 500 0.01564 0.01564 0.01564 3.98% MLMG::mgVcycle_down::0 36 0.01486 0.01486 0.01486 3.78% FabArray::FillBoundary() 1766 0.01478 0.01478 0.01478 3.76% FillBoundary_nowait() 1766 0.01442 0.01442 0.01442 3.67% MLPoisson::Fsmooth() 1440 0.01345 0.01345 0.01345 3.42% StateData::FillBoundary(geom) 160 0.01162 0.01162 0.01162 2.95% MLMG::mgVcycle_up::0 36 0.0113 0.0113 0.0113 2.87% Castro::normalize_species() 30 0.01037 0.01037 0.01037 2.64% Castro::computeTemp() 30 0.00984 0.00984 0.00984 2.50% Castro::initialize_do_advance() 5 0.009469 0.009469 0.009469 2.41% MLCellLinOp::correctionResidual() 216 0.009464 0.009464 0.009464 2.41% Castro::do_old_sources() 5 0.009055 0.009055 0.009055 2.30% MLPoisson::define() 6 0.008652 0.008652 0.008652 2.20% amrex::Dot() 484 0.008474 0.008474 0.008474 2.15% MLMG:computeResOfCorrection() 180 0.008341 0.008341 0.008341 2.12% Gravity::get_new_grav_vector() 5 0.007375 0.007375 0.007375 1.87% Castro::do_new_sources() 5 0.007316 0.007316 0.007316 1.86% Castro::construct_old_gravity() 5 0.007278 0.007278 0.007278 1.85% Gravity::get_old_grav_vector() 5 0.007274 0.007274 0.007274 1.85% amrex::Copy() 463 0.006774 0.006774 0.006774 1.72% MLMG::mgVcycle_down::1 36 0.00662 0.00662 0.00662 1.68% FabArray::ParallelCopy() 380 0.006408 0.006408 0.006408 1.63% Castro::initialize_advance() 5 0.006364 0.006364 0.006364 1.62% FabArray::ParallelCopy_nowait() 380 0.006302 0.006302 0.006302 1.60% MLMG::mgVcycle_down::2 36 0.006181 0.006181 0.006181 1.57% FabArray::setVal() 537 0.006089 0.006089 0.006089 1.55% MLMG::mgVcycle_down::3 36 0.006037 0.006037 0.006037 1.53% FabArray::norminf() 326 0.005943 0.005943 0.005943 1.51% MLMG::mgVcycle_down::4 36 0.00594 0.00594 0.00594 1.51% MLCellLinOp::defineAuxData() 6 0.00581 0.00581 0.00581 1.48% Castro::expand_state() 5 0.00523 0.00523 0.00523 1.33% MLCGSolver::ParallelAllReduce 659 0.005118 0.005118 0.005118 1.30% MLMG::addInterpCorrection() 180 0.005072 0.005072 0.005072 1.29% Castro::post_timestep() 5 0.004879 0.004879 0.004879 1.24% MLMG::mgVcycle_up::4 36 0.004836 0.004836 0.004836 1.23% MLMG::mgVcycle_up::1 36 0.00481 0.00481 0.00481 1.22% amrex::average_down 180 0.004772 0.004772 0.004772 1.21% MLMG::mgVcycle_up::2 36 0.0047 0.0047 0.0047 1.19% MLMG::mgVcycle_up::3 36 0.004623 0.004623 0.004623 1.17% Castro::enforce_min_density() 30 0.004539 0.004539 0.004539 1.15% MLPoisson::Fapply() 500 0.004331 0.004331 0.004331 1.10% Gravity::fill_multipole_BCs() 6 0.003524 0.003524 0.003524 0.90% FabArray::Saxpy() 355 0.003518 0.003518 0.003518 0.89% FabArray::Xpay() 361 0.003419 0.003419 0.003419 0.87% MLCellLinOp::solutionResidual() 42 0.003353 0.003353 0.003353 0.85% Castro::post_restart() 1 0.003353 0.003353 0.003353 0.85% Gravity::multilevel_solve_for_new_phi() 1 0.003241 0.003241 0.003241 0.82% Gravity::actual_multilevel_solve() 1 0.003225 0.003225 0.003225 0.82% Castro::reset_internal_energy(MultiFab) 30 0.003003 0.003003 0.003003 0.76% Castro::estTimeStep() 10 0.002875 0.002875 0.002875 0.73% MLMG::computeResidual() 36 0.002808 0.002808 0.002808 0.71% MLCellLinOp::defineBC() 6 0.002582 0.002582 0.002582 0.66% BndryData::define() 6 0.002467 0.002467 0.002467 0.63% MLMG::prepareForSolve() 6 0.002466 0.002466 0.002466 0.63% FabArray::LinComb() 242 0.001849 0.001849 0.001849 0.47% amrex::Add() 72 0.00183 0.00183 0.00183 0.47% Castro::construct_new_source() 25 0.001716 0.001716 0.001716 0.44% Castro::construct_new_gravity_source() 5 0.001615 0.001615 0.001615 0.41% Castro::finalize_do_advance() 5 0.001572 0.001572 0.001572 0.40% Castro::construct_old_source() 25 0.00146 0.00146 0.00146 0.37% Castro::construct_old_gravity_source() 5 0.001405 0.001405 0.001405 0.36% Castro::computeNewDt() 5 0.001372 0.001372 0.001372 0.35% Castro::apply_source_to_state() 10 0.0009186 0.0009186 0.0009186 0.23% MLMG::ResNormInf() 42 0.0009173 0.0009173 0.0009173 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0008786 0.0008786 0.0008786 0.22% Castro::reset_internal_energy(Fab) 240 0.0008077 0.0008077 0.0008077 0.21% FabArrayBase::getCPC() 632 0.000767 0.000767 0.000767 0.19% MLMG::getGradSolution() 6 0.0007421 0.0007421 0.0007421 0.19% MLCellLinOp::compGrad() 6 0.0007391 0.0007391 0.0007391 0.19% check_for_negative_density() 5 0.0007261 0.0007261 0.0007261 0.18% MLCellLinOp::setLevelBC() 6 0.000725 0.000725 0.000725 0.18% FabArray::mult() 22 0.0006366 0.0006366 0.0006366 0.16% FabArray::setDomainBndry() 20 0.0006244 0.0006244 0.0006244 0.16% MLPoisson::prepareForSolve() 6 0.0006026 0.0006026 0.0006026 0.15% MLCellLinOp::prepareForSolve() 6 0.0005934 0.0005934 0.0005934 0.15% Castro::check_for_nan() 10 0.0005916 0.0005916 0.0005916 0.15% MultiFab::contains_nan() 10 0.000586 0.000586 0.000586 0.15% MLMG::computeMLResidual() 6 0.0005635 0.0005635 0.0005635 0.14% Castro::enforce_speed_limit() 30 0.0004947 0.0004947 0.0004947 0.13% Gravity::update_max_rhs() 6 0.0004307 0.0004307 0.0004307 0.11% FabArrayBase::CPC::define() 244 0.0004184 0.0004184 0.0004184 0.11% Amr::InitAmr() 1 0.0003811 0.0003811 0.0003811 0.10% FabArrayBase::getFB() 1766 0.0003153 0.0003153 0.0003153 0.08% Castro::finalize_advance() 5 0.0002834 0.0002834 0.0002834 0.07% MLLinOp::define() 6 0.0002419 0.0002419 0.0002419 0.06% MLLinOp::defineGrids() 6 0.0002312 0.0002312 0.0002312 0.06% Gravity::swapTimeLevels() 5 0.0002183 0.0002183 0.0002183 0.06% MLMG::MLResNormInf() 6 0.0001489 0.0001489 0.0001489 0.04% Castro::buildMetrics() 1 0.0001467 0.0001467 0.0001467 0.04% MultiFab::max() 6 0.0001325 0.0001325 0.0001325 0.03% MLMG::MLRhsNormInf() 6 0.0001148 0.0001148 0.0001148 0.03% Castro::create_source_corrector() 5 7.703e-05 7.703e-05 7.703e-05 0.02% FabArrayBase::FB::FB() 26 6.037e-05 6.037e-05 6.037e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.765e-05 2.765e-05 2.765e-05 0.01% Amr::writeSmallPlotFile() 1 2.667e-05 2.667e-05 2.667e-05 0.01% Castro::initMFs() 1 2.505e-05 2.505e-05 2.505e-05 0.01% Castro::swap_state_time_levels() 5 2.373e-05 2.373e-05 2.373e-05 0.01% makeSFC 30 2.036e-05 2.036e-05 2.036e-05 0.01% DistributionMapping::Distribute() 31 8.99e-06 8.99e-06 8.99e-06 0.00% Amr::initSubcycle() 1 8.331e-06 8.331e-06 8.331e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.538e-06 4.538e-06 4.538e-06 0.00% Gravity::set_mass_offset() 6 2.414e-06 2.414e-06 2.414e-06 0.00% Castro::FluxRegFineAdd() 5 2.32e-06 2.32e-06 2.32e-06 0.00% Castro::retry_advance_ctu() 5 1.877e-06 1.877e-06 1.877e-06 0.00% Castro::FluxRegCrseInit 5 1.327e-06 1.327e-06 1.327e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.044e-06 1.044e-06 1.044e-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 152 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 1053 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2350 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6760 KiB 14 MiB MLMG::prepareForSolve() 361 361 3399 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 191 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 191 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6755 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2111 B 2048 KiB Gravity::solve_for_phi() 40 40 625 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 312 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3467 B 480 KiB VisMF::Write(FabArray) 112 112 1242 B 320 KiB Castro::normalize_species() 30 30 8579 B 320 KiB amrex::average_down 469 469 1189 B 257 KiB MLMG::addInterpCorrection() 468 468 1093 B 257 KiB amrex::Dot() 592 592 3169 B 160 KiB FabArray::norminf() 398 398 2226 B 160 KiB check_for_negative_density() 5 5 290 B 160 KiB MultiFab::max() 6 6 51 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3307 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 314 B 9648 B MLCellLinOp::applyBC() 3892 3892 217 B 9344 B amrex::Copy() 56 56 5993 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 45 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 111 B 1472 B MLCellLinOp::defineBC() 36 36 351 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1342 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 190 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3307 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 315 B 9648 B MLCellLinOp::applyBC() 1946 1946 216 B 9328 B amrex::Copy() 56 56 5993 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2671 B 3072 B StateData::FillBoundary(geom) 960 960 45 B 2880 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 524 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): 2424 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.06-23-g02ac1f39bce4) finalized