Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-40-gd4d0e9031d03) initialized Starting run at 07:39:25 UTC on 2023-08-23. Successfully read inputs file ... Castro git describe: 23.08-6-g41b0e2684 AMReX git describe: 23.08-40-gd4d0e9031 Microphysics git describe: 23.08-15-gced7cc41 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.051319472 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02947945 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.051041661 [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.0502261 [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.073155977 [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.07340295 [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.059776085 [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.050266497 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.070785513 [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.067926478 [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.077262518 [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.074571967 [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.054408368 [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.07239612 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028716412 seconds Ending run at 07:39:26 UTC on 2023-08-23. Run time = 0.94042721 Run time without initialization = 0.804728049 Average number of zones advanced per microsecond: 3.258 Average number of zones advanced per microsecond per rank: 3.258 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9405 ... 0.9405 ... 0.9405 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2743 0.2743 0.2743 29.17% VisMF::Write(FabArray) 11 0.2026 0.2026 0.2026 21.54% MLCellLinOp::applyBC() 4433 0.07776 0.07776 0.07776 8.27% MLPoisson::Fsmooth() 3280 0.03309 0.03309 0.03309 3.52% FillBoundary_nowait() 4023 0.03128 0.03128 0.03128 3.33% Amr::checkPoint() 3 0.02707 0.02707 0.02707 2.88% StateData::FillBoundary(geom) 328 0.02632 0.02632 0.02632 2.80% Castro::normalize_species() 62 0.02201 0.02201 0.02201 2.34% amrex::Dot() 1114 0.02117 0.02117 0.02117 2.25% Castro::computeTemp() 63 0.0173 0.0173 0.0173 1.84% amrex::Copy() 1029 0.01517 0.01517 0.01517 1.61% FabArray::norminf() 743 0.01475 0.01475 0.01475 1.57% Castro::enforce_min_density() 62 0.01357 0.01357 0.01357 1.44% FabArray::ParallelCopy_nowait() 861 0.01354 0.01354 0.01354 1.44% FabArray::setVal() 1144 0.01351 0.01351 0.01351 1.44% StateDataPhysBCFunct::() 41 0.01112 0.01112 0.01112 1.18% MLPoisson::Fapply() 1142 0.01065 0.01065 0.01065 1.13% MLCellLinOp::defineAuxData() 11 0.01004 0.01004 0.01004 1.07% Gravity::fill_multipole_BCs() 11 0.009566 0.009566 0.009566 1.02% FabArray::Saxpy() 813 0.008423 0.008423 0.008423 0.90% FabArray::Xpay() 821 0.008303 0.008303 0.008303 0.88% MLMG::addInterpCorrection() 410 0.006873 0.006873 0.006873 0.73% Castro::estTimeStep() 21 0.006248 0.006248 0.006248 0.66% amrex::average_down 410 0.00614 0.00614 0.00614 0.65% Castro::reset_internal_energy(MultiFab) 63 0.004803 0.004803 0.004803 0.51% FabArray::LinComb() 557 0.004665 0.004665 0.004665 0.50% amrex::Add() 164 0.004448 0.004448 0.004448 0.47% BndryData::define() 11 0.003822 0.003822 0.003822 0.41% Castro::construct_new_gravity_source() 10 0.003303 0.003303 0.003303 0.35% Castro::construct_old_gravity_source() 10 0.002879 0.002879 0.002879 0.31% MLCGSolver::bicgstab 82 0.002205 0.002205 0.002205 0.23% Amr::writePlotFile() 2 0.00202 0.00202 0.00202 0.21% Castro::reset_internal_energy(Fab) 504 0.001784 0.001784 0.001784 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001762 0.001762 0.001762 0.19% check_for_negative_density() 10 0.001724 0.001724 0.001724 0.18% Castro::enforce_speed_limit() 62 0.00164 0.00164 0.00164 0.17% Gravity::actual_solve_with_mlmg() 11 0.001511 0.001511 0.001511 0.16% Castro::initData() 1 0.001502 0.001502 0.001502 0.16% MLCellLinOp::setLevelBC() 11 0.001462 0.001462 0.001462 0.16% FabArray::mult() 43 0.001356 0.001356 0.001356 0.14% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.14% MLCellLinOp::prepareForSolve() 11 0.001287 0.001287 0.001287 0.14% MultiFab::contains_nan() 20 0.001264 0.001264 0.001264 0.13% MLCellLinOp::compGrad() 11 0.001065 0.001065 0.001065 0.11% MLCellLinOp::smooth() 1640 0.001018 0.001018 0.001018 0.11% MLMG::prepareForSolve() 11 0.0009557 0.0009557 0.0009557 0.10% FabArray::FillBoundary() 4023 0.0008549 0.0008549 0.0008549 0.09% FabArrayBase::getCPC() 1323 0.000772 0.000772 0.000772 0.08% FabArrayBase::CPC::define() 454 0.0007015 0.0007015 0.0007015 0.07% FabArrayBase::getFB() 4023 0.000644 0.000644 0.000644 0.07% Gravity::get_new_grav_vector() 11 0.000595 0.000595 0.000595 0.06% Amr::InitAmr() 1 0.0005288 0.0005288 0.0005288 0.06% Amr::coarseTimeStep() 10 0.0004808 0.0004808 0.0004808 0.05% Gravity::get_old_grav_vector() 10 0.0004776 0.0004776 0.0004776 0.05% MLCellLinOp::apply() 1142 0.0004481 0.0004481 0.0004481 0.05% AmrLevel::FillPatch() 41 0.0003275 0.0003275 0.0003275 0.03% MultiFab::max() 11 0.0003243 0.0003243 0.0003243 0.03% main() 1 0.0002997 0.0002997 0.0002997 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002929 0.0002929 0.0002929 0.03% FabArray::ParallelCopy() 861 0.0002605 0.0002605 0.0002605 0.03% MLCellLinOp::correctionResidual() 492 0.0002244 0.0002244 0.0002244 0.02% FillPatchIterator::Initialize 41 0.0002157 0.0002157 0.0002157 0.02% MLCellLinOp::defineBC() 11 0.0002138 0.0002138 0.0002138 0.02% Castro::subcycle_advance_ctu() 10 0.0002136 0.0002136 0.0002136 0.02% Castro::create_source_corrector() 10 0.0002024 0.0002024 0.0002024 0.02% MLMG::mgVcycle() 82 0.0002017 0.0002017 0.0002017 0.02% MLLinOp::defineGrids() 11 0.0001541 0.0001541 0.0001541 0.02% Amr::timeStep() 10 0.0001524 0.0001524 0.0001524 0.02% Gravity::solve_for_phi() 10 0.000148 0.000148 0.000148 0.02% StateData::checkPoint() 12 0.0001326 0.0001326 0.0001326 0.01% Gravity::update_max_rhs() 11 0.0001272 0.0001272 0.0001272 0.01% MLMG:computeResOfCorrection() 410 0.0001137 0.0001137 0.0001137 0.01% Castro::Castro() 1 0.0001108 0.0001108 0.0001108 0.01% FabArrayBase::FB::FB() 56 0.0001016 0.0001016 0.0001016 0.01% AmrLevel::checkPoint() 3 9.887e-05 9.887e-05 9.887e-05 0.01% MLMG::actualBottomSolve() 82 9.779e-05 9.779e-05 9.779e-05 0.01% Castro::advance() 10 9.052e-05 9.052e-05 9.052e-05 0.01% MLMG::mgVcycle_down::0 82 8.347e-05 8.347e-05 8.347e-05 0.01% Castro::clean_state() 62 8.322e-05 8.322e-05 8.322e-05 0.01% MLMG::solve() 11 8.223e-05 8.223e-05 8.223e-05 0.01% Castro::initialize_advance() 10 7.696e-05 7.696e-05 7.696e-05 0.01% MLMG::mgVcycle_down::1 82 7.581e-05 7.581e-05 7.581e-05 0.01% MLMG::mgVcycle_down::2 82 7.506e-05 7.506e-05 7.506e-05 0.01% Castro::post_timestep() 10 7.171e-05 7.171e-05 7.171e-05 0.01% MLMG::mgVcycle_down::4 82 7.036e-05 7.036e-05 7.036e-05 0.01% Castro::enforce_consistent_e() 1 6.948e-05 6.948e-05 6.948e-05 0.01% MLMG::mgVcycle_down::3 82 6.898e-05 6.898e-05 6.898e-05 0.01% Castro::finalize_advance() 10 6.119e-05 6.119e-05 6.119e-05 0.01% Castro::initialize_do_advance() 10 5.987e-05 5.987e-05 5.987e-05 0.01% MLMG::mgVcycle_up::4 82 5.782e-05 5.782e-05 5.782e-05 0.01% MLMG::oneIter() 82 5.65e-05 5.65e-05 5.65e-05 0.01% MLCellLinOp::solutionResidual() 93 5.463e-05 5.463e-05 5.463e-05 0.01% Castro::finalize_do_advance() 10 5.166e-05 5.166e-05 5.166e-05 0.01% Castro::do_advance_ctu() 10 5.003e-05 5.003e-05 5.003e-05 0.01% MLMG::mgVcycle_up::0 82 4.998e-05 4.998e-05 4.998e-05 0.01% MLMG::mgVcycle_up::3 82 4.985e-05 4.985e-05 4.985e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.809e-05 4.809e-05 4.809e-05 0.01% MLMG::mgVcycle_up::1 82 4.804e-05 4.804e-05 4.804e-05 0.01% MLMG::mgVcycle_up::2 82 4.703e-05 4.703e-05 4.703e-05 0.01% Castro::construct_new_source() 50 4.597e-05 4.597e-05 4.597e-05 0.00% Amr::writeSmallPlotFile() 1 4.518e-05 4.518e-05 4.518e-05 0.00% StateData::define() 4 4.003e-05 4.003e-05 4.003e-05 0.00% Castro::swap_state_time_levels() 10 3.744e-05 3.744e-05 3.744e-05 0.00% MLMG::ResNormInf() 93 3.738e-05 3.738e-05 3.738e-05 0.00% FillPatchSingleLevel 41 3.631e-05 3.631e-05 3.631e-05 0.00% Amr::defBaseLevel() 1 3.438e-05 3.438e-05 3.438e-05 0.00% MLMG::computeResidual() 82 3.434e-05 3.434e-05 3.434e-05 0.00% MLMG::mgVcycle_bottom 82 3.362e-05 3.362e-05 3.362e-05 0.00% Castro::initMFs() 1 3.097e-05 3.097e-05 3.097e-05 0.00% Castro::buildMetrics() 1 2.486e-05 2.486e-05 2.486e-05 0.00% Castro::construct_new_gravity() 10 2.48e-05 2.48e-05 2.48e-05 0.00% makeSFC 55 2.339e-05 2.339e-05 2.339e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.248e-05 2.248e-05 2.248e-05 0.00% Castro::do_old_sources() 10 2.205e-05 2.205e-05 2.205e-05 0.00% MLPoisson::define() 11 2.182e-05 2.182e-05 2.182e-05 0.00% Castro::construct_old_source() 50 1.912e-05 1.912e-05 1.912e-05 0.00% Castro::do_new_sources() 10 1.911e-05 1.911e-05 1.911e-05 0.00% Amr::FinalizeInit() 1 1.888e-05 1.888e-05 1.888e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.79e-05 1.79e-05 1.79e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.681e-05 1.681e-05 1.681e-05 0.00% DistributionMapping::Distribute() 56 1.646e-05 1.646e-05 1.646e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.534e-05 1.534e-05 1.534e-05 0.00% MLLinOp::define() 11 1.452e-05 1.452e-05 1.452e-05 0.00% Castro::check_for_nan() 20 1.357e-05 1.357e-05 1.357e-05 0.00% Amr::initSubcycle() 1 1.281e-05 1.281e-05 1.281e-05 0.00% Castro::construct_old_gravity() 10 1.207e-05 1.207e-05 1.207e-05 0.00% Castro::apply_source_to_state() 20 1.15e-05 1.15e-05 1.15e-05 0.00% Castro::post_init() 1 1.006e-05 1.006e-05 1.006e-05 0.00% Gravity::swapTimeLevels() 10 8.698e-06 8.698e-06 8.698e-06 0.00% MLMG::computeMLResidual() 11 7.891e-06 7.891e-06 7.891e-06 0.00% Gravity::actual_multilevel_solve() 1 7.775e-06 7.775e-06 7.775e-06 0.00% MLPoisson::prepareForSolve() 11 7.488e-06 7.488e-06 7.488e-06 0.00% Castro::computeNewDt() 9 7.361e-06 7.361e-06 7.361e-06 0.00% MLMG::getGradSolution() 11 6.098e-06 6.098e-06 6.098e-06 0.00% Castro::expand_state() 10 5.533e-06 5.533e-06 5.533e-06 0.00% AmrLevel::checkPointPost() 3 5.189e-06 5.189e-06 5.189e-06 0.00% Gravity::set_mass_offset() 11 5.111e-06 5.111e-06 5.111e-06 0.00% Castro::retry_advance_ctu() 10 4.753e-06 4.753e-06 4.753e-06 0.00% Amr::InitializeInit() 1 4.506e-06 4.506e-06 4.506e-06 0.00% MLMG::MLRhsNormInf() 11 4.397e-06 4.397e-06 4.397e-06 0.00% AmrLevel::checkPointPre() 3 4.016e-06 4.016e-06 4.016e-06 0.00% Castro::computeInitialDt() 2 3.743e-06 3.743e-06 3.743e-06 0.00% MLMG::MLResNormInf() 11 3.524e-06 3.524e-06 3.524e-06 0.00% Amr::init() 1 2.887e-06 2.887e-06 2.887e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.882e-06 2.882e-06 2.882e-06 0.00% Castro::FluxRegCrseInit 10 2.741e-06 2.741e-06 2.741e-06 0.00% Castro::FluxRegFineAdd() 10 2.232e-06 2.232e-06 2.232e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.866e-06 1.866e-06 1.866e-06 0.00% Castro::post_regrid() 1 1.4e-06 1.4e-06 1.4e-06 0.00% Amr::initialInit() 1 1.05e-06 1.05e-06 1.05e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9404 0.9404 0.9404 100.00% Amr::coarseTimeStep() 10 0.7758 0.7758 0.7758 82.49% Amr::timeStep() 10 0.6489 0.6489 0.6489 69.00% Castro::advance() 10 0.6378 0.6378 0.6378 67.82% Castro::subcycle_advance_ctu() 10 0.6234 0.6234 0.6234 66.29% Castro::do_advance_ctu() 10 0.6232 0.6232 0.6232 66.26% Gravity::solve_phi_with_mlmg() 11 0.2919 0.2919 0.2919 31.04% Castro::construct_ctu_hydro_source() 10 0.2857 0.2857 0.2857 30.38% Gravity::actual_solve_with_mlmg() 11 0.2819 0.2819 0.2819 29.98% Castro::construct_new_gravity() 10 0.263 0.263 0.263 27.96% MLMG::solve() 11 0.2607 0.2607 0.2607 27.72% Gravity::solve_for_phi() 10 0.2471 0.2471 0.2471 26.27% MLMG::oneIter() 82 0.2456 0.2456 0.2456 26.11% MLMG::mgVcycle() 82 0.2419 0.2419 0.2419 25.72% VisMF::Write(FabArray) 11 0.2026 0.2026 0.2026 21.54% Amr::checkPoint() 3 0.1741 0.1741 0.1741 18.51% AmrLevel::checkPoint() 3 0.147 0.147 0.147 15.63% StateData::checkPoint() 12 0.1469 0.1469 0.1469 15.62% Amr::init() 1 0.135 0.135 0.135 14.36% MLCellLinOp::smooth() 1640 0.1183 0.1183 0.1183 12.58% MLCellLinOp::applyBC() 4433 0.1106 0.1106 0.1106 11.76% MLMG::mgVcycle_bottom 82 0.07563 0.07563 0.07563 8.04% MLMG::actualBottomSolve() 82 0.0756 0.0756 0.0756 8.04% MLCGSolver::bicgstab 82 0.07487 0.07487 0.07487 7.96% Castro::clean_state() 62 0.06033 0.06033 0.06033 6.42% Amr::writePlotFile() 2 0.05833 0.05833 0.05833 6.20% Amr::initialInit() 1 0.05408 0.05408 0.05408 5.75% Amr::FinalizeInit() 1 0.04929 0.04929 0.04929 5.24% Castro::post_init() 1 0.04783 0.04783 0.04783 5.09% AmrLevel::FillPatch() 41 0.04734 0.04734 0.04734 5.03% Gravity::multilevel_solve_for_new_phi() 1 0.04533 0.04533 0.04533 4.82% Gravity::actual_multilevel_solve() 1 0.04532 0.04532 0.04532 4.82% FillPatchIterator::Initialize 41 0.04313 0.04313 0.04313 4.59% FillPatchIterator::FillFromLevel0() 41 0.04157 0.04157 0.04157 4.42% FillPatchSingleLevel 41 0.04152 0.04152 0.04152 4.41% StateDataPhysBCFunct::() 41 0.03744 0.03744 0.03744 3.98% MLCellLinOp::apply() 1142 0.03707 0.03707 0.03707 3.94% MLMG::mgVcycle_down::0 82 0.03417 0.03417 0.03417 3.63% MLPoisson::Fsmooth() 3280 0.03309 0.03309 0.03309 3.52% FabArray::FillBoundary() 4023 0.03288 0.03288 0.03288 3.50% FillBoundary_nowait() 4023 0.03202 0.03202 0.03202 3.40% StateData::FillBoundary(geom) 328 0.02632 0.02632 0.02632 2.80% MLMG::mgVcycle_up::0 82 0.02578 0.02578 0.02578 2.74% Castro::computeTemp() 63 0.02389 0.02389 0.02389 2.54% MLCellLinOp::correctionResidual() 492 0.0226 0.0226 0.0226 2.40% Castro::initialize_do_advance() 10 0.02235 0.02235 0.02235 2.38% Castro::normalize_species() 62 0.02201 0.02201 0.02201 2.34% amrex::Dot() 1114 0.02117 0.02117 0.02117 2.25% Castro::do_old_sources() 10 0.01995 0.01995 0.01995 2.12% MLMG:computeResOfCorrection() 410 0.01989 0.01989 0.01989 2.12% Gravity::get_new_grav_vector() 11 0.01796 0.01796 0.01796 1.91% MLPoisson::define() 11 0.01675 0.01675 0.01675 1.78% MLMG::mgVcycle_down::1 82 0.0162 0.0162 0.0162 1.72% amrex::Copy() 1029 0.01517 0.01517 0.01517 1.61% Castro::construct_old_gravity() 10 0.0151 0.0151 0.0151 1.61% Gravity::get_old_grav_vector() 10 0.01509 0.01509 0.01509 1.60% MLMG::mgVcycle_down::2 82 0.01497 0.01497 0.01497 1.59% FabArray::norminf() 743 0.01475 0.01475 0.01475 1.57% MLMG::mgVcycle_down::3 82 0.01464 0.01464 0.01464 1.56% FabArray::ParallelCopy() 861 0.01461 0.01461 0.01461 1.55% MLMG::mgVcycle_down::4 82 0.01444 0.01444 0.01444 1.54% FabArray::ParallelCopy_nowait() 861 0.01435 0.01435 0.01435 1.53% Castro::initialize_advance() 10 0.01374 0.01374 0.01374 1.46% Castro::do_new_sources() 10 0.0137 0.0137 0.0137 1.46% Castro::enforce_min_density() 62 0.01357 0.01357 0.01357 1.44% FabArray::setVal() 1144 0.01351 0.01351 0.01351 1.44% MLCGSolver::ParallelAllReduce 1514 0.01267 0.01267 0.01267 1.35% MLMG::addInterpCorrection() 410 0.01208 0.01208 0.01208 1.28% Castro::expand_state() 10 0.01172 0.01172 0.01172 1.25% MLMG::mgVcycle_up::1 82 0.01167 0.01167 0.01167 1.24% MLMG::mgVcycle_up::4 82 0.01164 0.01164 0.01164 1.24% amrex::average_down 410 0.01149 0.01149 0.01149 1.22% MLCellLinOp::defineAuxData() 11 0.01144 0.01144 0.01144 1.22% MLMG::mgVcycle_up::2 82 0.01139 0.01139 0.01139 1.21% MLMG::mgVcycle_up::3 82 0.01116 0.01116 0.01116 1.19% Castro::post_timestep() 10 0.01091 0.01091 0.01091 1.16% MLPoisson::Fapply() 1142 0.01065 0.01065 0.01065 1.13% Gravity::fill_multipole_BCs() 11 0.009796 0.009796 0.009796 1.04% FabArray::Saxpy() 813 0.008423 0.008423 0.008423 0.90% FabArray::Xpay() 821 0.008303 0.008303 0.008303 0.88% MLCellLinOp::solutionResidual() 93 0.007554 0.007554 0.007554 0.80% Castro::reset_internal_energy(MultiFab) 63 0.006587 0.006587 0.006587 0.70% MLMG::computeResidual() 82 0.006277 0.006277 0.006277 0.67% Castro::estTimeStep() 21 0.006248 0.006248 0.006248 0.66% MLCellLinOp::defineBC() 11 0.005067 0.005067 0.005067 0.54% MLMG::prepareForSolve() 11 0.005017 0.005017 0.005017 0.53% BndryData::define() 11 0.004853 0.004853 0.004853 0.52% Amr::InitializeInit() 1 0.004789 0.004789 0.004789 0.51% Amr::defBaseLevel() 1 0.004785 0.004785 0.004785 0.51% FabArray::LinComb() 557 0.004665 0.004665 0.004665 0.50% amrex::Add() 164 0.004448 0.004448 0.004448 0.47% Castro::initData() 1 0.004106 0.004106 0.004106 0.44% Castro::construct_new_source() 50 0.003349 0.003349 0.003349 0.36% Castro::construct_new_gravity_source() 10 0.003303 0.003303 0.003303 0.35% Castro::construct_old_source() 50 0.002898 0.002898 0.002898 0.31% Castro::construct_old_gravity_source() 10 0.002879 0.002879 0.002879 0.31% Castro::computeNewDt() 9 0.002871 0.002871 0.002871 0.31% Castro::finalize_do_advance() 10 0.002381 0.002381 0.002381 0.25% MLMG::ResNormInf() 93 0.002178 0.002178 0.002178 0.23% Castro::apply_source_to_state() 20 0.001856 0.001856 0.001856 0.20% Castro::reset_internal_energy(Fab) 504 0.001784 0.001784 0.001784 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001762 0.001762 0.001762 0.19% check_for_negative_density() 10 0.001724 0.001724 0.001724 0.18% Castro::enforce_speed_limit() 62 0.00164 0.00164 0.00164 0.17% MLMG::getGradSolution() 11 0.001552 0.001552 0.001552 0.17% MLCellLinOp::compGrad() 11 0.001546 0.001546 0.001546 0.16% FabArrayBase::getCPC() 1323 0.001473 0.001473 0.001473 0.16% MLCellLinOp::setLevelBC() 11 0.001462 0.001462 0.001462 0.16% FabArray::mult() 43 0.001356 0.001356 0.001356 0.14% FabArray::setDomainBndry() 41 0.00135 0.00135 0.00135 0.14% MLMG::computeMLResidual() 11 0.001319 0.001319 0.001319 0.14% MLPoisson::prepareForSolve() 11 0.001295 0.001295 0.001295 0.14% MLCellLinOp::prepareForSolve() 11 0.001287 0.001287 0.001287 0.14% Castro::check_for_nan() 20 0.001277 0.001277 0.001277 0.14% MultiFab::contains_nan() 20 0.001264 0.001264 0.001264 0.13% Castro::post_regrid() 1 0.001166 0.001166 0.001166 0.12% Castro::computeInitialDt() 2 0.001058 0.001058 0.001058 0.11% Gravity::update_max_rhs() 11 0.000976 0.000976 0.000976 0.10% FabArrayBase::getFB() 4023 0.0007456 0.0007456 0.0007456 0.08% FabArrayBase::CPC::define() 454 0.0007015 0.0007015 0.0007015 0.07% Castro::finalize_advance() 10 0.0005958 0.0005958 0.0005958 0.06% Castro::Castro() 1 0.0005822 0.0005822 0.0005822 0.06% Amr::InitAmr() 1 0.0005416 0.0005416 0.0005416 0.06% Gravity::swapTimeLevels() 10 0.0004435 0.0004435 0.0004435 0.05% MLMG::MLResNormInf() 11 0.0003328 0.0003328 0.0003328 0.04% MultiFab::max() 11 0.0003243 0.0003243 0.0003243 0.03% Castro::buildMetrics() 1 0.0002708 0.0002708 0.0002708 0.03% MLMG::MLRhsNormInf() 11 0.000225 0.000225 0.000225 0.02% MLLinOp::define() 11 0.0002244 0.0002244 0.0002244 0.02% MLLinOp::defineGrids() 11 0.0002099 0.0002099 0.0002099 0.02% Castro::create_source_corrector() 10 0.0002024 0.0002024 0.0002024 0.02% FabArrayBase::FB::FB() 56 0.0001016 0.0001016 0.0001016 0.01% Castro::enforce_consistent_e() 1 6.948e-05 6.948e-05 6.948e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.793e-05 5.793e-05 5.793e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.391e-05 5.391e-05 5.391e-05 0.01% Amr::writeSmallPlotFile() 1 4.518e-05 4.518e-05 4.518e-05 0.00% StateData::define() 4 4.003e-05 4.003e-05 4.003e-05 0.00% makeSFC 55 3.856e-05 3.856e-05 3.856e-05 0.00% Castro::swap_state_time_levels() 10 3.744e-05 3.744e-05 3.744e-05 0.00% Castro::initMFs() 1 3.097e-05 3.097e-05 3.097e-05 0.00% DistributionMapping::Distribute() 56 1.646e-05 1.646e-05 1.646e-05 0.00% Amr::initSubcycle() 1 1.281e-05 1.281e-05 1.281e-05 0.00% AmrLevel::checkPointPost() 3 5.189e-06 5.189e-06 5.189e-06 0.00% Gravity::set_mass_offset() 11 5.111e-06 5.111e-06 5.111e-06 0.00% Castro::retry_advance_ctu() 10 4.753e-06 4.753e-06 4.753e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.173e-06 4.173e-06 4.173e-06 0.00% AmrLevel::checkPointPre() 3 4.016e-06 4.016e-06 4.016e-06 0.00% Castro::FluxRegCrseInit 10 2.741e-06 2.741e-06 2.741e-06 0.00% Castro::FluxRegFineAdd() 10 2.232e-06 2.232e-06 2.232e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.866e-06 1.866e-06 1.866e-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 140 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 977 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1746 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3409 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 198 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 164 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7521 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2009 B 2048 KiB Gravity::solve_for_phi() 80 80 537 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 198 KiB 671 KiB Castro::estTimeStep() 21 21 3241 B 480 KiB VisMF::Write(FabArray) 656 656 3292 B 320 KiB Castro::normalize_species() 62 62 7624 B 320 KiB amrex::average_down 1067 1067 1235 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1103 B 257 KiB amrex::Dot() 1360 1360 3317 B 160 KiB FabArray::norminf() 907 907 2314 B 160 KiB check_for_negative_density() 10 10 289 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 53 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3328 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 8866 8866 213 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3888 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 2976 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 351 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 515 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 491 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3328 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 292 B 9648 B MLCellLinOp::applyBC() 4433 4433 212 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3888 B 6144 B Gravity::get_new_grav_vector() 3 3 2897 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 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 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 284 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 17 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.08-40-gd4d0e9031d03) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-40-gd4d0e9031d03) initialized Starting run at 07:39:27 UTC on 2023-08-23. Successfully read inputs file ... Castro git describe: 23.08-6-g41b0e2684 AMReX git describe: 23.08-40-gd4d0e9031 Microphysics git describe: 23.08-15-gced7cc41 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.493665837 Restart time = 0.049846025 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.054306842 [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.048868865 [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.072615553 [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.081466689 [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.069336265 [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.029466338 seconds Ending run at 07:39:28 UTC on 2023-08-23. Run time = 0.406923445 Run time without initialization = 0.356498381 Average number of zones advanced per microsecond: 3.677 Average number of zones advanced per microsecond per rank: 3.677 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.407 ... 0.407 ... 0.407 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1389 0.1389 0.1389 34.12% VisMF::Read() 3 0.03836 0.03836 0.03836 9.43% MLCellLinOp::applyBC() 1946 0.03345 0.03345 0.03345 8.22% VisMF::Write(FabArray) 1 0.02813 0.02813 0.02813 6.91% MLPoisson::Fsmooth() 1440 0.01419 0.01419 0.01419 3.49% FillBoundary_nowait() 1766 0.01295 0.01295 0.01295 3.18% StateData::FillBoundary(geom) 160 0.01279 0.01279 0.01279 3.14% Castro::normalize_species() 30 0.009005 0.009005 0.009005 2.21% amrex::Dot() 484 0.009002 0.009002 0.009002 2.21% amrex::Copy() 463 0.007209 0.007209 0.007209 1.77% Castro::computeTemp() 30 0.006878 0.006878 0.006878 1.69% FabArray::setVal() 537 0.006545 0.006545 0.006545 1.61% FabArray::norminf() 326 0.006394 0.006394 0.006394 1.57% FabArray::ParallelCopy_nowait() 380 0.00606 0.00606 0.00606 1.49% Castro::enforce_min_density() 30 0.006055 0.006055 0.006055 1.49% Gravity::fill_multipole_BCs() 6 0.005696 0.005696 0.005696 1.40% MLCellLinOp::defineAuxData() 6 0.005427 0.005427 0.005427 1.33% Amr::restart() 1 0.004746 0.004746 0.004746 1.17% StateDataPhysBCFunct::() 20 0.004745 0.004745 0.004745 1.17% MLPoisson::Fapply() 500 0.004586 0.004586 0.004586 1.13% FabArray::Saxpy() 355 0.003753 0.003753 0.003753 0.92% FabArray::Xpay() 361 0.003596 0.003596 0.003596 0.88% MLMG::addInterpCorrection() 180 0.003059 0.003059 0.003059 0.75% Castro::estTimeStep() 10 0.003036 0.003036 0.003036 0.75% amrex::average_down 180 0.002677 0.002677 0.002677 0.66% FabArray::LinComb() 242 0.002255 0.002255 0.002255 0.55% BndryData::define() 6 0.002084 0.002084 0.002084 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002082 0.002082 0.002082 0.51% amrex::Add() 72 0.00189 0.00189 0.00189 0.46% Castro::construct_new_gravity_source() 5 0.001742 0.001742 0.001742 0.43% Castro::construct_old_gravity_source() 5 0.001458 0.001458 0.001458 0.36% Castro::enforce_speed_limit() 30 0.001261 0.001261 0.001261 0.31% Amr::writePlotFile() 1 0.001146 0.001146 0.001146 0.28% MLCGSolver::bicgstab 36 0.0009511 0.0009511 0.0009511 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009487 0.0009487 0.0009487 0.23% check_for_negative_density() 5 0.0009045 0.0009045 0.0009045 0.22% Castro::reset_internal_energy(Fab) 240 0.0008317 0.0008317 0.0008317 0.20% Gravity::actual_solve_with_mlmg() 6 0.000823 0.000823 0.000823 0.20% MLCellLinOp::setLevelBC() 6 0.0007938 0.0007938 0.0007938 0.20% MLCellLinOp::prepareForSolve() 6 0.0007275 0.0007275 0.0007275 0.18% FabArray::mult() 22 0.0006847 0.0006847 0.0006847 0.17% FabArray::setDomainBndry() 20 0.0006799 0.0006799 0.0006799 0.17% MultiFab::contains_nan() 10 0.0006564 0.0006564 0.0006564 0.16% MLCellLinOp::compGrad() 6 0.0005756 0.0005756 0.0005756 0.14% MLMG::prepareForSolve() 6 0.0005409 0.0005409 0.0005409 0.13% MLCellLinOp::smooth() 720 0.0004572 0.0004572 0.0004572 0.11% FabArrayBase::CPC::define() 244 0.0004223 0.0004223 0.0004223 0.10% Amr::InitAmr() 1 0.0004164 0.0004164 0.0004164 0.10% FabArray::FillBoundary() 1766 0.0003759 0.0003759 0.0003759 0.09% FabArrayBase::getCPC() 632 0.0003615 0.0003615 0.0003615 0.09% Gravity::get_old_grav_vector() 5 0.0003299 0.0003299 0.0003299 0.08% main() 1 0.0002726 0.0002726 0.0002726 0.07% FabArrayBase::getFB() 1766 0.0002704 0.0002704 0.0002704 0.07% Gravity::get_new_grav_vector() 5 0.0002611 0.0002611 0.0002611 0.06% MultiFab::max() 6 0.0002038 0.0002038 0.0002038 0.05% Amr::coarseTimeStep() 5 0.0002023 0.0002023 0.0002023 0.05% MLCellLinOp::apply() 500 0.0001942 0.0001942 0.0001942 0.05% AmrLevel::FillPatch() 20 0.0001608 0.0001608 0.0001608 0.04% MLCGSolver::ParallelAllReduce 659 0.0001242 0.0001242 0.0001242 0.03% FabArray::ParallelCopy() 380 0.0001169 0.0001169 0.0001169 0.03% MLCellLinOp::defineBC() 6 0.0001126 0.0001126 0.0001126 0.03% Castro::create_source_corrector() 5 0.0001082 0.0001082 0.0001082 0.03% FillPatchIterator::Initialize 20 0.0001048 0.0001048 0.0001048 0.03% Castro::construct_new_source() 25 0.0001023 0.0001023 0.0001023 0.03% Castro::subcycle_advance_ctu() 5 9.798e-05 9.798e-05 9.798e-05 0.02% MLCellLinOp::correctionResidual() 216 9.435e-05 9.435e-05 9.435e-05 0.02% MLMG::mgVcycle() 36 8.797e-05 8.797e-05 8.797e-05 0.02% MLLinOp::defineGrids() 6 8.733e-05 8.733e-05 8.733e-05 0.02% Gravity::update_max_rhs() 6 8.029e-05 8.029e-05 8.029e-05 0.02% Amr::timeStep() 5 7.942e-05 7.942e-05 7.942e-05 0.02% AmrLevel::restart() 1 7.657e-05 7.657e-05 7.657e-05 0.02% Castro::advance() 5 7.38e-05 7.38e-05 7.38e-05 0.02% Castro::finalize_do_advance() 5 7.075e-05 7.075e-05 7.075e-05 0.02% Gravity::solve_for_phi() 5 7.007e-05 7.007e-05 7.007e-05 0.02% Castro::initialize_do_advance() 5 6.469e-05 6.469e-05 6.469e-05 0.02% StateData::restartDoit() 4 6.359e-05 6.359e-05 6.359e-05 0.02% FabArrayBase::FB::FB() 26 6.045e-05 6.045e-05 6.045e-05 0.01% Castro::do_new_sources() 5 6.012e-05 6.012e-05 6.012e-05 0.01% MLMG:computeResOfCorrection() 180 5.086e-05 5.086e-05 5.086e-05 0.01% Castro::do_advance_ctu() 5 4.6e-05 4.6e-05 4.6e-05 0.01% MLMG::actualBottomSolve() 36 4.319e-05 4.319e-05 4.319e-05 0.01% MLMG::mgVcycle_down::0 36 3.722e-05 3.722e-05 3.722e-05 0.01% Castro::initialize_advance() 5 3.658e-05 3.658e-05 3.658e-05 0.01% MLMG::solve() 6 3.602e-05 3.602e-05 3.602e-05 0.01% MLMG::mgVcycle_down::1 36 3.369e-05 3.369e-05 3.369e-05 0.01% Castro::clean_state() 30 3.322e-05 3.322e-05 3.322e-05 0.01% MLMG::mgVcycle_down::2 36 3.186e-05 3.186e-05 3.186e-05 0.01% MLMG::mgVcycle_down::4 36 3.046e-05 3.046e-05 3.046e-05 0.01% MLMG::mgVcycle_down::3 36 2.97e-05 2.97e-05 2.97e-05 0.01% Castro::finalize_advance() 5 2.912e-05 2.912e-05 2.912e-05 0.01% Castro::post_restart() 1 2.884e-05 2.884e-05 2.884e-05 0.01% Castro::construct_old_source() 25 2.781e-05 2.781e-05 2.781e-05 0.01% Amr::writeSmallPlotFile() 1 2.692e-05 2.692e-05 2.692e-05 0.01% Castro::buildMetrics() 1 2.665e-05 2.665e-05 2.665e-05 0.01% MLMG::mgVcycle_up::4 36 2.647e-05 2.647e-05 2.647e-05 0.01% Castro::initMFs() 1 2.535e-05 2.535e-05 2.535e-05 0.01% MLMG::oneIter() 36 2.484e-05 2.484e-05 2.484e-05 0.01% MLCellLinOp::solutionResidual() 42 2.401e-05 2.401e-05 2.401e-05 0.01% Castro::swap_state_time_levels() 5 2.377e-05 2.377e-05 2.377e-05 0.01% MLMG::mgVcycle_up::3 36 2.146e-05 2.146e-05 2.146e-05 0.01% MLMG::mgVcycle_up::0 36 2.137e-05 2.137e-05 2.137e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.104e-05 2.104e-05 2.104e-05 0.01% MLMG::mgVcycle_up::2 36 2.061e-05 2.061e-05 2.061e-05 0.01% MLMG::mgVcycle_up::1 36 1.959e-05 1.959e-05 1.959e-05 0.00% MLMG::ResNormInf() 42 1.772e-05 1.772e-05 1.772e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.664e-05 1.664e-05 1.664e-05 0.00% FillPatchSingleLevel 20 1.617e-05 1.617e-05 1.617e-05 0.00% MLMG::mgVcycle_bottom 36 1.497e-05 1.497e-05 1.497e-05 0.00% MLMG::computeResidual() 36 1.403e-05 1.403e-05 1.403e-05 0.00% MLPoisson::define() 6 1.364e-05 1.364e-05 1.364e-05 0.00% makeSFC 30 1.338e-05 1.338e-05 1.338e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.311e-05 1.311e-05 1.311e-05 0.00% Castro::construct_new_gravity() 5 1.306e-05 1.306e-05 1.306e-05 0.00% Castro::do_old_sources() 5 1.114e-05 1.114e-05 1.114e-05 0.00% MLMG::getGradSolution() 6 1.008e-05 1.008e-05 1.008e-05 0.00% MLLinOp::define() 6 9.73e-06 9.73e-06 9.73e-06 0.00% Amr::initSubcycle() 1 9.58e-06 9.58e-06 9.58e-06 0.00% DistributionMapping::Distribute() 31 9.018e-06 9.018e-06 9.018e-06 0.00% Gravity::actual_multilevel_solve() 1 8.064e-06 8.064e-06 8.064e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.817e-06 7.817e-06 7.817e-06 0.00% Castro::check_for_nan() 10 7.382e-06 7.382e-06 7.382e-06 0.00% Castro::construct_old_gravity() 5 7.12e-06 7.12e-06 7.12e-06 0.00% Castro::apply_source_to_state() 10 5.812e-06 5.812e-06 5.812e-06 0.00% Castro::post_timestep() 5 4.838e-06 4.838e-06 4.838e-06 0.00% Gravity::swapTimeLevels() 5 4.225e-06 4.225e-06 4.225e-06 0.00% MLPoisson::prepareForSolve() 6 3.823e-06 3.823e-06 3.823e-06 0.00% MLMG::computeMLResidual() 6 3.809e-06 3.809e-06 3.809e-06 0.00% Castro::computeNewDt() 5 3.545e-06 3.545e-06 3.545e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.999e-06 2.999e-06 2.999e-06 0.00% Gravity::set_mass_offset() 6 2.95e-06 2.95e-06 2.95e-06 0.00% Castro::expand_state() 5 2.581e-06 2.581e-06 2.581e-06 0.00% MLMG::MLResNormInf() 6 2.39e-06 2.39e-06 2.39e-06 0.00% MLMG::MLRhsNormInf() 6 2.376e-06 2.376e-06 2.376e-06 0.00% Castro::retry_advance_ctu() 5 2.061e-06 2.061e-06 2.061e-06 0.00% Castro::FluxRegCrseInit 5 1.685e-06 1.685e-06 1.685e-06 0.00% Castro::FluxRegFineAdd() 5 1.163e-06 1.163e-06 1.163e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.002e-06 1.002e-06 1.002e-06 0.00% Amr::init() 1 9.43e-07 9.43e-07 9.43e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.407 0.407 0.407 100.00% Amr::coarseTimeStep() 5 0.3268 0.3268 0.3268 80.30% Amr::timeStep() 5 0.3248 0.3248 0.3248 79.80% Castro::advance() 5 0.3199 0.3199 0.3199 78.61% Castro::subcycle_advance_ctu() 5 0.3131 0.3131 0.3131 76.93% Castro::do_advance_ctu() 5 0.313 0.313 0.313 76.91% Castro::construct_ctu_hydro_source() 5 0.1442 0.1442 0.1442 35.44% Castro::construct_new_gravity() 5 0.1323 0.1323 0.1323 32.51% Gravity::solve_phi_with_mlmg() 6 0.13 0.13 0.13 31.93% Gravity::solve_for_phi() 5 0.1243 0.1243 0.1243 30.55% Gravity::actual_solve_with_mlmg() 6 0.124 0.124 0.124 30.48% MLMG::solve() 6 0.1124 0.1124 0.1124 27.63% MLMG::oneIter() 36 0.105 0.105 0.105 25.81% MLMG::mgVcycle() 36 0.1035 0.1035 0.1035 25.43% MLCellLinOp::smooth() 720 0.05027 0.05027 0.05027 12.35% Amr::init() 1 0.04989 0.04989 0.04989 12.26% Amr::restart() 1 0.04989 0.04989 0.04989 12.26% MLCellLinOp::applyBC() 1946 0.0471 0.0471 0.0471 11.57% AmrLevel::restart() 1 0.03871 0.03871 0.03871 9.51% StateData::restartDoit() 4 0.03863 0.03863 0.03863 9.49% VisMF::Read() 3 0.03836 0.03836 0.03836 9.43% MLMG::mgVcycle_bottom 36 0.03254 0.03254 0.03254 8.00% MLMG::actualBottomSolve() 36 0.03252 0.03252 0.03252 7.99% MLCGSolver::bicgstab 36 0.03221 0.03221 0.03221 7.91% Amr::writePlotFile() 1 0.02954 0.02954 0.02954 7.26% VisMF::Write(FabArray) 1 0.02813 0.02813 0.02813 6.91% Castro::clean_state() 30 0.02615 0.02615 0.02615 6.42% AmrLevel::FillPatch() 20 0.02247 0.02247 0.02247 5.52% FillPatchIterator::Initialize 20 0.02041 0.02041 0.02041 5.01% FillPatchIterator::FillFromLevel0() 20 0.01962 0.01962 0.01962 4.82% FillPatchSingleLevel 20 0.0196 0.0196 0.0196 4.82% StateDataPhysBCFunct::() 20 0.01754 0.01754 0.01754 4.31% MLCellLinOp::apply() 500 0.01597 0.01597 0.01597 3.92% MLMG::mgVcycle_down::0 36 0.01447 0.01447 0.01447 3.56% MLPoisson::Fsmooth() 1440 0.01419 0.01419 0.01419 3.49% FabArray::FillBoundary() 1766 0.01365 0.01365 0.01365 3.35% FillBoundary_nowait() 1766 0.01328 0.01328 0.01328 3.26% StateData::FillBoundary(geom) 160 0.01279 0.01279 0.01279 3.14% Castro::initialize_do_advance() 5 0.01126 0.01126 0.01126 2.77% MLMG::mgVcycle_up::0 36 0.01095 0.01095 0.01095 2.69% Castro::computeTemp() 30 0.009792 0.009792 0.009792 2.41% MLCellLinOp::correctionResidual() 216 0.009622 0.009622 0.009622 2.36% Castro::do_old_sources() 5 0.009358 0.009358 0.009358 2.30% MLPoisson::define() 6 0.009095 0.009095 0.009095 2.23% Castro::normalize_species() 30 0.009005 0.009005 0.009005 2.21% amrex::Dot() 484 0.009002 0.009002 0.009002 2.21% MLMG:computeResOfCorrection() 180 0.008456 0.008456 0.008456 2.08% Gravity::get_new_grav_vector() 5 0.007851 0.007851 0.007851 1.93% Castro::construct_old_gravity() 5 0.007568 0.007568 0.007568 1.86% Gravity::get_old_grav_vector() 5 0.007561 0.007561 0.007561 1.86% amrex::Copy() 463 0.007209 0.007209 0.007209 1.77% MLMG::mgVcycle_down::1 36 0.007002 0.007002 0.007002 1.72% FabArray::ParallelCopy() 380 0.006579 0.006579 0.006579 1.62% FabArray::setVal() 537 0.006545 0.006545 0.006545 1.61% FabArray::ParallelCopy_nowait() 380 0.006462 0.006462 0.006462 1.59% Castro::do_new_sources() 5 0.006462 0.006462 0.006462 1.59% Castro::initialize_advance() 5 0.006452 0.006452 0.006452 1.59% MLMG::mgVcycle_down::2 36 0.006432 0.006432 0.006432 1.58% FabArray::norminf() 326 0.006394 0.006394 0.006394 1.57% Castro::post_restart() 1 0.006256 0.006256 0.006256 1.54% MLMG::mgVcycle_down::3 36 0.00625 0.00625 0.00625 1.54% MLCellLinOp::defineAuxData() 6 0.006196 0.006196 0.006196 1.52% MLMG::mgVcycle_down::4 36 0.006148 0.006148 0.006148 1.51% Castro::enforce_min_density() 30 0.006055 0.006055 0.006055 1.49% Gravity::multilevel_solve_for_new_phi() 1 0.005885 0.005885 0.005885 1.45% Gravity::actual_multilevel_solve() 1 0.005869 0.005869 0.005869 1.44% Castro::expand_state() 5 0.005853 0.005853 0.005853 1.44% Gravity::fill_multipole_BCs() 6 0.005817 0.005817 0.005817 1.43% MLCGSolver::ParallelAllReduce 659 0.00542 0.00542 0.00542 1.33% MLMG::addInterpCorrection() 180 0.005308 0.005308 0.005308 1.30% MLMG::mgVcycle_up::4 36 0.005012 0.005012 0.005012 1.23% MLMG::mgVcycle_up::1 36 0.004968 0.004968 0.004968 1.22% amrex::average_down 180 0.004958 0.004958 0.004958 1.22% MLMG::mgVcycle_up::2 36 0.00486 0.00486 0.00486 1.19% Castro::post_timestep() 5 0.004799 0.004799 0.004799 1.18% MLMG::mgVcycle_up::3 36 0.004776 0.004776 0.004776 1.17% MLPoisson::Fapply() 500 0.004586 0.004586 0.004586 1.13% FabArray::Saxpy() 355 0.003753 0.003753 0.003753 0.92% FabArray::Xpay() 361 0.003596 0.003596 0.003596 0.88% MLCellLinOp::solutionResidual() 42 0.003454 0.003454 0.003454 0.85% Castro::estTimeStep() 10 0.003036 0.003036 0.003036 0.75% Castro::reset_internal_energy(MultiFab) 30 0.002914 0.002914 0.002914 0.72% MLMG::prepareForSolve() 6 0.00277 0.00277 0.00277 0.68% MLCellLinOp::defineBC() 6 0.002757 0.002757 0.002757 0.68% MLMG::computeResidual() 36 0.002689 0.002689 0.002689 0.66% BndryData::define() 6 0.002645 0.002645 0.002645 0.65% FabArray::LinComb() 242 0.002255 0.002255 0.002255 0.55% amrex::Add() 72 0.00189 0.00189 0.00189 0.46% Castro::construct_new_source() 25 0.001845 0.001845 0.001845 0.45% Castro::computeNewDt() 5 0.001808 0.001808 0.001808 0.44% Castro::construct_new_gravity_source() 5 0.001742 0.001742 0.001742 0.43% Castro::construct_old_source() 25 0.001486 0.001486 0.001486 0.37% Castro::construct_old_gravity_source() 5 0.001458 0.001458 0.001458 0.36% Castro::finalize_do_advance() 5 0.001302 0.001302 0.001302 0.32% Castro::enforce_speed_limit() 30 0.001261 0.001261 0.001261 0.31% MLMG::ResNormInf() 42 0.0009974 0.0009974 0.0009974 0.25% Castro::apply_source_to_state() 10 0.0009558 0.0009558 0.0009558 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009487 0.0009487 0.0009487 0.23% check_for_negative_density() 5 0.0009045 0.0009045 0.0009045 0.22% MLMG::getGradSolution() 6 0.0008733 0.0008733 0.0008733 0.21% MLCellLinOp::compGrad() 6 0.0008632 0.0008632 0.0008632 0.21% Castro::reset_internal_energy(Fab) 240 0.0008317 0.0008317 0.0008317 0.20% MLCellLinOp::setLevelBC() 6 0.0007938 0.0007938 0.0007938 0.20% FabArrayBase::getCPC() 632 0.0007838 0.0007838 0.0007838 0.19% MLMG::computeMLResidual() 6 0.0007826 0.0007826 0.0007826 0.19% MLPoisson::prepareForSolve() 6 0.0007313 0.0007313 0.0007313 0.18% MLCellLinOp::prepareForSolve() 6 0.0007275 0.0007275 0.0007275 0.18% Gravity::update_max_rhs() 6 0.000727 0.000727 0.000727 0.18% FabArray::mult() 22 0.0006847 0.0006847 0.0006847 0.17% FabArray::setDomainBndry() 20 0.0006799 0.0006799 0.0006799 0.17% Castro::check_for_nan() 10 0.0006638 0.0006638 0.0006638 0.16% MultiFab::contains_nan() 10 0.0006564 0.0006564 0.0006564 0.16% Amr::InitAmr() 1 0.000426 0.000426 0.000426 0.10% FabArrayBase::CPC::define() 244 0.0004223 0.0004223 0.0004223 0.10% FabArrayBase::getFB() 1766 0.0003309 0.0003309 0.0003309 0.08% Castro::finalize_advance() 5 0.0002951 0.0002951 0.0002951 0.07% Gravity::swapTimeLevels() 5 0.0002336 0.0002336 0.0002336 0.06% MultiFab::max() 6 0.0002038 0.0002038 0.0002038 0.05% MLMG::MLResNormInf() 6 0.0001975 0.0001975 0.0001975 0.05% Castro::buildMetrics() 1 0.0001525 0.0001525 0.0001525 0.04% MLLinOp::define() 6 0.000127 0.000127 0.000127 0.03% MLMG::MLRhsNormInf() 6 0.0001203 0.0001203 0.0001203 0.03% MLLinOp::defineGrids() 6 0.0001173 0.0001173 0.0001173 0.03% Castro::create_source_corrector() 5 0.0001082 0.0001082 0.0001082 0.03% FabArrayBase::FB::FB() 26 6.045e-05 6.045e-05 6.045e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.897e-05 2.897e-05 2.897e-05 0.01% Amr::writeSmallPlotFile() 1 2.692e-05 2.692e-05 2.692e-05 0.01% Castro::initMFs() 1 2.535e-05 2.535e-05 2.535e-05 0.01% Castro::swap_state_time_levels() 5 2.377e-05 2.377e-05 2.377e-05 0.01% makeSFC 30 2.116e-05 2.116e-05 2.116e-05 0.01% Amr::initSubcycle() 1 9.58e-06 9.58e-06 9.58e-06 0.00% DistributionMapping::Distribute() 31 9.018e-06 9.018e-06 9.018e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.239e-06 4.239e-06 4.239e-06 0.00% Gravity::set_mass_offset() 6 2.95e-06 2.95e-06 2.95e-06 0.00% Castro::retry_advance_ctu() 5 2.061e-06 2.061e-06 2.061e-06 0.00% Castro::FluxRegCrseInit 5 1.685e-06 1.685e-06 1.685e-06 0.00% Castro::FluxRegFineAdd() 5 1.163e-06 1.163e-06 1.163e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.002e-06 1.002e-06 1.002e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 202 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 158 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1094 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2041 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 6755 KiB 14 MiB MLMG::prepareForSolve() 361 361 3390 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 192 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 197 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6741 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3471 B 2048 KiB Gravity::solve_for_phi() 40 40 624 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 312 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3576 B 480 KiB VisMF::Write(FabArray) 112 112 1376 B 320 KiB Castro::normalize_species() 30 30 7200 B 320 KiB amrex::average_down 469 469 1194 B 257 KiB MLMG::addInterpCorrection() 468 468 1121 B 257 KiB amrex::Dot() 592 592 3256 B 160 KiB FabArray::norminf() 398 398 2316 B 160 KiB check_for_negative_density() 5 5 353 B 160 KiB MultiFab::max() 6 6 78 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3286 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 277 B 9648 B MLCellLinOp::applyBC() 3892 3892 215 B 9344 B amrex::Copy() 56 56 5940 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 115 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 1146 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 89 KiB 8192 KiB VisMF::Write(FabArray) 120 120 199 KiB 3584 KiB VisMF::Read() 24 24 183 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3286 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 277 B 9648 B MLCellLinOp::applyBC() 1946 1946 214 B 9328 B amrex::Copy() 56 56 5940 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2645 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 521 B 1296 B amrex::average_down 37 37 222 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): 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.08-40-gd4d0e9031d03) finalized