Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09) initialized Starting run at 07:38:52 UTC on 2023-09-05. Successfully read inputs file ... Castro git describe: 23.09 AMReX git describe: 23.09 Microphysics git describe: 23.08-19-gbb8d2a2b 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.048956977 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02726025 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.051509112 [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.064978564 [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.070032249 [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.059909003 [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.069008303 [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.048091305 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.069502692 [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.069261947 [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.069783005 [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.055234058 [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.069233007 [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.047574621 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027273511 seconds Ending run at 07:38:53 UTC on 2023-09-05. Run time = 0.901235656 Run time without initialization = 0.772012114 Average number of zones advanced per microsecond: 3.396 Average number of zones advanced per microsecond per rank: 3.396 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9013 ... 0.9013 ... 0.9013 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2769 0.2769 0.2769 30.73% VisMF::Write(FabArray) 11 0.1911 0.1911 0.1911 21.21% MLCellLinOp::applyBC() 4433 0.08181 0.08181 0.08181 9.08% MLPoisson::Fsmooth() 3280 0.03207 0.03207 0.03207 3.56% FillBoundary_nowait() 4023 0.03112 0.03112 0.03112 3.45% StateData::FillBoundary(geom) 328 0.02529 0.02529 0.02529 2.81% amrex::Dot() 1114 0.02007 0.02007 0.02007 2.23% Castro::normalize_species() 62 0.01924 0.01924 0.01924 2.13% Castro::computeTemp() 63 0.01534 0.01534 0.01534 1.70% amrex::Copy() 1029 0.0148 0.0148 0.0148 1.64% FabArray::norminf() 743 0.01417 0.01417 0.01417 1.57% FabArray::ParallelCopy_nowait() 861 0.01309 0.01309 0.01309 1.45% FabArray::setVal() 1144 0.01307 0.01307 0.01307 1.45% StateDataPhysBCFunct::() 41 0.0117 0.0117 0.0117 1.30% Castro::enforce_min_density() 62 0.01139 0.01139 0.01139 1.26% MLPoisson::Fapply() 1142 0.01022 0.01022 0.01022 1.13% MLCellLinOp::defineAuxData() 11 0.009998 0.009998 0.009998 1.11% Gravity::fill_multipole_BCs() 11 0.009099 0.009099 0.009099 1.01% FabArray::Saxpy() 813 0.008118 0.008118 0.008118 0.90% FabArray::Xpay() 821 0.007982 0.007982 0.007982 0.89% MLMG::addInterpCorrection() 410 0.006714 0.006714 0.006714 0.74% Castro::estTimeStep() 21 0.006454 0.006454 0.006454 0.72% amrex::average_down 410 0.006026 0.006026 0.006026 0.67% Amr::checkPoint() 3 0.005582 0.005582 0.005582 0.62% Castro::reset_internal_energy(MultiFab) 63 0.004833 0.004833 0.004833 0.54% FabArray::LinComb() 557 0.004428 0.004428 0.004428 0.49% amrex::Add() 164 0.004397 0.004397 0.004397 0.49% BndryData::define() 11 0.003609 0.003609 0.003609 0.40% Castro::construct_new_gravity_source() 10 0.003366 0.003366 0.003366 0.37% Castro::enforce_speed_limit() 62 0.002974 0.002974 0.002974 0.33% Castro::construct_old_gravity_source() 10 0.002823 0.002823 0.002823 0.31% MLCGSolver::bicgstab 82 0.002227 0.002227 0.002227 0.25% Amr::writePlotFile() 2 0.00198 0.00198 0.00198 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00171 0.00171 0.00171 0.19% check_for_negative_density() 10 0.001684 0.001684 0.001684 0.19% Castro::reset_internal_energy(Fab) 504 0.001542 0.001542 0.001542 0.17% Gravity::actual_solve_with_mlmg() 11 0.001523 0.001523 0.001523 0.17% Castro::initData() 1 0.001517 0.001517 0.001517 0.17% MLCellLinOp::setLevelBC() 11 0.001411 0.001411 0.001411 0.16% FabArray::mult() 43 0.001361 0.001361 0.001361 0.15% FabArray::setDomainBndry() 41 0.001302 0.001302 0.001302 0.14% MultiFab::contains_nan() 20 0.001262 0.001262 0.001262 0.14% MLCellLinOp::prepareForSolve() 11 0.001225 0.001225 0.001225 0.14% MLCellLinOp::smooth() 1640 0.001124 0.001124 0.001124 0.12% MLCellLinOp::compGrad() 11 0.001051 0.001051 0.001051 0.12% MLMG::prepareForSolve() 11 0.0009439 0.0009439 0.0009439 0.10% FabArray::FillBoundary() 4023 0.0008491 0.0008491 0.0008491 0.09% FabArrayBase::getCPC() 1323 0.0007869 0.0007869 0.0007869 0.09% FabArrayBase::CPC::define() 454 0.0006925 0.0006925 0.0006925 0.08% FabArrayBase::getFB() 4023 0.0006401 0.0006401 0.0006401 0.07% Gravity::get_new_grav_vector() 11 0.0005966 0.0005966 0.0005966 0.07% Amr::InitAmr() 1 0.0004857 0.0004857 0.0004857 0.05% Gravity::get_old_grav_vector() 10 0.0004797 0.0004797 0.0004797 0.05% MLCellLinOp::apply() 1142 0.0004523 0.0004523 0.0004523 0.05% AmrLevel::FillPatch() 41 0.0003455 0.0003455 0.0003455 0.04% MultiFab::max() 11 0.0003286 0.0003286 0.0003286 0.04% Amr::coarseTimeStep() 10 0.0003262 0.0003262 0.0003262 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002791 0.0002791 0.0002791 0.03% main() 1 0.0002778 0.0002778 0.0002778 0.03% FabArray::ParallelCopy() 861 0.0002568 0.0002568 0.0002568 0.03% MLCellLinOp::correctionResidual() 492 0.0002285 0.0002285 0.0002285 0.03% MLCellLinOp::defineBC() 11 0.0002215 0.0002215 0.0002215 0.02% FillPatchIterator::Initialize 41 0.0002142 0.0002142 0.0002142 0.02% MLMG::mgVcycle() 82 0.0001997 0.0001997 0.0001997 0.02% Castro::subcycle_advance_ctu() 10 0.0001936 0.0001936 0.0001936 0.02% MLLinOp::defineGrids() 11 0.0001719 0.0001719 0.0001719 0.02% Gravity::solve_for_phi() 10 0.0001604 0.0001604 0.0001604 0.02% Castro::create_source_corrector() 10 0.0001591 0.0001591 0.0001591 0.02% Amr::timeStep() 10 0.0001538 0.0001538 0.0001538 0.02% Gravity::update_max_rhs() 11 0.0001269 0.0001269 0.0001269 0.01% Castro::advance() 10 0.0001267 0.0001267 0.0001267 0.01% MLMG:computeResOfCorrection() 410 0.0001206 0.0001206 0.0001206 0.01% StateData::checkPoint() 12 0.0001203 0.0001203 0.0001203 0.01% Castro::do_new_sources() 10 0.0001056 0.0001056 0.0001056 0.01% MLMG::actualBottomSolve() 82 9.975e-05 9.975e-05 9.975e-05 0.01% FabArrayBase::FB::FB() 56 9.854e-05 9.854e-05 9.854e-05 0.01% Castro::Castro() 1 9.12e-05 9.12e-05 9.12e-05 0.01% MLMG::mgVcycle_down::0 82 9.07e-05 9.07e-05 9.07e-05 0.01% MLMG::solve() 11 8.01e-05 8.01e-05 8.01e-05 0.01% Castro::initialize_advance() 10 7.792e-05 7.792e-05 7.792e-05 0.01% MLMG::mgVcycle_down::1 82 7.676e-05 7.676e-05 7.676e-05 0.01% MLMG::mgVcycle_down::2 82 7.498e-05 7.498e-05 7.498e-05 0.01% Castro::clean_state() 62 7.291e-05 7.291e-05 7.291e-05 0.01% MLMG::mgVcycle_down::4 82 7.134e-05 7.134e-05 7.134e-05 0.01% Castro::enforce_consistent_e() 1 7.046e-05 7.046e-05 7.046e-05 0.01% MLMG::mgVcycle_down::3 82 6.917e-05 6.917e-05 6.917e-05 0.01% AmrLevel::checkPoint() 3 6.717e-05 6.717e-05 6.717e-05 0.01% Castro::finalize_advance() 10 6.342e-05 6.342e-05 6.342e-05 0.01% MLMG::mgVcycle_up::4 82 6.151e-05 6.151e-05 6.151e-05 0.01% Castro::initialize_do_advance() 10 5.995e-05 5.995e-05 5.995e-05 0.01% MLMG::mgVcycle_up::0 82 5.329e-05 5.329e-05 5.329e-05 0.01% MLMG::mgVcycle_up::3 82 5.189e-05 5.189e-05 5.189e-05 0.01% Castro::do_advance_ctu() 10 5.092e-05 5.092e-05 5.092e-05 0.01% MLMG::oneIter() 82 5.089e-05 5.089e-05 5.089e-05 0.01% MLCellLinOp::solutionResidual() 93 5.067e-05 5.067e-05 5.067e-05 0.01% Castro::finalize_do_advance() 10 4.854e-05 4.854e-05 4.854e-05 0.01% MLMG::mgVcycle_up::1 82 4.842e-05 4.842e-05 4.842e-05 0.01% MLMG::mgVcycle_up::2 82 4.742e-05 4.742e-05 4.742e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.735e-05 4.735e-05 4.735e-05 0.01% Castro::construct_new_source() 50 4.365e-05 4.365e-05 4.365e-05 0.00% FillPatchSingleLevel 41 3.714e-05 3.714e-05 3.714e-05 0.00% Castro::swap_state_time_levels() 10 3.669e-05 3.669e-05 3.669e-05 0.00% StateData::define() 4 3.543e-05 3.543e-05 3.543e-05 0.00% MLMG::mgVcycle_bottom 82 3.453e-05 3.453e-05 3.453e-05 0.00% MLMG::ResNormInf() 93 3.448e-05 3.448e-05 3.448e-05 0.00% MLMG::computeResidual() 82 3.445e-05 3.445e-05 3.445e-05 0.00% Amr::writeSmallPlotFile() 1 3.212e-05 3.212e-05 3.212e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.896e-05 2.896e-05 2.896e-05 0.00% Amr::defBaseLevel() 1 2.885e-05 2.885e-05 2.885e-05 0.00% Castro::initMFs() 1 2.689e-05 2.689e-05 2.689e-05 0.00% Castro::buildMetrics() 1 2.623e-05 2.623e-05 2.623e-05 0.00% makeSFC 55 2.602e-05 2.602e-05 2.602e-05 0.00% Castro::construct_new_gravity() 10 2.558e-05 2.558e-05 2.558e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.482e-05 2.482e-05 2.482e-05 0.00% MLPoisson::define() 11 2.277e-05 2.277e-05 2.277e-05 0.00% Castro::do_old_sources() 10 2.148e-05 2.148e-05 2.148e-05 0.00% Castro::construct_old_source() 50 1.969e-05 1.969e-05 1.969e-05 0.00% Amr::FinalizeInit() 1 1.881e-05 1.881e-05 1.881e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.827e-05 1.827e-05 1.827e-05 0.00% DistributionMapping::Distribute() 56 1.674e-05 1.674e-05 1.674e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.429e-05 1.429e-05 1.429e-05 0.00% MLLinOp::define() 11 1.429e-05 1.429e-05 1.429e-05 0.00% Castro::check_for_nan() 20 1.379e-05 1.379e-05 1.379e-05 0.00% Castro::apply_source_to_state() 20 1.215e-05 1.215e-05 1.215e-05 0.00% Castro::post_init() 1 1.081e-05 1.081e-05 1.081e-05 0.00% Castro::construct_old_gravity() 10 1.067e-05 1.067e-05 1.067e-05 0.00% Gravity::swapTimeLevels() 10 9.261e-06 9.261e-06 9.261e-06 0.00% MLMG::computeMLResidual() 11 9.193e-06 9.193e-06 9.193e-06 0.00% Amr::initSubcycle() 1 8.676e-06 8.676e-06 8.676e-06 0.00% MLPoisson::prepareForSolve() 11 8.299e-06 8.299e-06 8.299e-06 0.00% Gravity::actual_multilevel_solve() 1 7.786e-06 7.786e-06 7.786e-06 0.00% Castro::computeNewDt() 9 7.573e-06 7.573e-06 7.573e-06 0.00% Castro::post_timestep() 10 7.288e-06 7.288e-06 7.288e-06 0.00% MLMG::getGradSolution() 11 6.018e-06 6.018e-06 6.018e-06 0.00% Castro::expand_state() 10 5.731e-06 5.731e-06 5.731e-06 0.00% AmrLevel::checkPointPost() 3 5.311e-06 5.311e-06 5.311e-06 0.00% Amr::init() 1 5.019e-06 5.019e-06 5.019e-06 0.00% Amr::InitializeInit() 1 4.815e-06 4.815e-06 4.815e-06 0.00% Castro::retry_advance_ctu() 10 4.476e-06 4.476e-06 4.476e-06 0.00% MLMG::MLRhsNormInf() 11 4.268e-06 4.268e-06 4.268e-06 0.00% Castro::computeInitialDt() 2 3.991e-06 3.991e-06 3.991e-06 0.00% MLMG::MLResNormInf() 11 3.64e-06 3.64e-06 3.64e-06 0.00% Gravity::set_mass_offset() 11 3.422e-06 3.422e-06 3.422e-06 0.00% Castro::FluxRegCrseInit 10 3.115e-06 3.115e-06 3.115e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.978e-06 2.978e-06 2.978e-06 0.00% Castro::FluxRegFineAdd() 10 2.389e-06 2.389e-06 2.389e-06 0.00% AmrLevel::checkPointPre() 3 2.175e-06 2.175e-06 2.175e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.049e-06 2.049e-06 2.049e-06 0.00% Castro::post_regrid() 1 1.265e-06 1.265e-06 1.265e-06 0.00% Amr::initialInit() 1 1.081e-06 1.081e-06 1.081e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9012 0.9012 0.9012 100.00% Amr::coarseTimeStep() 10 0.7445 0.7445 0.7445 82.61% Amr::timeStep() 10 0.6447 0.6447 0.6447 71.54% Castro::advance() 10 0.6343 0.6343 0.6343 70.38% Castro::subcycle_advance_ctu() 10 0.6204 0.6204 0.6204 68.83% Castro::do_advance_ctu() 10 0.6202 0.6202 0.6202 68.81% Gravity::solve_phi_with_mlmg() 11 0.2898 0.2898 0.2898 32.15% Castro::construct_ctu_hydro_source() 10 0.287 0.287 0.287 31.85% Gravity::actual_solve_with_mlmg() 11 0.2802 0.2802 0.2802 31.09% Castro::construct_new_gravity() 10 0.262 0.262 0.262 29.07% MLMG::solve() 11 0.2593 0.2593 0.2593 28.77% Gravity::solve_for_phi() 10 0.2464 0.2464 0.2464 27.34% MLMG::oneIter() 82 0.2446 0.2446 0.2446 27.13% MLMG::mgVcycle() 82 0.2409 0.2409 0.2409 26.73% VisMF::Write(FabArray) 11 0.1911 0.1911 0.1911 21.21% Amr::checkPoint() 3 0.1447 0.1447 0.1447 16.06% AmrLevel::checkPoint() 3 0.1391 0.1391 0.1391 15.44% StateData::checkPoint() 12 0.1391 0.1391 0.1391 15.43% Amr::init() 1 0.1286 0.1286 0.1286 14.27% MLCellLinOp::smooth() 1640 0.122 0.122 0.122 13.54% MLCellLinOp::applyBC() 4433 0.1145 0.1145 0.1145 12.71% MLMG::mgVcycle_bottom 82 0.07239 0.07239 0.07239 8.03% MLMG::actualBottomSolve() 82 0.07235 0.07235 0.07235 8.03% MLCGSolver::bicgstab 82 0.07164 0.07164 0.07164 7.95% Amr::writePlotFile() 2 0.05465 0.05465 0.05465 6.06% Castro::clean_state() 62 0.05452 0.05452 0.05452 6.05% Amr::initialInit() 1 0.05228 0.05228 0.05228 5.80% Amr::FinalizeInit() 1 0.04744 0.04744 0.04744 5.26% AmrLevel::FillPatch() 41 0.04677 0.04677 0.04677 5.19% Castro::post_init() 1 0.04608 0.04608 0.04608 5.11% Gravity::multilevel_solve_for_new_phi() 1 0.04382 0.04382 0.04382 4.86% Gravity::actual_multilevel_solve() 1 0.0438 0.0438 0.0438 4.86% FillPatchIterator::Initialize 41 0.0426 0.0426 0.0426 4.73% FillPatchIterator::FillFromLevel0() 41 0.04108 0.04108 0.04108 4.56% FillPatchSingleLevel 41 0.04104 0.04104 0.04104 4.55% StateDataPhysBCFunct::() 41 0.03699 0.03699 0.03699 4.10% MLCellLinOp::apply() 1142 0.03592 0.03592 0.03592 3.99% MLMG::mgVcycle_down::0 82 0.03369 0.03369 0.03369 3.74% FabArray::FillBoundary() 4023 0.0327 0.0327 0.0327 3.63% MLPoisson::Fsmooth() 3280 0.03207 0.03207 0.03207 3.56% FillBoundary_nowait() 4023 0.03186 0.03186 0.03186 3.53% MLMG::mgVcycle_up::0 82 0.02539 0.02539 0.02539 2.82% StateData::FillBoundary(geom) 328 0.02529 0.02529 0.02529 2.81% MLCellLinOp::correctionResidual() 492 0.02187 0.02187 0.02187 2.43% Castro::computeTemp() 63 0.02171 0.02171 0.02171 2.41% Castro::initialize_do_advance() 10 0.02151 0.02151 0.02151 2.39% MLMG::mgVcycle_down::4 82 0.02048 0.02048 0.02048 2.27% amrex::Dot() 1114 0.02007 0.02007 0.02007 2.23% MLMG:computeResOfCorrection() 410 0.0193 0.0193 0.0193 2.14% Castro::normalize_species() 62 0.01924 0.01924 0.01924 2.13% Castro::do_old_sources() 10 0.01872 0.01872 0.01872 2.08% Gravity::get_new_grav_vector() 11 0.01742 0.01742 0.01742 1.93% MLPoisson::define() 11 0.01647 0.01647 0.01647 1.83% MLMG::mgVcycle_down::1 82 0.01567 0.01567 0.01567 1.74% Castro::construct_old_gravity() 10 0.01482 0.01482 0.01482 1.64% Gravity::get_old_grav_vector() 10 0.01481 0.01481 0.01481 1.64% amrex::Copy() 1029 0.0148 0.0148 0.0148 1.64% MLMG::mgVcycle_down::2 82 0.01451 0.01451 0.01451 1.61% FabArray::norminf() 743 0.01417 0.01417 0.01417 1.57% FabArray::ParallelCopy() 861 0.01416 0.01416 0.01416 1.57% MLMG::mgVcycle_down::3 82 0.0141 0.0141 0.0141 1.56% FabArray::ParallelCopy_nowait() 861 0.0139 0.0139 0.0139 1.54% Castro::initialize_advance() 10 0.01318 0.01318 0.01318 1.46% FabArray::setVal() 1144 0.01307 0.01307 0.01307 1.45% Castro::do_new_sources() 10 0.01262 0.01262 0.01262 1.40% MLCGSolver::ParallelAllReduce 1514 0.01203 0.01203 0.01203 1.33% Castro::expand_state() 10 0.01182 0.01182 0.01182 1.31% MLMG::addInterpCorrection() 410 0.01174 0.01174 0.01174 1.30% MLCellLinOp::defineAuxData() 11 0.0114 0.0114 0.0114 1.27% Castro::enforce_min_density() 62 0.01139 0.01139 0.01139 1.26% MLMG::mgVcycle_up::1 82 0.01132 0.01132 0.01132 1.26% MLMG::mgVcycle_up::4 82 0.01131 0.01131 0.01131 1.26% amrex::average_down 410 0.01114 0.01114 0.01114 1.24% MLMG::mgVcycle_up::2 82 0.01104 0.01104 0.01104 1.22% MLMG::mgVcycle_up::3 82 0.01081 0.01081 0.01081 1.20% Castro::post_timestep() 10 0.01028 0.01028 0.01028 1.14% MLPoisson::Fapply() 1142 0.01022 0.01022 0.01022 1.13% Gravity::fill_multipole_BCs() 11 0.009327 0.009327 0.009327 1.03% FabArray::Saxpy() 813 0.008118 0.008118 0.008118 0.90% FabArray::Xpay() 821 0.007982 0.007982 0.007982 0.89% MLCellLinOp::solutionResidual() 93 0.007391 0.007391 0.007391 0.82% Castro::estTimeStep() 21 0.006454 0.006454 0.006454 0.72% Castro::reset_internal_energy(MultiFab) 63 0.006375 0.006375 0.006375 0.71% MLMG::computeResidual() 82 0.006157 0.006157 0.006157 0.68% MLMG::prepareForSolve() 11 0.004851 0.004851 0.004851 0.54% Amr::InitializeInit() 1 0.004842 0.004842 0.004842 0.54% Amr::defBaseLevel() 1 0.004837 0.004837 0.004837 0.54% MLCellLinOp::defineBC() 11 0.004801 0.004801 0.004801 0.53% BndryData::define() 11 0.004579 0.004579 0.004579 0.51% FabArray::LinComb() 557 0.004428 0.004428 0.004428 0.49% amrex::Add() 164 0.004397 0.004397 0.004397 0.49% Castro::initData() 1 0.004185 0.004185 0.004185 0.46% Castro::construct_new_source() 50 0.00341 0.00341 0.00341 0.38% Castro::construct_new_gravity_source() 10 0.003366 0.003366 0.003366 0.37% Castro::enforce_speed_limit() 62 0.002974 0.002974 0.002974 0.33% Castro::computeNewDt() 9 0.002914 0.002914 0.002914 0.32% Castro::construct_old_source() 50 0.002843 0.002843 0.002843 0.32% Castro::construct_old_gravity_source() 10 0.002823 0.002823 0.002823 0.31% Castro::finalize_do_advance() 10 0.002518 0.002518 0.002518 0.28% MLMG::ResNormInf() 93 0.002137 0.002137 0.002137 0.24% Castro::apply_source_to_state() 20 0.001864 0.001864 0.001864 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00171 0.00171 0.00171 0.19% check_for_negative_density() 10 0.001684 0.001684 0.001684 0.19% Castro::reset_internal_energy(Fab) 504 0.001542 0.001542 0.001542 0.17% MLMG::getGradSolution() 11 0.001525 0.001525 0.001525 0.17% MLCellLinOp::compGrad() 11 0.001519 0.001519 0.001519 0.17% FabArrayBase::getCPC() 1323 0.001479 0.001479 0.001479 0.16% MLCellLinOp::setLevelBC() 11 0.001411 0.001411 0.001411 0.16% FabArray::mult() 43 0.001361 0.001361 0.001361 0.15% FabArray::setDomainBndry() 41 0.001302 0.001302 0.001302 0.14% MLMG::computeMLResidual() 11 0.001278 0.001278 0.001278 0.14% Castro::check_for_nan() 20 0.001276 0.001276 0.001276 0.14% MultiFab::contains_nan() 20 0.001262 0.001262 0.001262 0.14% MLPoisson::prepareForSolve() 11 0.001234 0.001234 0.001234 0.14% MLCellLinOp::prepareForSolve() 11 0.001225 0.001225 0.001225 0.14% Castro::computeInitialDt() 2 0.001082 0.001082 0.001082 0.12% Castro::post_regrid() 1 0.001058 0.001058 0.001058 0.12% Gravity::update_max_rhs() 11 0.0009653 0.0009653 0.0009653 0.11% FabArrayBase::getFB() 4023 0.0007387 0.0007387 0.0007387 0.08% FabArrayBase::CPC::define() 454 0.0006925 0.0006925 0.0006925 0.08% Castro::finalize_advance() 10 0.0005918 0.0005918 0.0005918 0.07% Castro::Castro() 1 0.0005597 0.0005597 0.0005597 0.06% Amr::InitAmr() 1 0.0004943 0.0004943 0.0004943 0.05% Gravity::swapTimeLevels() 10 0.0004322 0.0004322 0.0004322 0.05% MultiFab::max() 11 0.0003286 0.0003286 0.0003286 0.04% MLMG::MLResNormInf() 11 0.0003259 0.0003259 0.0003259 0.04% Castro::buildMetrics() 1 0.0002745 0.0002745 0.0002745 0.03% MLLinOp::define() 11 0.0002442 0.0002442 0.0002442 0.03% MLLinOp::defineGrids() 11 0.0002299 0.0002299 0.0002299 0.03% MLMG::MLRhsNormInf() 11 0.0002201 0.0002201 0.0002201 0.02% Castro::create_source_corrector() 10 0.0001591 0.0001591 0.0001591 0.02% FabArrayBase::FB::FB() 56 9.854e-05 9.854e-05 9.854e-05 0.01% Castro::enforce_consistent_e() 1 7.046e-05 7.046e-05 7.046e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.025e-05 6.025e-05 6.025e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.596e-05 5.596e-05 5.596e-05 0.01% makeSFC 55 4.167e-05 4.167e-05 4.167e-05 0.00% Castro::swap_state_time_levels() 10 3.669e-05 3.669e-05 3.669e-05 0.00% StateData::define() 4 3.543e-05 3.543e-05 3.543e-05 0.00% Amr::writeSmallPlotFile() 1 3.212e-05 3.212e-05 3.212e-05 0.00% Castro::initMFs() 1 2.689e-05 2.689e-05 2.689e-05 0.00% DistributionMapping::Distribute() 56 1.674e-05 1.674e-05 1.674e-05 0.00% Amr::initSubcycle() 1 8.676e-06 8.676e-06 8.676e-06 0.00% AmrLevel::checkPointPost() 3 5.311e-06 5.311e-06 5.311e-06 0.00% Castro::retry_advance_ctu() 10 4.476e-06 4.476e-06 4.476e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.074e-06 4.074e-06 4.074e-06 0.00% Gravity::set_mass_offset() 11 3.422e-06 3.422e-06 3.422e-06 0.00% Castro::FluxRegCrseInit 10 3.115e-06 3.115e-06 3.115e-06 0.00% Castro::FluxRegFineAdd() 10 2.389e-06 2.389e-06 2.389e-06 0.00% AmrLevel::checkPointPre() 3 2.175e-06 2.175e-06 2.175e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.049e-06 2.049e-06 2.049e-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 141 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 1018 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1706 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3539 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 200 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 168 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2072 B 2048 KiB Gravity::solve_for_phi() 80 80 559 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 99 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3492 B 480 KiB VisMF::Write(FabArray) 656 656 3301 B 320 KiB Castro::normalize_species() 62 62 6951 B 320 KiB amrex::average_down 1067 1067 1241 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1119 B 257 KiB amrex::Dot() 1360 1360 3282 B 160 KiB FabArray::norminf() 907 907 2322 B 160 KiB check_for_negative_density() 10 10 284 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 27 B 20 KiB MLPoisson::Fsmooth() 132 132 3457 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 8866 8866 224 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3931 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 115 B 1472 B MLCellLinOp::defineBC() 66 66 364 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 537 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 476 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3457 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 302 B 9648 B MLCellLinOp::applyBC() 4433 4433 223 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3931 B 6144 B Gravity::get_new_grav_vector() 3 3 2895 B 3072 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 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): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09) initialized Starting run at 07:38:54 UTC on 2023-09-05. Successfully read inputs file ... Castro git describe: 23.09 AMReX git describe: 23.09 Microphysics git describe: 23.08-19-gbb8d2a2b reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.492770585 Restart time = 0.049424368 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.052820251 [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.060795289 [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.076212448 [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.074794955 [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.053939334 [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.058905803 seconds Ending run at 07:38:54 UTC on 2023-09-05. Run time = 0.427849823 Run time without initialization = 0.377868123 Average number of zones advanced per microsecond: 3.469 Average number of zones advanced per microsecond per rank: 3.469 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4279 ... 0.4279 ... 0.4279 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1360 0.1360 0.1360 31.77% VisMF::Read() 3 0.03812 0.03812 0.03812 8.91% MLCellLinOp::applyBC() 1946 0.03267 0.03267 0.03267 7.64% Amr::writePlotFile() 1 0.03181 0.03181 0.03181 7.43% VisMF::Write(FabArray) 1 0.02693 0.02693 0.02693 6.29% MLPoisson::Fsmooth() 1440 0.01373 0.01373 0.01373 3.21% FillBoundary_nowait() 1766 0.01322 0.01322 0.01322 3.09% StateData::FillBoundary(geom) 160 0.01233 0.01233 0.01233 2.88% amrex::Dot() 484 0.008642 0.008642 0.008642 2.02% Castro::normalize_species() 30 0.008048 0.008048 0.008048 1.88% amrex::Copy() 463 0.007039 0.007039 0.007039 1.65% FabArray::setVal() 537 0.006299 0.006299 0.006299 1.47% Castro::computeTemp() 30 0.006193 0.006193 0.006193 1.45% FabArray::norminf() 326 0.006141 0.006141 0.006141 1.44% FabArray::ParallelCopy_nowait() 380 0.005919 0.005919 0.005919 1.38% Gravity::fill_multipole_BCs() 6 0.005426 0.005426 0.005426 1.27% Castro::enforce_min_density() 30 0.005362 0.005362 0.005362 1.25% MLCellLinOp::defineAuxData() 6 0.005356 0.005356 0.005356 1.25% Castro::estTimeStep() 10 0.004839 0.004839 0.004839 1.13% Amr::restart() 1 0.004684 0.004684 0.004684 1.09% MLPoisson::Fapply() 500 0.004418 0.004418 0.004418 1.03% StateDataPhysBCFunct::() 20 0.004326 0.004326 0.004326 1.01% FabArray::Saxpy() 355 0.003668 0.003668 0.003668 0.86% FabArray::Xpay() 361 0.003472 0.003472 0.003472 0.81% MLMG::addInterpCorrection() 180 0.002987 0.002987 0.002987 0.70% amrex::average_down 180 0.002625 0.002625 0.002625 0.61% FabArray::LinComb() 242 0.002183 0.002183 0.002183 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002076 0.002076 0.002076 0.49% BndryData::define() 6 0.001952 0.001952 0.001952 0.46% amrex::Add() 72 0.001865 0.001865 0.001865 0.44% Castro::construct_new_gravity_source() 5 0.00167 0.00167 0.00167 0.39% Castro::construct_old_gravity_source() 5 0.001468 0.001468 0.001468 0.34% MLCGSolver::bicgstab 36 0.000971 0.000971 0.000971 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009272 0.0009272 0.0009272 0.22% check_for_negative_density() 5 0.000832 0.000832 0.000832 0.19% Gravity::actual_solve_with_mlmg() 6 0.0008248 0.0008248 0.0008248 0.19% MLCellLinOp::setLevelBC() 6 0.0007711 0.0007711 0.0007711 0.18% Castro::reset_internal_energy(Fab) 240 0.0007692 0.0007692 0.0007692 0.18% MLCellLinOp::prepareForSolve() 6 0.0006886 0.0006886 0.0006886 0.16% FabArray::mult() 22 0.0006782 0.0006782 0.0006782 0.16% Castro::subcycle_advance_ctu() 5 0.000672 0.000672 0.000672 0.16% FabArray::setDomainBndry() 20 0.0006658 0.0006658 0.0006658 0.16% MultiFab::contains_nan() 10 0.0006464 0.0006464 0.0006464 0.15% MLCellLinOp::compGrad() 6 0.0005784 0.0005784 0.0005784 0.14% MLMG::prepareForSolve() 6 0.0005346 0.0005346 0.0005346 0.12% MLCellLinOp::smooth() 720 0.0005103 0.0005103 0.0005103 0.12% FabArrayBase::CPC::define() 244 0.0004362 0.0004362 0.0004362 0.10% Amr::InitAmr() 1 0.0003925 0.0003925 0.0003925 0.09% Castro::enforce_speed_limit() 30 0.0003857 0.0003857 0.0003857 0.09% FabArray::FillBoundary() 1766 0.0003824 0.0003824 0.0003824 0.09% FabArrayBase::getCPC() 632 0.0003643 0.0003643 0.0003643 0.09% Gravity::get_old_grav_vector() 5 0.000292 0.000292 0.000292 0.07% main() 1 0.0002625 0.0002625 0.0002625 0.06% FabArrayBase::getFB() 1766 0.0002622 0.0002622 0.0002622 0.06% Gravity::get_new_grav_vector() 5 0.0002356 0.0002356 0.0002356 0.06% MultiFab::max() 6 0.0002021 0.0002021 0.0002021 0.05% MLCellLinOp::apply() 500 0.0001939 0.0001939 0.0001939 0.05% AmrLevel::FillPatch() 20 0.000162 0.000162 0.000162 0.04% Amr::coarseTimeStep() 5 0.0001546 0.0001546 0.0001546 0.04% MLCGSolver::ParallelAllReduce 659 0.0001192 0.0001192 0.0001192 0.03% MLCellLinOp::defineBC() 6 0.0001131 0.0001131 0.0001131 0.03% Castro::construct_new_source() 25 0.0001126 0.0001126 0.0001126 0.03% FabArray::ParallelCopy() 380 0.0001122 0.0001122 0.0001122 0.03% FillPatchIterator::Initialize 20 0.0001058 0.0001058 0.0001058 0.02% MLCellLinOp::correctionResidual() 216 9.741e-05 9.741e-05 9.741e-05 0.02% MLLinOp::defineGrids() 6 9.381e-05 9.381e-05 9.381e-05 0.02% MLMG::mgVcycle() 36 8.933e-05 8.933e-05 8.933e-05 0.02% Amr::timeStep() 5 8.498e-05 8.498e-05 8.498e-05 0.02% Castro::do_new_sources() 5 8.208e-05 8.208e-05 8.208e-05 0.02% Castro::finalize_do_advance() 5 8.157e-05 8.157e-05 8.157e-05 0.02% Castro::create_source_corrector() 5 8.092e-05 8.092e-05 8.092e-05 0.02% Gravity::solve_for_phi() 5 7.64e-05 7.64e-05 7.64e-05 0.02% AmrLevel::restart() 1 7.396e-05 7.396e-05 7.396e-05 0.02% Gravity::update_max_rhs() 6 6.635e-05 6.635e-05 6.635e-05 0.02% FabArrayBase::FB::FB() 26 6.026e-05 6.026e-05 6.026e-05 0.01% StateData::restartDoit() 4 5.888e-05 5.888e-05 5.888e-05 0.01% MLMG:computeResOfCorrection() 180 5.264e-05 5.264e-05 5.264e-05 0.01% Castro::advance() 5 4.94e-05 4.94e-05 4.94e-05 0.01% MLMG::actualBottomSolve() 36 4.383e-05 4.383e-05 4.383e-05 0.01% MLMG::solve() 6 4.023e-05 4.023e-05 4.023e-05 0.01% MLMG::mgVcycle_down::0 36 3.891e-05 3.891e-05 3.891e-05 0.01% Castro::initialize_advance() 5 3.765e-05 3.765e-05 3.765e-05 0.01% Castro::post_restart() 1 3.647e-05 3.647e-05 3.647e-05 0.01% MLMG::mgVcycle_down::1 36 3.357e-05 3.357e-05 3.357e-05 0.01% Castro::clean_state() 30 3.249e-05 3.249e-05 3.249e-05 0.01% MLMG::mgVcycle_down::2 36 3.136e-05 3.136e-05 3.136e-05 0.01% MLMG::mgVcycle_down::4 36 3.075e-05 3.075e-05 3.075e-05 0.01% Castro::post_timestep() 5 3.071e-05 3.071e-05 3.071e-05 0.01% Castro::initialize_do_advance() 5 3.008e-05 3.008e-05 3.008e-05 0.01% Castro::finalize_advance() 5 3.006e-05 3.006e-05 3.006e-05 0.01% MLMG::mgVcycle_up::4 36 2.949e-05 2.949e-05 2.949e-05 0.01% MLMG::mgVcycle_down::3 36 2.945e-05 2.945e-05 2.945e-05 0.01% Castro::buildMetrics() 1 2.681e-05 2.681e-05 2.681e-05 0.01% Amr::writeSmallPlotFile() 1 2.605e-05 2.605e-05 2.605e-05 0.01% Castro::swap_state_time_levels() 5 2.398e-05 2.398e-05 2.398e-05 0.01% Castro::do_advance_ctu() 5 2.395e-05 2.395e-05 2.395e-05 0.01% Castro::initMFs() 1 2.34e-05 2.34e-05 2.34e-05 0.01% MLCellLinOp::solutionResidual() 42 2.336e-05 2.336e-05 2.336e-05 0.01% MLMG::oneIter() 36 2.295e-05 2.295e-05 2.295e-05 0.01% MLMG::mgVcycle_up::0 36 2.292e-05 2.292e-05 2.292e-05 0.01% MLMG::mgVcycle_up::3 36 2.221e-05 2.221e-05 2.221e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.215e-05 2.215e-05 2.215e-05 0.01% MLMG::mgVcycle_up::2 36 2.078e-05 2.078e-05 2.078e-05 0.00% MLMG::mgVcycle_up::1 36 1.988e-05 1.988e-05 1.988e-05 0.00% Castro::do_old_sources() 5 1.952e-05 1.952e-05 1.952e-05 0.00% MLPoisson::define() 6 1.88e-05 1.88e-05 1.88e-05 0.00% MLMG::ResNormInf() 42 1.781e-05 1.781e-05 1.781e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.634e-05 1.634e-05 1.634e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.511e-05 1.511e-05 1.511e-05 0.00% MLMG::mgVcycle_bottom 36 1.497e-05 1.497e-05 1.497e-05 0.00% FillPatchSingleLevel 20 1.48e-05 1.48e-05 1.48e-05 0.00% MLMG::computeResidual() 36 1.347e-05 1.347e-05 1.347e-05 0.00% makeSFC 30 1.318e-05 1.318e-05 1.318e-05 0.00% Castro::construct_new_gravity() 5 1.301e-05 1.301e-05 1.301e-05 0.00% MLLinOp::define() 6 1.059e-05 1.059e-05 1.059e-05 0.00% Castro::construct_old_source() 25 1.054e-05 1.054e-05 1.054e-05 0.00% DistributionMapping::Distribute() 31 9.472e-06 9.472e-06 9.472e-06 0.00% MLMG::getGradSolution() 6 9.144e-06 9.144e-06 9.144e-06 0.00% Amr::initSubcycle() 1 8.571e-06 8.571e-06 8.571e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.285e-06 8.285e-06 8.285e-06 0.00% Gravity::actual_multilevel_solve() 1 7.939e-06 7.939e-06 7.939e-06 0.00% Castro::check_for_nan() 10 7.306e-06 7.306e-06 7.306e-06 0.00% Castro::construct_old_gravity() 5 6.814e-06 6.814e-06 6.814e-06 0.00% Castro::apply_source_to_state() 10 6.103e-06 6.103e-06 6.103e-06 0.00% Gravity::swapTimeLevels() 5 4.488e-06 4.488e-06 4.488e-06 0.00% MLMG::computeMLResidual() 6 4.216e-06 4.216e-06 4.216e-06 0.00% MLPoisson::prepareForSolve() 6 4.06e-06 4.06e-06 4.06e-06 0.00% Castro::computeNewDt() 5 3.771e-06 3.771e-06 3.771e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.347e-06 3.347e-06 3.347e-06 0.00% Castro::expand_state() 5 2.832e-06 2.832e-06 2.832e-06 0.00% MLMG::MLResNormInf() 6 2.792e-06 2.792e-06 2.792e-06 0.00% MLMG::MLRhsNormInf() 6 2.251e-06 2.251e-06 2.251e-06 0.00% Gravity::set_mass_offset() 6 2.07e-06 2.07e-06 2.07e-06 0.00% Castro::retry_advance_ctu() 5 2.064e-06 2.064e-06 2.064e-06 0.00% Castro::FluxRegCrseInit 5 1.546e-06 1.546e-06 1.546e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.144e-06 1.144e-06 1.144e-06 0.00% Castro::FluxRegFineAdd() 5 1.028e-06 1.028e-06 1.028e-06 0.00% Amr::init() 1 9.6e-07 9.6e-07 9.6e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4279 0.4279 0.4279 100.00% Amr::coarseTimeStep() 5 0.3187 0.3187 0.3187 74.49% Amr::timeStep() 5 0.3159 0.3159 0.3159 73.82% Castro::advance() 5 0.3124 0.3124 0.3124 73.02% Castro::subcycle_advance_ctu() 5 0.3059 0.3059 0.3059 71.50% Castro::do_advance_ctu() 5 0.3052 0.3052 0.3052 71.34% Castro::construct_ctu_hydro_source() 5 0.1407 0.1407 0.1407 32.87% Castro::construct_new_gravity() 5 0.129 0.129 0.129 30.15% Gravity::solve_phi_with_mlmg() 6 0.1269 0.1269 0.1269 29.66% Gravity::solve_for_phi() 5 0.1214 0.1214 0.1214 28.37% Gravity::actual_solve_with_mlmg() 6 0.1213 0.1213 0.1213 28.34% MLMG::solve() 6 0.1099 0.1099 0.1099 25.69% MLMG::oneIter() 36 0.1027 0.1027 0.1027 24.00% MLMG::mgVcycle() 36 0.1012 0.1012 0.1012 23.64% Amr::writePlotFile() 1 0.05899 0.05899 0.05899 13.79% MLCellLinOp::smooth() 720 0.04953 0.04953 0.04953 11.58% Amr::init() 1 0.04947 0.04947 0.04947 11.56% Amr::restart() 1 0.04947 0.04947 0.04947 11.56% MLCellLinOp::applyBC() 1946 0.0466 0.0466 0.0466 10.89% AmrLevel::restart() 1 0.03846 0.03846 0.03846 8.99% StateData::restartDoit() 4 0.03838 0.03838 0.03838 8.97% VisMF::Read() 3 0.03812 0.03812 0.03812 8.91% MLMG::mgVcycle_bottom 36 0.03141 0.03141 0.03141 7.34% MLMG::actualBottomSolve() 36 0.03139 0.03139 0.03139 7.34% MLCGSolver::bicgstab 36 0.03109 0.03109 0.03109 7.27% VisMF::Write(FabArray) 1 0.02693 0.02693 0.02693 6.29% Castro::clean_state() 30 0.02287 0.02287 0.02287 5.34% AmrLevel::FillPatch() 20 0.02155 0.02155 0.02155 5.04% FillPatchIterator::Initialize 20 0.0195 0.0195 0.0195 4.56% FillPatchIterator::FillFromLevel0() 20 0.01873 0.01873 0.01873 4.38% FillPatchSingleLevel 20 0.0187 0.0187 0.0187 4.37% StateDataPhysBCFunct::() 20 0.01666 0.01666 0.01666 3.89% MLCellLinOp::apply() 500 0.01564 0.01564 0.01564 3.66% MLMG::mgVcycle_down::0 36 0.01452 0.01452 0.01452 3.39% FabArray::FillBoundary() 1766 0.01393 0.01393 0.01393 3.25% MLPoisson::Fsmooth() 1440 0.01373 0.01373 0.01373 3.21% FillBoundary_nowait() 1766 0.01354 0.01354 0.01354 3.17% StateData::FillBoundary(geom) 160 0.01233 0.01233 0.01233 2.88% MLMG::mgVcycle_up::0 36 0.0109 0.0109 0.0109 2.55% Castro::initialize_do_advance() 5 0.01001 0.01001 0.01001 2.34% Castro::do_old_sources() 5 0.009567 0.009567 0.009567 2.24% MLCellLinOp::correctionResidual() 216 0.009421 0.009421 0.009421 2.20% Castro::computeTemp() 30 0.009038 0.009038 0.009038 2.11% MLPoisson::define() 6 0.008902 0.008902 0.008902 2.08% amrex::Dot() 484 0.008642 0.008642 0.008642 2.02% MLMG:computeResOfCorrection() 180 0.008301 0.008301 0.008301 1.94% Castro::normalize_species() 30 0.008048 0.008048 0.008048 1.88% Gravity::get_new_grav_vector() 5 0.007506 0.007506 0.007506 1.75% Castro::construct_old_gravity() 5 0.007373 0.007373 0.007373 1.72% Gravity::get_old_grav_vector() 5 0.007366 0.007366 0.007366 1.72% amrex::Copy() 463 0.007039 0.007039 0.007039 1.65% MLMG::mgVcycle_down::1 36 0.006804 0.006804 0.006804 1.59% FabArray::ParallelCopy() 380 0.006432 0.006432 0.006432 1.50% FabArray::ParallelCopy_nowait() 380 0.00632 0.00632 0.00632 1.48% FabArray::setVal() 537 0.006299 0.006299 0.006299 1.47% MLMG::mgVcycle_down::2 36 0.006212 0.006212 0.006212 1.45% Castro::initialize_advance() 5 0.006171 0.006171 0.006171 1.44% Castro::post_restart() 1 0.00616 0.00616 0.00616 1.44% FabArray::norminf() 326 0.006141 0.006141 0.006141 1.44% MLCellLinOp::defineAuxData() 6 0.006134 0.006134 0.006134 1.43% MLMG::mgVcycle_down::3 36 0.006079 0.006079 0.006079 1.42% MLMG::mgVcycle_down::4 36 0.005977 0.005977 0.005977 1.40% Castro::do_new_sources() 5 0.005904 0.005904 0.005904 1.38% Gravity::multilevel_solve_for_new_phi() 1 0.005791 0.005791 0.005791 1.35% Gravity::actual_multilevel_solve() 1 0.005775 0.005775 0.005775 1.35% Gravity::fill_multipole_BCs() 6 0.005545 0.005545 0.005545 1.30% Castro::enforce_min_density() 30 0.005362 0.005362 0.005362 1.25% Castro::expand_state() 5 0.005304 0.005304 0.005304 1.24% MLCGSolver::ParallelAllReduce 659 0.00524 0.00524 0.00524 1.22% MLMG::addInterpCorrection() 180 0.00517 0.00517 0.00517 1.21% MLMG::mgVcycle_up::4 36 0.004913 0.004913 0.004913 1.15% MLMG::mgVcycle_up::1 36 0.004858 0.004858 0.004858 1.14% amrex::average_down 180 0.00484 0.00484 0.00484 1.13% Castro::estTimeStep() 10 0.004839 0.004839 0.004839 1.13% MLMG::mgVcycle_up::2 36 0.004751 0.004751 0.004751 1.11% MLMG::mgVcycle_up::3 36 0.004643 0.004643 0.004643 1.09% MLPoisson::Fapply() 500 0.004418 0.004418 0.004418 1.03% FabArray::Saxpy() 355 0.003668 0.003668 0.003668 0.86% FabArray::Xpay() 361 0.003472 0.003472 0.003472 0.81% MLCellLinOp::solutionResidual() 42 0.003409 0.003409 0.003409 0.80% Castro::post_timestep() 5 0.003349 0.003349 0.003349 0.78% Castro::reset_internal_energy(MultiFab) 30 0.002846 0.002846 0.002846 0.67% Castro::computeNewDt() 5 0.002694 0.002694 0.002694 0.63% MLMG::prepareForSolve() 6 0.002672 0.002672 0.002672 0.62% MLMG::computeResidual() 36 0.002666 0.002666 0.002666 0.62% MLCellLinOp::defineBC() 6 0.002615 0.002615 0.002615 0.61% BndryData::define() 6 0.002501 0.002501 0.002501 0.58% Castro::finalize_do_advance() 5 0.002231 0.002231 0.002231 0.52% FabArray::LinComb() 242 0.002183 0.002183 0.002183 0.51% amrex::Add() 72 0.001865 0.001865 0.001865 0.44% Castro::construct_new_source() 25 0.001783 0.001783 0.001783 0.42% Castro::construct_new_gravity_source() 5 0.00167 0.00167 0.00167 0.39% Castro::construct_old_source() 25 0.001478 0.001478 0.001478 0.35% Castro::construct_old_gravity_source() 5 0.001468 0.001468 0.001468 0.34% MLMG::ResNormInf() 42 0.0009743 0.0009743 0.0009743 0.23% Castro::apply_source_to_state() 10 0.0009576 0.0009576 0.0009576 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009272 0.0009272 0.0009272 0.22% MLMG::getGradSolution() 6 0.0008576 0.0008576 0.0008576 0.20% MLCellLinOp::compGrad() 6 0.0008485 0.0008485 0.0008485 0.20% check_for_negative_density() 5 0.000832 0.000832 0.000832 0.19% FabArrayBase::getCPC() 632 0.0008006 0.0008006 0.0008006 0.19% MLCellLinOp::setLevelBC() 6 0.0007711 0.0007711 0.0007711 0.18% Castro::reset_internal_energy(Fab) 240 0.0007692 0.0007692 0.0007692 0.18% MLMG::computeMLResidual() 6 0.000761 0.000761 0.000761 0.18% Gravity::update_max_rhs() 6 0.0006944 0.0006944 0.0006944 0.16% MLPoisson::prepareForSolve() 6 0.0006927 0.0006927 0.0006927 0.16% MLCellLinOp::prepareForSolve() 6 0.0006886 0.0006886 0.0006886 0.16% FabArray::mult() 22 0.0006782 0.0006782 0.0006782 0.16% FabArray::setDomainBndry() 20 0.0006658 0.0006658 0.0006658 0.16% Castro::check_for_nan() 10 0.0006537 0.0006537 0.0006537 0.15% MultiFab::contains_nan() 10 0.0006464 0.0006464 0.0006464 0.15% FabArrayBase::CPC::define() 244 0.0004362 0.0004362 0.0004362 0.10% Amr::InitAmr() 1 0.0004011 0.0004011 0.0004011 0.09% Castro::enforce_speed_limit() 30 0.0003857 0.0003857 0.0003857 0.09% FabArrayBase::getFB() 1766 0.0003224 0.0003224 0.0003224 0.08% Castro::finalize_advance() 5 0.0002876 0.0002876 0.0002876 0.07% Gravity::swapTimeLevels() 5 0.0002233 0.0002233 0.0002233 0.05% MultiFab::max() 6 0.0002021 0.0002021 0.0002021 0.05% MLMG::MLResNormInf() 6 0.0001859 0.0001859 0.0001859 0.04% Castro::buildMetrics() 1 0.0001438 0.0001438 0.0001438 0.03% MLLinOp::define() 6 0.0001351 0.0001351 0.0001351 0.03% MLLinOp::defineGrids() 6 0.0001245 0.0001245 0.0001245 0.03% MLMG::MLRhsNormInf() 6 0.0001168 0.0001168 0.0001168 0.03% Castro::create_source_corrector() 5 8.092e-05 8.092e-05 8.092e-05 0.02% FabArrayBase::FB::FB() 26 6.026e-05 6.026e-05 6.026e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.954e-05 2.954e-05 2.954e-05 0.01% Amr::writeSmallPlotFile() 1 2.605e-05 2.605e-05 2.605e-05 0.01% Castro::swap_state_time_levels() 5 2.398e-05 2.398e-05 2.398e-05 0.01% Castro::initMFs() 1 2.34e-05 2.34e-05 2.34e-05 0.01% makeSFC 30 2.125e-05 2.125e-05 2.125e-05 0.00% DistributionMapping::Distribute() 31 9.472e-06 9.472e-06 9.472e-06 0.00% Amr::initSubcycle() 1 8.571e-06 8.571e-06 8.571e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.747e-06 4.747e-06 4.747e-06 0.00% Gravity::set_mass_offset() 6 2.07e-06 2.07e-06 2.07e-06 0.00% Castro::retry_advance_ctu() 5 2.064e-06 2.064e-06 2.064e-06 0.00% Castro::FluxRegCrseInit 5 1.546e-06 1.546e-06 1.546e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.144e-06 1.144e-06 1.144e-06 0.00% Castro::FluxRegFineAdd() 5 1.028e-06 1.028e-06 1.028e-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 195 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 140 MiB 692 MiB Castro::initMFs() 48 48 61 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 983 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1863 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6802 KiB 14 MiB MLMG::prepareForSolve() 361 361 3153 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 178 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 179 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6789 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3213 B 2048 KiB Gravity::solve_for_phi() 40 40 579 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 290 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 186 KiB 671 KiB Castro::estTimeStep() 10 10 5428 B 480 KiB VisMF::Write(FabArray) 112 112 1264 B 320 KiB Castro::normalize_species() 30 30 6117 B 320 KiB amrex::average_down 469 469 1128 B 257 KiB MLMG::addInterpCorrection() 468 468 1032 B 257 KiB amrex::Dot() 592 592 2970 B 160 KiB FabArray::norminf() 398 398 2117 B 160 KiB check_for_negative_density() 5 5 309 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3057 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 268 B 9648 B MLCellLinOp::applyBC() 3892 3892 199 B 9344 B amrex::Copy() 56 56 5889 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 105 B 1472 B MLCellLinOp::defineBC() 36 36 326 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1171 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 180 KiB 3584 KiB VisMF::Read() 24 24 173 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3057 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 268 B 9648 B MLCellLinOp::applyBC() 1946 1946 198 B 9328 B amrex::Copy() 56 56 5889 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2668 B 3072 B StateData::FillBoundary(geom) 960 960 38 B 3024 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 503 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 21 B 400 B FabArray::norminf() 398 398 15 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09) finalized