Initializing AMReX (23.11-17-g9e35dc19489d)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-17-g9e35dc19489d) initialized Starting run at 08:50:43 UTC on 2023-11-23. Successfully read inputs file ... Castro git describe: 23.11-7-gbc5fe8d25 AMReX git describe: 23.11-17-g9e35dc194 Microphysics git describe: 23.11-11-g5ab809ab 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.050682786 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028652232 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.050459568 [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.050570752 [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.071079714 [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.085340979 [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.068574165 [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.050193328 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.053305951 [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.069402159 [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.073783297 [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.071618851 [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.068963224 [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.049031111 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028601249 seconds Ending run at 08:50:44 UTC on 2023-11-23. Run time = 0.926837766 Run time without initialization = 0.79161001 Average number of zones advanced per microsecond: 3.312 Average number of zones advanced per microsecond per rank: 3.312 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9269 ... 0.9269 ... 0.9269 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2894 0.2894 0.2894 31.22% VisMF::Write(FabArray) 11 0.1986 0.1986 0.1986 21.42% MLCellLinOp::applyBC() 4433 0.08016 0.08016 0.08016 8.65% MLPoisson::Fsmooth() 3280 0.03317 0.03317 0.03317 3.58% FillBoundary_nowait() 4023 0.03054 0.03054 0.03054 3.30% StateData::FillBoundary(geom) 328 0.02645 0.02645 0.02645 2.85% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.27% Castro::normalize_species() 62 0.01969 0.01969 0.01969 2.12% FabArray::norminf() 1061 0.01952 0.01952 0.01952 2.11% Castro::computeTemp() 63 0.01565 0.01565 0.01565 1.69% FabArray::setVal() 1144 0.01363 0.01363 0.01363 1.47% FabArray::ParallelCopy_nowait() 861 0.01358 0.01358 0.01358 1.47% FabArray::Saxpy() 1370 0.01289 0.01289 0.01289 1.39% StateDataPhysBCFunct::() 41 0.01094 0.01094 0.01094 1.18% amrex::Copy() 472 0.01074 0.01074 0.01074 1.16% MLPoisson::Fapply() 1142 0.01072 0.01072 0.01072 1.16% MLCellLinOp::defineAuxData() 11 0.01052 0.01052 0.01052 1.13% Castro::enforce_min_density() 62 0.01052 0.01052 0.01052 1.13% Gravity::fill_multipole_BCs() 11 0.009135 0.009135 0.009135 0.99% FabArray::Xpay() 821 0.008415 0.008415 0.008415 0.91% MLMG::addInterpCorrection() 410 0.006924 0.006924 0.006924 0.75% amrex::average_down 410 0.006175 0.006175 0.006175 0.67% Castro::estTimeStep() 21 0.006079 0.006079 0.006079 0.66% Amr::checkPoint() 3 0.005838 0.005838 0.005838 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005209 0.005209 0.005209 0.56% amrex::Add() 164 0.004416 0.004416 0.004416 0.48% BndryData::define() 11 0.003858 0.003858 0.003858 0.42% Castro::construct_new_gravity_source() 10 0.003386 0.003386 0.003386 0.37% Castro::construct_old_gravity_source() 10 0.002916 0.002916 0.002916 0.31% Castro::enforce_speed_limit() 62 0.002371 0.002371 0.002371 0.26% Amr::writePlotFile() 2 0.002262 0.002262 0.002262 0.24% check_for_negative_density() 10 0.00187 0.00187 0.00187 0.20% MLCGSolver::bicgstab 82 0.001815 0.001815 0.001815 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001783 0.001783 0.001783 0.19% Castro::reset_internal_energy(Fab) 504 0.001708 0.001708 0.001708 0.18% Gravity::actual_solve_with_mlmg() 11 0.001555 0.001555 0.001555 0.17% MLCellLinOp::setLevelBC() 11 0.001544 0.001544 0.001544 0.17% Castro::initData() 1 0.001505 0.001505 0.001505 0.16% FabArray::mult() 43 0.001374 0.001374 0.001374 0.15% FabArray::setDomainBndry() 41 0.001363 0.001363 0.001363 0.15% MLCellLinOp::prepareForSolve() 11 0.00131 0.00131 0.00131 0.14% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% MLCellLinOp::smooth() 1640 0.00113 0.00113 0.00113 0.12% MLCellLinOp::compGrad() 11 0.001059 0.001059 0.001059 0.11% MLMG::prepareForSolve() 11 0.0009532 0.0009532 0.0009532 0.10% FabArray::FillBoundary() 4023 0.0008688 0.0008688 0.0008688 0.09% FabArrayBase::getCPC() 1323 0.0007949 0.0007949 0.0007949 0.09% FabArrayBase::CPC::define() 454 0.0006897 0.0006897 0.0006897 0.07% FabArrayBase::getFB() 4023 0.0006577 0.0006577 0.0006577 0.07% Gravity::get_new_grav_vector() 11 0.0005936 0.0005936 0.0005936 0.06% Amr::InitAmr() 1 0.0005145 0.0005145 0.0005145 0.06% Gravity::get_old_grav_vector() 10 0.0004779 0.0004779 0.0004779 0.05% MLCellLinOp::apply() 1142 0.0004531 0.0004531 0.0004531 0.05% Amr::coarseTimeStep() 10 0.0003893 0.0003893 0.0003893 0.04% AmrLevel::FillPatch() 41 0.0003707 0.0003707 0.0003707 0.04% MLCGSolver::ParallelAllReduce 1832 0.000355 0.000355 0.000355 0.04% MultiFab::max() 11 0.0003443 0.0003443 0.0003443 0.04% main() 1 0.00033 0.00033 0.00033 0.04% MLCellLinOp::defineBC() 11 0.000261 0.000261 0.000261 0.03% FabArray::ParallelCopy() 861 0.0002394 0.0002394 0.0002394 0.03% MLCellLinOp::correctionResidual() 492 0.0002258 0.0002258 0.0002258 0.02% FillPatchIterator::Initialize 41 0.0002198 0.0002198 0.0002198 0.02% MLMG::mgVcycle() 82 0.0001935 0.0001935 0.0001935 0.02% Gravity::solve_for_phi() 10 0.0001657 0.0001657 0.0001657 0.02% Castro::subcycle_advance_ctu() 10 0.0001655 0.0001655 0.0001655 0.02% MLLinOp::defineGrids() 11 0.0001647 0.0001647 0.0001647 0.02% Castro::create_source_corrector() 10 0.0001608 0.0001608 0.0001608 0.02% Amr::timeStep() 10 0.0001528 0.0001528 0.0001528 0.02% StateData::checkPoint() 12 0.0001349 0.0001349 0.0001349 0.01% Gravity::update_max_rhs() 11 0.0001289 0.0001289 0.0001289 0.01% MLMG:computeResOfCorrection() 410 0.0001192 0.0001192 0.0001192 0.01% MLMG::mgVcycle_down::0 82 0.0001001 0.0001001 0.0001001 0.01% FabArrayBase::FB::FB() 56 9.438e-05 9.438e-05 9.438e-05 0.01% Castro::Castro() 1 9.056e-05 9.056e-05 9.056e-05 0.01% Castro::advance() 10 8.914e-05 8.914e-05 8.914e-05 0.01% Castro::clean_state() 62 8.677e-05 8.677e-05 8.677e-05 0.01% MLMG::actualBottomSolve() 82 8.656e-05 8.656e-05 8.656e-05 0.01% MLMG::mgVcycle_down::1 82 8.639e-05 8.639e-05 8.639e-05 0.01% MLMG::mgVcycle_down::2 82 8.294e-05 8.294e-05 8.294e-05 0.01% Castro::do_new_sources() 10 8.202e-05 8.202e-05 8.202e-05 0.01% MLMG::mgVcycle_down::4 82 7.944e-05 7.944e-05 7.944e-05 0.01% MLMG::mgVcycle_down::3 82 7.727e-05 7.727e-05 7.727e-05 0.01% MLMG::solve() 11 7.715e-05 7.715e-05 7.715e-05 0.01% AmrLevel::checkPoint() 3 7.685e-05 7.685e-05 7.685e-05 0.01% Castro::enforce_consistent_e() 1 7.349e-05 7.349e-05 7.349e-05 0.01% Castro::initialize_advance() 10 7.309e-05 7.309e-05 7.309e-05 0.01% Castro::finalize_advance() 10 6.438e-05 6.438e-05 6.438e-05 0.01% Castro::do_advance_ctu() 10 6.277e-05 6.277e-05 6.277e-05 0.01% MLMG::mgVcycle_up::4 82 6.226e-05 6.226e-05 6.226e-05 0.01% Castro::initialize_do_advance() 10 6.122e-05 6.122e-05 6.122e-05 0.01% MLMG::oneIter() 82 5.737e-05 5.737e-05 5.737e-05 0.01% MLMG::mgVcycle_up::0 82 5.456e-05 5.456e-05 5.456e-05 0.01% MLMG::mgVcycle_up::1 82 5.311e-05 5.311e-05 5.311e-05 0.01% MLCellLinOp::solutionResidual() 93 5.177e-05 5.177e-05 5.177e-05 0.01% MLMG::mgVcycle_up::3 82 5.167e-05 5.167e-05 5.167e-05 0.01% MLMG::mgVcycle_up::2 82 4.788e-05 4.788e-05 4.788e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.67e-05 4.67e-05 4.67e-05 0.01% Castro::construct_new_source() 50 4.429e-05 4.429e-05 4.429e-05 0.00% Castro::finalize_do_advance() 10 4.321e-05 4.321e-05 4.321e-05 0.00% Castro::swap_state_time_levels() 10 4.277e-05 4.277e-05 4.277e-05 0.00% StateData::define() 4 4.027e-05 4.027e-05 4.027e-05 0.00% Castro::post_timestep() 10 3.943e-05 3.943e-05 3.943e-05 0.00% MLMG::ResNormInf() 93 3.689e-05 3.689e-05 3.689e-05 0.00% MLMG::mgVcycle_bottom 82 3.527e-05 3.527e-05 3.527e-05 0.00% FillPatchSingleLevel 41 3.521e-05 3.521e-05 3.521e-05 0.00% Castro::buildMetrics() 1 3.143e-05 3.143e-05 3.143e-05 0.00% MLMG::computeResidual() 82 3.066e-05 3.066e-05 3.066e-05 0.00% Amr::writeSmallPlotFile() 1 3.027e-05 3.027e-05 3.027e-05 0.00% Castro::initMFs() 1 2.862e-05 2.862e-05 2.862e-05 0.00% Amr::defBaseLevel() 1 2.693e-05 2.693e-05 2.693e-05 0.00% makeSFC 55 2.542e-05 2.542e-05 2.542e-05 0.00% Castro::construct_new_gravity() 10 2.541e-05 2.541e-05 2.541e-05 0.00% MLPoisson::define() 11 2.377e-05 2.377e-05 2.377e-05 0.00% Amr::FinalizeInit() 1 2.354e-05 2.354e-05 2.354e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.335e-05 2.335e-05 2.335e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.249e-05 2.249e-05 2.249e-05 0.00% Castro::do_old_sources() 10 2.177e-05 2.177e-05 2.177e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.853e-05 1.853e-05 1.853e-05 0.00% Castro::construct_old_source() 50 1.764e-05 1.764e-05 1.764e-05 0.00% DistributionMapping::Distribute() 56 1.745e-05 1.745e-05 1.745e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.638e-05 1.638e-05 1.638e-05 0.00% MLMG::computeMLResidual() 11 1.574e-05 1.574e-05 1.574e-05 0.00% MLPoisson::prepareForSolve() 11 1.478e-05 1.478e-05 1.478e-05 0.00% Castro::check_for_nan() 20 1.403e-05 1.403e-05 1.403e-05 0.00% Castro::construct_old_gravity() 10 1.205e-05 1.205e-05 1.205e-05 0.00% Castro::post_init() 1 1.203e-05 1.203e-05 1.203e-05 0.00% Castro::apply_source_to_state() 20 1.202e-05 1.202e-05 1.202e-05 0.00% MLLinOp::define() 11 1.015e-05 1.015e-05 1.015e-05 0.00% Gravity::actual_multilevel_solve() 1 9.057e-06 9.057e-06 9.057e-06 0.00% Amr::initSubcycle() 1 8.909e-06 8.909e-06 8.909e-06 0.00% Gravity::swapTimeLevels() 10 8.137e-06 8.137e-06 8.137e-06 0.00% Castro::computeNewDt() 9 6.849e-06 6.849e-06 6.849e-06 0.00% MLMG::getGradSolution() 11 6.264e-06 6.264e-06 6.264e-06 0.00% Castro::expand_state() 10 5.716e-06 5.716e-06 5.716e-06 0.00% Castro::retry_advance_ctu() 10 5.051e-06 5.051e-06 5.051e-06 0.00% AmrLevel::checkPointPost() 3 4.942e-06 4.942e-06 4.942e-06 0.00% Gravity::set_mass_offset() 11 4.892e-06 4.892e-06 4.892e-06 0.00% Amr::InitializeInit() 1 4.445e-06 4.445e-06 4.445e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.198e-06 4.198e-06 4.198e-06 0.00% MLMG::MLRhsNormInf() 11 3.951e-06 3.951e-06 3.951e-06 0.00% MLMG::MLResNormInf() 11 3.51e-06 3.51e-06 3.51e-06 0.00% Amr::initialInit() 1 3.477e-06 3.477e-06 3.477e-06 0.00% Castro::computeInitialDt() 2 3.456e-06 3.456e-06 3.456e-06 0.00% Castro::FluxRegCrseInit 10 3.377e-06 3.377e-06 3.377e-06 0.00% Amr::init() 1 2.611e-06 2.611e-06 2.611e-06 0.00% Castro::FluxRegFineAdd() 10 2.427e-06 2.427e-06 2.427e-06 0.00% AmrLevel::checkPointPre() 3 2.227e-06 2.227e-06 2.227e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.042e-06 2.042e-06 2.042e-06 0.00% Castro::post_regrid() 1 1.2e-06 1.2e-06 1.2e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9269 0.9269 0.9269 100.00% Amr::coarseTimeStep() 10 0.7628 0.7628 0.7628 82.30% Amr::timeStep() 10 0.6596 0.6596 0.6596 71.16% Castro::advance() 10 0.6493 0.6493 0.6493 70.05% Castro::subcycle_advance_ctu() 10 0.6352 0.6352 0.6352 68.53% Castro::do_advance_ctu() 10 0.635 0.635 0.635 68.51% Castro::construct_ctu_hydro_source() 10 0.3002 0.3002 0.3002 32.39% Gravity::solve_phi_with_mlmg() 11 0.2944 0.2944 0.2944 31.76% Gravity::actual_solve_with_mlmg() 11 0.2848 0.2848 0.2848 30.72% Castro::construct_new_gravity() 10 0.2642 0.2642 0.2642 28.51% MLMG::solve() 11 0.2628 0.2628 0.2628 28.35% Gravity::solve_for_phi() 10 0.2487 0.2487 0.2487 26.83% MLMG::oneIter() 82 0.2476 0.2476 0.2476 26.72% MLMG::mgVcycle() 82 0.244 0.244 0.244 26.33% VisMF::Write(FabArray) 11 0.1986 0.1986 0.1986 21.42% Amr::checkPoint() 3 0.15 0.15 0.15 16.19% AmrLevel::checkPoint() 3 0.1442 0.1442 0.1442 15.56% StateData::checkPoint() 12 0.1441 0.1441 0.1441 15.55% Amr::init() 1 0.1345 0.1345 0.1345 14.52% MLCellLinOp::smooth() 1640 0.1197 0.1197 0.1197 12.92% MLCellLinOp::applyBC() 4433 0.1123 0.1123 0.1123 12.12% MLMG::mgVcycle_bottom 82 0.07584 0.07584 0.07584 8.18% MLMG::actualBottomSolve() 82 0.07581 0.07581 0.07581 8.18% MLCGSolver::bicgstab 82 0.07508 0.07508 0.07508 8.10% Amr::writePlotFile() 2 0.05738 0.05738 0.05738 6.19% Amr::initialInit() 1 0.05509 0.05509 0.05509 5.94% Castro::clean_state() 62 0.05419 0.05419 0.05419 5.85% Amr::FinalizeInit() 1 0.05 0.05 0.05 5.39% Castro::post_init() 1 0.04847 0.04847 0.04847 5.23% AmrLevel::FillPatch() 41 0.04732 0.04732 0.04732 5.10% Gravity::multilevel_solve_for_new_phi() 1 0.04615 0.04615 0.04615 4.98% Gravity::actual_multilevel_solve() 1 0.04613 0.04613 0.04613 4.98% FillPatchIterator::Initialize 41 0.04309 0.04309 0.04309 4.65% FillPatchIterator::FillFromLevel0() 41 0.04151 0.04151 0.04151 4.48% FillPatchSingleLevel 41 0.04146 0.04146 0.04146 4.47% MLCellLinOp::apply() 1142 0.03759 0.03759 0.03759 4.06% StateDataPhysBCFunct::() 41 0.03739 0.03739 0.03739 4.03% MLMG::mgVcycle_down::0 82 0.03413 0.03413 0.03413 3.68% MLPoisson::Fsmooth() 3280 0.03317 0.03317 0.03317 3.58% FabArray::FillBoundary() 4023 0.03216 0.03216 0.03216 3.47% FillBoundary_nowait() 4023 0.03129 0.03129 0.03129 3.38% StateData::FillBoundary(geom) 328 0.02645 0.02645 0.02645 2.85% MLMG::mgVcycle_up::0 82 0.02573 0.02573 0.02573 2.78% MLCellLinOp::correctionResidual() 492 0.02289 0.02289 0.02289 2.47% Castro::computeTemp() 63 0.02256 0.02256 0.02256 2.43% amrex::Dot() 1114 0.02105 0.02105 0.02105 2.27% Castro::initialize_do_advance() 10 0.0208 0.0208 0.0208 2.24% MLMG:computeResOfCorrection() 410 0.02011 0.02011 0.02011 2.17% Castro::normalize_species() 62 0.01969 0.01969 0.01969 2.12% FabArray::norminf() 1061 0.01952 0.01952 0.01952 2.11% Castro::do_old_sources() 10 0.01856 0.01856 0.01856 2.00% Gravity::get_new_grav_vector() 11 0.01737 0.01737 0.01737 1.87% MLPoisson::define() 11 0.01734 0.01734 0.01734 1.87% MLMG::mgVcycle_down::1 82 0.01645 0.01645 0.01645 1.77% Castro::construct_old_gravity() 10 0.01539 0.01539 0.01539 1.66% Gravity::get_old_grav_vector() 10 0.01537 0.01537 0.01537 1.66% MLMG::mgVcycle_down::2 82 0.01527 0.01527 0.01527 1.65% MLMG::mgVcycle_down::3 82 0.0149 0.0149 0.0149 1.61% MLMG::mgVcycle_down::4 82 0.01475 0.01475 0.01475 1.59% FabArray::ParallelCopy() 861 0.01465 0.01465 0.01465 1.58% FabArray::ParallelCopy_nowait() 861 0.01441 0.01441 0.01441 1.55% FabArray::setVal() 1144 0.01363 0.01363 0.01363 1.47% Castro::initialize_advance() 10 0.01342 0.01342 0.01342 1.45% FabArray::Saxpy() 1370 0.01289 0.01289 0.01289 1.39% MLCGSolver::ParallelAllReduce 1832 0.01269 0.01269 0.01269 1.37% Castro::do_new_sources() 10 0.01247 0.01247 0.01247 1.35% MLMG::addInterpCorrection() 410 0.0122 0.0122 0.0122 1.32% MLCellLinOp::defineAuxData() 11 0.01195 0.01195 0.01195 1.29% MLMG::mgVcycle_up::1 82 0.01193 0.01193 0.01193 1.29% Castro::expand_state() 10 0.01187 0.01187 0.01187 1.28% MLMG::mgVcycle_up::4 82 0.01179 0.01179 0.01179 1.27% MLMG::mgVcycle_up::2 82 0.01159 0.01159 0.01159 1.25% amrex::average_down 410 0.0115 0.0115 0.0115 1.24% MLMG::mgVcycle_up::3 82 0.01142 0.01142 0.01142 1.23% amrex::Copy() 472 0.01074 0.01074 0.01074 1.16% MLPoisson::Fapply() 1142 0.01072 0.01072 0.01072 1.16% Castro::enforce_min_density() 62 0.01052 0.01052 0.01052 1.13% Castro::post_timestep() 10 0.01014 0.01014 0.01014 1.09% Gravity::fill_multipole_BCs() 11 0.009369 0.009369 0.009369 1.01% FabArray::Xpay() 821 0.008415 0.008415 0.008415 0.91% MLCellLinOp::solutionResidual() 93 0.007566 0.007566 0.007566 0.82% Castro::reset_internal_energy(MultiFab) 63 0.006918 0.006918 0.006918 0.75% MLMG::computeResidual() 82 0.006264 0.006264 0.006264 0.68% Castro::estTimeStep() 21 0.006079 0.006079 0.006079 0.66% MLCellLinOp::defineBC() 11 0.00513 0.00513 0.00513 0.55% Amr::InitializeInit() 1 0.005083 0.005083 0.005083 0.55% Amr::defBaseLevel() 1 0.005079 0.005079 0.005079 0.55% MLMG::prepareForSolve() 11 0.005064 0.005064 0.005064 0.55% BndryData::define() 11 0.004869 0.004869 0.004869 0.53% amrex::Add() 164 0.004416 0.004416 0.004416 0.48% Castro::initData() 1 0.004407 0.004407 0.004407 0.48% Castro::construct_new_source() 50 0.00343 0.00343 0.00343 0.37% Castro::construct_new_gravity_source() 10 0.003386 0.003386 0.003386 0.37% Castro::construct_old_source() 50 0.002933 0.002933 0.002933 0.32% Castro::construct_old_gravity_source() 10 0.002916 0.002916 0.002916 0.31% Castro::computeNewDt() 9 0.002697 0.002697 0.002697 0.29% Castro::enforce_speed_limit() 62 0.002371 0.002371 0.002371 0.26% Castro::finalize_do_advance() 10 0.002367 0.002367 0.002367 0.26% MLMG::ResNormInf() 93 0.002146 0.002146 0.002146 0.23% check_for_negative_density() 10 0.00187 0.00187 0.00187 0.20% Castro::apply_source_to_state() 20 0.001863 0.001863 0.001863 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001783 0.001783 0.001783 0.19% Castro::reset_internal_energy(Fab) 504 0.001708 0.001708 0.001708 0.18% MLMG::getGradSolution() 11 0.001549 0.001549 0.001549 0.17% MLCellLinOp::setLevelBC() 11 0.001544 0.001544 0.001544 0.17% MLCellLinOp::compGrad() 11 0.001543 0.001543 0.001543 0.17% FabArrayBase::getCPC() 1323 0.001485 0.001485 0.001485 0.16% FabArray::mult() 43 0.001374 0.001374 0.001374 0.15% FabArray::setDomainBndry() 41 0.001363 0.001363 0.001363 0.15% MLMG::computeMLResidual() 11 0.001348 0.001348 0.001348 0.15% MLPoisson::prepareForSolve() 11 0.001325 0.001325 0.001325 0.14% MLCellLinOp::prepareForSolve() 11 0.00131 0.00131 0.00131 0.14% Castro::check_for_nan() 20 0.001283 0.001283 0.001283 0.14% MultiFab::contains_nan() 20 0.001269 0.001269 0.001269 0.14% Castro::post_regrid() 1 0.001227 0.001227 0.001227 0.13% Castro::computeInitialDt() 2 0.001068 0.001068 0.001068 0.12% Gravity::update_max_rhs() 11 0.0009934 0.0009934 0.0009934 0.11% FabArrayBase::getFB() 4023 0.0007521 0.0007521 0.0007521 0.08% FabArrayBase::CPC::define() 454 0.0006897 0.0006897 0.0006897 0.07% Castro::finalize_advance() 10 0.0005968 0.0005968 0.0005968 0.06% Castro::Castro() 1 0.0005767 0.0005767 0.0005767 0.06% Amr::InitAmr() 1 0.0005234 0.0005234 0.0005234 0.06% Gravity::swapTimeLevels() 10 0.0004407 0.0004407 0.0004407 0.05% MultiFab::max() 11 0.0003443 0.0003443 0.0003443 0.04% MLMG::MLResNormInf() 11 0.0003321 0.0003321 0.0003321 0.04% Castro::buildMetrics() 1 0.0002794 0.0002794 0.0002794 0.03% MLLinOp::define() 11 0.0002347 0.0002347 0.0002347 0.03% MLLinOp::defineGrids() 11 0.0002246 0.0002246 0.0002246 0.02% MLMG::MLRhsNormInf() 11 0.0002227 0.0002227 0.0002227 0.02% Castro::create_source_corrector() 10 0.0001608 0.0001608 0.0001608 0.02% FabArrayBase::FB::FB() 56 9.438e-05 9.438e-05 9.438e-05 0.01% Castro::enforce_consistent_e() 1 7.349e-05 7.349e-05 7.349e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.275e-05 6.275e-05 6.275e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.784e-05 5.784e-05 5.784e-05 0.01% Castro::swap_state_time_levels() 10 4.277e-05 4.277e-05 4.277e-05 0.00% makeSFC 55 4.146e-05 4.146e-05 4.146e-05 0.00% StateData::define() 4 4.027e-05 4.027e-05 4.027e-05 0.00% Amr::writeSmallPlotFile() 1 3.027e-05 3.027e-05 3.027e-05 0.00% Castro::initMFs() 1 2.862e-05 2.862e-05 2.862e-05 0.00% DistributionMapping::Distribute() 56 1.745e-05 1.745e-05 1.745e-05 0.00% Amr::initSubcycle() 1 8.909e-06 8.909e-06 8.909e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.606e-06 5.606e-06 5.606e-06 0.00% Castro::retry_advance_ctu() 10 5.051e-06 5.051e-06 5.051e-06 0.00% AmrLevel::checkPointPost() 3 4.942e-06 4.942e-06 4.942e-06 0.00% Gravity::set_mass_offset() 11 4.892e-06 4.892e-06 4.892e-06 0.00% Castro::FluxRegCrseInit 10 3.377e-06 3.377e-06 3.377e-06 0.00% Castro::FluxRegFineAdd() 10 2.427e-06 2.427e-06 2.427e-06 0.00% AmrLevel::checkPointPre() 3 2.227e-06 2.227e-06 2.227e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.042e-06 2.042e-06 2.042e-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 89 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 146 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 997 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1733 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3487 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 194 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2075 B 2048 KiB Gravity::solve_for_phi() 80 80 548 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 203 KiB 671 KiB Castro::estTimeStep() 21 21 3198 B 480 KiB VisMF::Write(FabArray) 656 656 3288 B 320 KiB Castro::normalize_species() 62 62 6915 B 320 KiB amrex::average_down 1067 1067 1234 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1115 B 257 KiB amrex::Dot() 1360 1360 3341 B 160 KiB FabArray::norminf() 1143 1143 3252 B 160 KiB check_for_negative_density() 10 10 302 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 3404 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 8866 8866 217 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3918 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3168 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 492 492 102 B 1280 B MLCellLinOp::defineBC() 66 66 359 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 527 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 489 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3404 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 4433 4433 215 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3918 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3168 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 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 290 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 1143 1143 9 B 144 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.11-17-g9e35dc19489d) finalized Initializing AMReX (23.11-17-g9e35dc19489d)... Initializing CUDA... CUDA initialized with 1 device. AMReX (23.11-17-g9e35dc19489d) initialized Starting run at 08:50:45 UTC on 2023-11-23. Successfully read inputs file ... Castro git describe: 23.11-7-gbc5fe8d25 AMReX git describe: 23.11-17-g9e35dc194 Microphysics git describe: 23.11-11-g5ab809ab reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.511440444 Restart time = 0.072650819 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.055699417 [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.047216001 [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.072399308 [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.072750029 [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.079779847 [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.031212176 seconds Ending run at 08:50:46 UTC on 2023-11-23. Run time = 0.432791543 Run time without initialization = 0.359505718 Average number of zones advanced per microsecond: 3.646 Average number of zones advanced per microsecond per rank: 3.646 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4328 ... 0.4328 ... 0.4328 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1297 0.1297 0.1297 29.97% VisMF::Read() 3 0.06107 0.06107 0.06107 14.11% MLCellLinOp::applyBC() 1946 0.04131 0.04131 0.04131 9.54% VisMF::Write(FabArray) 1 0.02873 0.02873 0.02873 6.64% MLPoisson::Fsmooth() 1440 0.01441 0.01441 0.01441 3.33% StateData::FillBoundary(geom) 160 0.01295 0.01295 0.01295 2.99% FillBoundary_nowait() 1766 0.01278 0.01278 0.01278 2.95% Castro::normalize_species() 30 0.009229 0.009229 0.009229 2.13% amrex::Dot() 484 0.009088 0.009088 0.009088 2.10% FabArray::norminf() 465 0.008837 0.008837 0.008837 2.04% Castro::computeTemp() 30 0.007211 0.007211 0.007211 1.67% FabArray::setVal() 537 0.006586 0.006586 0.006586 1.52% FabArray::ParallelCopy_nowait() 380 0.006152 0.006152 0.006152 1.42% Castro::enforce_min_density() 30 0.005849 0.005849 0.005849 1.35% FabArray::Saxpy() 597 0.005686 0.005686 0.005686 1.31% MLCellLinOp::defineAuxData() 6 0.005586 0.005586 0.005586 1.29% Gravity::fill_multipole_BCs() 6 0.005529 0.005529 0.005529 1.28% amrex::Copy() 221 0.005362 0.005362 0.005362 1.24% Amr::restart() 1 0.004733 0.004733 0.004733 1.09% StateDataPhysBCFunct::() 20 0.004688 0.004688 0.004688 1.08% MLPoisson::Fapply() 500 0.004657 0.004657 0.004657 1.08% FabArray::Xpay() 361 0.003688 0.003688 0.003688 0.85% MLMG::addInterpCorrection() 180 0.003055 0.003055 0.003055 0.71% Castro::estTimeStep() 10 0.002938 0.002938 0.002938 0.68% amrex::average_down 180 0.002757 0.002757 0.002757 0.64% Castro::enforce_speed_limit() 30 0.002411 0.002411 0.002411 0.56% Amr::writePlotFile() 1 0.002319 0.002319 0.002319 0.54% BndryData::define() 6 0.002118 0.002118 0.002118 0.49% Castro::reset_internal_energy(MultiFab) 30 0.002064 0.002064 0.002064 0.48% amrex::Add() 72 0.001887 0.001887 0.001887 0.44% Castro::construct_new_gravity_source() 5 0.001682 0.001682 0.001682 0.39% Castro::construct_old_gravity_source() 5 0.001506 0.001506 0.001506 0.35% check_for_negative_density() 5 0.00101 0.00101 0.00101 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009751 0.0009751 0.0009751 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008763 0.0008763 0.0008763 0.20% MLCellLinOp::setLevelBC() 6 0.0008414 0.0008414 0.0008414 0.19% Castro::reset_internal_energy(Fab) 240 0.0008308 0.0008308 0.0008308 0.19% MLCGSolver::bicgstab 36 0.0008106 0.0008106 0.0008106 0.19% MLCellLinOp::prepareForSolve() 6 0.0007711 0.0007711 0.0007711 0.18% FabArray::mult() 22 0.0006854 0.0006854 0.0006854 0.16% FabArray::setDomainBndry() 20 0.0006789 0.0006789 0.0006789 0.16% MultiFab::contains_nan() 10 0.0006491 0.0006491 0.0006491 0.15% MLCellLinOp::compGrad() 6 0.0006149 0.0006149 0.0006149 0.14% MLMG::prepareForSolve() 6 0.0005399 0.0005399 0.0005399 0.12% MLCellLinOp::smooth() 720 0.0005356 0.0005356 0.0005356 0.12% Amr::InitAmr() 1 0.0004215 0.0004215 0.0004215 0.10% FabArrayBase::CPC::define() 244 0.0004169 0.0004169 0.0004169 0.10% FabArray::FillBoundary() 1766 0.0003895 0.0003895 0.0003895 0.09% FabArrayBase::getCPC() 632 0.0003723 0.0003723 0.0003723 0.09% Gravity::get_old_grav_vector() 5 0.0003273 0.0003273 0.0003273 0.08% main() 1 0.000288 0.000288 0.000288 0.07% FabArrayBase::getFB() 1766 0.000283 0.000283 0.000283 0.07% Gravity::get_new_grav_vector() 5 0.0002671 0.0002671 0.0002671 0.06% MLCellLinOp::apply() 500 0.0002049 0.0002049 0.0002049 0.05% MultiFab::max() 6 0.0002042 0.0002042 0.0002042 0.05% AmrLevel::FillPatch() 20 0.0001787 0.0001787 0.0001787 0.04% Amr::coarseTimeStep() 5 0.0001771 0.0001771 0.0001771 0.04% MLCGSolver::ParallelAllReduce 798 0.0001466 0.0001466 0.0001466 0.03% MLCellLinOp::defineBC() 6 0.0001366 0.0001366 0.0001366 0.03% FabArray::ParallelCopy() 380 0.0001076 0.0001076 0.0001076 0.02% Castro::create_source_corrector() 5 0.0001073 0.0001073 0.0001073 0.02% FillPatchIterator::Initialize 20 0.0001063 0.0001063 0.0001063 0.02% MLCellLinOp::correctionResidual() 216 9.677e-05 9.677e-05 9.677e-05 0.02% Castro::subcycle_advance_ctu() 5 9.458e-05 9.458e-05 9.458e-05 0.02% MLMG::mgVcycle() 36 8.874e-05 8.874e-05 8.874e-05 0.02% Castro::post_timestep() 5 8.572e-05 8.572e-05 8.572e-05 0.02% MLLinOp::defineGrids() 6 8.375e-05 8.375e-05 8.375e-05 0.02% Amr::timeStep() 5 8.347e-05 8.347e-05 8.347e-05 0.02% AmrLevel::restart() 1 7.944e-05 7.944e-05 7.944e-05 0.02% StateData::restartDoit() 4 7.407e-05 7.407e-05 7.407e-05 0.02% Castro::finalize_do_advance() 5 7.024e-05 7.024e-05 7.024e-05 0.02% Castro::initialize_advance() 5 6.728e-05 6.728e-05 6.728e-05 0.02% Gravity::update_max_rhs() 6 6.639e-05 6.639e-05 6.639e-05 0.02% Castro::initialize_do_advance() 5 6.443e-05 6.443e-05 6.443e-05 0.01% Gravity::solve_for_phi() 5 6.394e-05 6.394e-05 6.394e-05 0.01% FabArrayBase::FB::FB() 26 6.133e-05 6.133e-05 6.133e-05 0.01% MLMG:computeResOfCorrection() 180 5.691e-05 5.691e-05 5.691e-05 0.01% Castro::construct_new_source() 25 5.41e-05 5.41e-05 5.41e-05 0.01% MLMG::mgVcycle_down::0 36 4.971e-05 4.971e-05 4.971e-05 0.01% Castro::do_advance_ctu() 5 4.336e-05 4.336e-05 4.336e-05 0.01% MLMG::actualBottomSolve() 36 3.958e-05 3.958e-05 3.958e-05 0.01% MLMG::mgVcycle_down::1 36 3.901e-05 3.901e-05 3.901e-05 0.01% Castro::advance() 5 3.817e-05 3.817e-05 3.817e-05 0.01% MLMG::mgVcycle_down::2 36 3.63e-05 3.63e-05 3.63e-05 0.01% MLMG::solve() 6 3.604e-05 3.604e-05 3.604e-05 0.01% MLMG::mgVcycle_down::4 36 3.483e-05 3.483e-05 3.483e-05 0.01% MLMG::mgVcycle_down::3 36 3.375e-05 3.375e-05 3.375e-05 0.01% Castro::finalize_advance() 5 3.314e-05 3.314e-05 3.314e-05 0.01% Castro::clean_state() 30 3.267e-05 3.267e-05 3.267e-05 0.01% Amr::writeSmallPlotFile() 1 3.221e-05 3.221e-05 3.221e-05 0.01% Castro::post_restart() 1 3.11e-05 3.11e-05 3.11e-05 0.01% Castro::buildMetrics() 1 3.065e-05 3.065e-05 3.065e-05 0.01% MLMG::oneIter() 36 2.899e-05 2.899e-05 2.899e-05 0.01% MLMG::mgVcycle_up::4 36 2.818e-05 2.818e-05 2.818e-05 0.01% Castro::do_new_sources() 5 2.808e-05 2.808e-05 2.808e-05 0.01% Castro::construct_old_source() 25 2.771e-05 2.771e-05 2.771e-05 0.01% MLCellLinOp::solutionResidual() 42 2.652e-05 2.652e-05 2.652e-05 0.01% Castro::swap_state_time_levels() 5 2.618e-05 2.618e-05 2.618e-05 0.01% Castro::initMFs() 1 2.391e-05 2.391e-05 2.391e-05 0.01% MLMG::mgVcycle_up::0 36 2.213e-05 2.213e-05 2.213e-05 0.01% MLMG::mgVcycle_up::3 36 2.184e-05 2.184e-05 2.184e-05 0.01% MLMG::mgVcycle_up::2 36 2.08e-05 2.08e-05 2.08e-05 0.00% MLMG::mgVcycle_up::1 36 2.008e-05 2.008e-05 2.008e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.005e-05 2.005e-05 2.005e-05 0.00% MLMG::computeResidual() 36 1.997e-05 1.997e-05 1.997e-05 0.00% MLMG::ResNormInf() 42 1.989e-05 1.989e-05 1.989e-05 0.00% Castro::construct_new_gravity() 5 1.685e-05 1.685e-05 1.685e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.655e-05 1.655e-05 1.655e-05 0.00% FillPatchSingleLevel 20 1.604e-05 1.604e-05 1.604e-05 0.00% MLMG::mgVcycle_bottom 36 1.517e-05 1.517e-05 1.517e-05 0.00% MLPoisson::define() 6 1.464e-05 1.464e-05 1.464e-05 0.00% makeSFC 30 1.325e-05 1.325e-05 1.325e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.289e-05 1.289e-05 1.289e-05 0.00% Castro::do_old_sources() 5 1.203e-05 1.203e-05 1.203e-05 0.00% MLMG::computeMLResidual() 6 9.855e-06 9.855e-06 9.855e-06 0.00% MLPoisson::prepareForSolve() 6 9.782e-06 9.782e-06 9.782e-06 0.00% DistributionMapping::Distribute() 31 8.948e-06 8.948e-06 8.948e-06 0.00% Gravity::actual_multilevel_solve() 1 8.626e-06 8.626e-06 8.626e-06 0.00% Amr::initSubcycle() 1 8.298e-06 8.298e-06 8.298e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.085e-06 8.085e-06 8.085e-06 0.00% Castro::check_for_nan() 10 7.98e-06 7.98e-06 7.98e-06 0.00% Castro::apply_source_to_state() 10 6.228e-06 6.228e-06 6.228e-06 0.00% Castro::construct_old_gravity() 5 5.674e-06 5.674e-06 5.674e-06 0.00% MLLinOp::define() 6 5.506e-06 5.506e-06 5.506e-06 0.00% Gravity::swapTimeLevels() 5 3.922e-06 3.922e-06 3.922e-06 0.00% Castro::computeNewDt() 5 3.415e-06 3.415e-06 3.415e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.383e-06 3.383e-06 3.383e-06 0.00% Castro::FluxRegFineAdd() 5 3.266e-06 3.266e-06 3.266e-06 0.00% MLMG::getGradSolution() 6 3.14e-06 3.14e-06 3.14e-06 0.00% Castro::expand_state() 5 2.821e-06 2.821e-06 2.821e-06 0.00% MLMG::MLResNormInf() 6 2.672e-06 2.672e-06 2.672e-06 0.00% Gravity::set_mass_offset() 6 2.262e-06 2.262e-06 2.262e-06 0.00% MLMG::MLRhsNormInf() 6 2.172e-06 2.172e-06 2.172e-06 0.00% Castro::retry_advance_ctu() 5 1.909e-06 1.909e-06 1.909e-06 0.00% Castro::FluxRegCrseInit 5 1.442e-06 1.442e-06 1.442e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.075e-06 1.075e-06 1.075e-06 0.00% Amr::init() 1 1.022e-06 1.022e-06 1.022e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4328 0.4328 0.4328 100.00% Amr::coarseTimeStep() 5 0.328 0.328 0.328 75.79% Amr::timeStep() 5 0.326 0.326 0.326 75.31% Castro::advance() 5 0.3201 0.3201 0.3201 73.96% Castro::subcycle_advance_ctu() 5 0.3126 0.3126 0.3126 72.22% Castro::do_advance_ctu() 5 0.3125 0.3125 0.3125 72.20% Castro::construct_new_gravity() 5 0.1413 0.1413 0.1413 32.64% Gravity::solve_phi_with_mlmg() 6 0.1389 0.1389 0.1389 32.10% Castro::construct_ctu_hydro_source() 5 0.1356 0.1356 0.1356 31.32% Gravity::solve_for_phi() 5 0.1332 0.1332 0.1332 30.77% Gravity::actual_solve_with_mlmg() 6 0.1331 0.1331 0.1331 30.76% MLMG::solve() 6 0.1212 0.1212 0.1212 28.00% MLMG::oneIter() 36 0.1136 0.1136 0.1136 26.24% MLMG::mgVcycle() 36 0.112 0.112 0.112 25.88% Amr::init() 1 0.07272 0.07272 0.07272 16.80% Amr::restart() 1 0.07272 0.07272 0.07272 16.80% AmrLevel::restart() 1 0.06144 0.06144 0.06144 14.20% StateData::restartDoit() 4 0.06136 0.06136 0.06136 14.18% VisMF::Read() 3 0.06107 0.06107 0.06107 14.11% MLCellLinOp::smooth() 720 0.05782 0.05782 0.05782 13.36% MLCellLinOp::applyBC() 1946 0.05482 0.05482 0.05482 12.67% MLMG::mgVcycle_bottom 36 0.03306 0.03306 0.03306 7.64% MLMG::actualBottomSolve() 36 0.03304 0.03304 0.03304 7.63% MLCGSolver::bicgstab 36 0.03273 0.03273 0.03273 7.56% Amr::writePlotFile() 1 0.03131 0.03131 0.03131 7.23% VisMF::Write(FabArray) 1 0.02873 0.02873 0.02873 6.64% Castro::clean_state() 30 0.02763 0.02763 0.02763 6.38% AmrLevel::FillPatch() 20 0.02258 0.02258 0.02258 5.22% FillPatchIterator::Initialize 20 0.0205 0.0205 0.0205 4.74% FillPatchIterator::FillFromLevel0() 20 0.01972 0.01972 0.01972 4.56% FillPatchSingleLevel 20 0.0197 0.0197 0.0197 4.55% StateDataPhysBCFunct::() 20 0.01764 0.01764 0.01764 4.08% MLMG::mgVcycle_up::0 36 0.01736 0.01736 0.01736 4.01% MLCellLinOp::apply() 500 0.01653 0.01653 0.01653 3.82% MLMG::mgVcycle_down::0 36 0.01465 0.01465 0.01465 3.39% MLPoisson::Fsmooth() 1440 0.01441 0.01441 0.01441 3.33% FabArray::FillBoundary() 1766 0.01352 0.01352 0.01352 3.12% FillBoundary_nowait() 1766 0.01313 0.01313 0.01313 3.03% StateData::FillBoundary(geom) 160 0.01295 0.01295 0.01295 2.99% Castro::initialize_do_advance() 5 0.01083 0.01083 0.01083 2.50% Castro::computeTemp() 30 0.01011 0.01011 0.01011 2.33% MLCellLinOp::correctionResidual() 216 0.009882 0.009882 0.009882 2.28% Castro::do_old_sources() 5 0.009696 0.009696 0.009696 2.24% MLPoisson::define() 6 0.009337 0.009337 0.009337 2.16% Castro::normalize_species() 30 0.009229 0.009229 0.009229 2.13% amrex::Dot() 484 0.009088 0.009088 0.009088 2.10% FabArray::norminf() 465 0.008837 0.008837 0.008837 2.04% MLMG:computeResOfCorrection() 180 0.00868 0.00868 0.00868 2.01% Gravity::get_new_grav_vector() 5 0.007951 0.007951 0.007951 1.84% Castro::construct_old_gravity() 5 0.007441 0.007441 0.007441 1.72% Gravity::get_old_grav_vector() 5 0.007435 0.007435 0.007435 1.72% MLMG::mgVcycle_down::1 36 0.007241 0.007241 0.007241 1.67% Castro::initialize_advance() 5 0.007188 0.007188 0.007188 1.66% FabArray::ParallelCopy() 380 0.006661 0.006661 0.006661 1.54% MLMG::mgVcycle_down::2 36 0.006618 0.006618 0.006618 1.53% FabArray::setVal() 537 0.006586 0.006586 0.006586 1.52% FabArray::ParallelCopy_nowait() 380 0.006553 0.006553 0.006553 1.51% MLMG::mgVcycle_down::3 36 0.006441 0.006441 0.006441 1.49% Castro::post_restart() 1 0.006374 0.006374 0.006374 1.47% MLMG::mgVcycle_down::4 36 0.006356 0.006356 0.006356 1.47% MLCellLinOp::defineAuxData() 6 0.006354 0.006354 0.006354 1.47% Castro::do_new_sources() 5 0.006062 0.006062 0.006062 1.40% Gravity::multilevel_solve_for_new_phi() 1 0.00599 0.00599 0.00599 1.38% Gravity::actual_multilevel_solve() 1 0.005973 0.005973 0.005973 1.38% Castro::expand_state() 5 0.005911 0.005911 0.005911 1.37% Castro::enforce_min_density() 30 0.005849 0.005849 0.005849 1.35% Castro::post_timestep() 5 0.005775 0.005775 0.005775 1.33% FabArray::Saxpy() 597 0.005686 0.005686 0.005686 1.31% Gravity::fill_multipole_BCs() 6 0.005661 0.005661 0.005661 1.31% MLCGSolver::ParallelAllReduce 798 0.005529 0.005529 0.005529 1.28% amrex::Copy() 221 0.005362 0.005362 0.005362 1.24% MLMG::addInterpCorrection() 180 0.005348 0.005348 0.005348 1.24% MLMG::mgVcycle_up::4 36 0.005132 0.005132 0.005132 1.19% MLMG::mgVcycle_up::1 36 0.005119 0.005119 0.005119 1.18% amrex::average_down 180 0.005084 0.005084 0.005084 1.17% MLMG::mgVcycle_up::2 36 0.005031 0.005031 0.005031 1.16% MLMG::mgVcycle_up::3 36 0.004916 0.004916 0.004916 1.14% MLPoisson::Fapply() 500 0.004657 0.004657 0.004657 1.08% FabArray::Xpay() 361 0.003688 0.003688 0.003688 0.85% MLCellLinOp::solutionResidual() 42 0.003627 0.003627 0.003627 0.84% Castro::estTimeStep() 10 0.002938 0.002938 0.002938 0.68% Castro::reset_internal_energy(MultiFab) 30 0.002895 0.002895 0.002895 0.67% MLMG::computeResidual() 36 0.002859 0.002859 0.002859 0.66% MLCellLinOp::defineBC() 6 0.002849 0.002849 0.002849 0.66% MLMG::prepareForSolve() 6 0.002831 0.002831 0.002831 0.65% BndryData::define() 6 0.002712 0.002712 0.002712 0.63% Castro::enforce_speed_limit() 30 0.002411 0.002411 0.002411 0.56% amrex::Add() 72 0.001887 0.001887 0.001887 0.44% Castro::computeNewDt() 5 0.001873 0.001873 0.001873 0.43% Castro::construct_new_source() 25 0.001736 0.001736 0.001736 0.40% Castro::construct_new_gravity_source() 5 0.001682 0.001682 0.001682 0.39% Castro::construct_old_source() 25 0.001534 0.001534 0.001534 0.35% Castro::construct_old_gravity_source() 5 0.001506 0.001506 0.001506 0.35% Castro::finalize_do_advance() 5 0.001139 0.001139 0.001139 0.26% check_for_negative_density() 5 0.00101 0.00101 0.00101 0.23% MLMG::ResNormInf() 42 0.0009898 0.0009898 0.0009898 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009751 0.0009751 0.0009751 0.23% Castro::apply_source_to_state() 10 0.0009588 0.0009588 0.0009588 0.22% MLMG::getGradSolution() 6 0.0008979 0.0008979 0.0008979 0.21% MLCellLinOp::compGrad() 6 0.0008948 0.0008948 0.0008948 0.21% MLCellLinOp::setLevelBC() 6 0.0008414 0.0008414 0.0008414 0.19% Castro::reset_internal_energy(Fab) 240 0.0008308 0.0008308 0.0008308 0.19% MLMG::computeMLResidual() 6 0.0007985 0.0007985 0.0007985 0.18% FabArrayBase::getCPC() 632 0.0007892 0.0007892 0.0007892 0.18% MLPoisson::prepareForSolve() 6 0.0007808 0.0007808 0.0007808 0.18% MLCellLinOp::prepareForSolve() 6 0.0007711 0.0007711 0.0007711 0.18% Gravity::update_max_rhs() 6 0.0007165 0.0007165 0.0007165 0.17% FabArray::mult() 22 0.0006854 0.0006854 0.0006854 0.16% FabArray::setDomainBndry() 20 0.0006789 0.0006789 0.0006789 0.16% Castro::check_for_nan() 10 0.0006571 0.0006571 0.0006571 0.15% MultiFab::contains_nan() 10 0.0006491 0.0006491 0.0006491 0.15% Amr::InitAmr() 1 0.0004298 0.0004298 0.0004298 0.10% FabArrayBase::CPC::define() 244 0.0004169 0.0004169 0.0004169 0.10% FabArrayBase::getFB() 1766 0.0003443 0.0003443 0.0003443 0.08% Castro::finalize_advance() 5 0.0002973 0.0002973 0.0002973 0.07% Gravity::swapTimeLevels() 5 0.0002296 0.0002296 0.0002296 0.05% MultiFab::max() 6 0.0002042 0.0002042 0.0002042 0.05% MLMG::MLResNormInf() 6 0.0001919 0.0001919 0.0001919 0.04% Castro::buildMetrics() 1 0.0001523 0.0001523 0.0001523 0.04% MLLinOp::define() 6 0.0001193 0.0001193 0.0001193 0.03% MLMG::MLRhsNormInf() 6 0.0001185 0.0001185 0.0001185 0.03% MLLinOp::defineGrids() 6 0.0001138 0.0001138 0.0001138 0.03% Castro::create_source_corrector() 5 0.0001073 0.0001073 0.0001073 0.02% FabArrayBase::FB::FB() 26 6.133e-05 6.133e-05 6.133e-05 0.01% Amr::writeSmallPlotFile() 1 3.221e-05 3.221e-05 3.221e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.899e-05 2.899e-05 2.899e-05 0.01% Castro::swap_state_time_levels() 5 2.618e-05 2.618e-05 2.618e-05 0.01% Castro::initMFs() 1 2.391e-05 2.391e-05 2.391e-05 0.01% makeSFC 30 2.091e-05 2.091e-05 2.091e-05 0.00% DistributionMapping::Distribute() 31 8.948e-06 8.948e-06 8.948e-06 0.00% Amr::initSubcycle() 1 8.298e-06 8.298e-06 8.298e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.673e-06 4.673e-06 4.673e-06 0.00% Castro::FluxRegFineAdd() 5 3.266e-06 3.266e-06 3.266e-06 0.00% Gravity::set_mass_offset() 6 2.262e-06 2.262e-06 2.262e-06 0.00% Castro::retry_advance_ctu() 5 1.909e-06 1.909e-06 1.909e-06 0.00% Castro::FluxRegCrseInit 5 1.442e-06 1.442e-06 1.442e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.075e-06 1.075e-06 1.075e-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 134 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1037 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1958 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6408 KiB 14 MiB MLMG::prepareForSolve() 361 361 3438 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 178 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 188 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6394 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3283 B 2048 KiB Gravity::solve_for_phi() 40 40 628 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 316 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 202 KiB 671 KiB Castro::estTimeStep() 10 10 3246 B 480 KiB VisMF::Write(FabArray) 112 112 2295 B 320 KiB Castro::normalize_species() 30 30 6939 B 320 KiB amrex::average_down 469 469 1145 B 257 KiB MLMG::addInterpCorrection() 468 468 1061 B 257 KiB amrex::Dot() 592 592 3081 B 160 KiB FabArray::norminf() 501 501 3147 B 160 KiB check_for_negative_density() 5 5 344 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3337 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 255 B 9648 B MLCellLinOp::applyBC() 3892 3892 339 B 9344 B amrex::Copy() 56 56 5654 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 216 216 95 B 1280 B MLCellLinOp::defineBC() 36 36 355 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1142 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 183 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3337 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 256 B 9648 B MLCellLinOp::applyBC() 1946 1946 338 B 9328 B amrex::Copy() 56 56 5654 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2510 B 3072 B StateData::FillBoundary(geom) 960 960 35 B 3024 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 513 B 1296 B amrex::average_down 37 37 210 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 9 B 144 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.11-17-g9e35dc19489d) finalized