Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-26-gd45933c3616d) initialized Starting run at 07:53:51 UTC on 2023-09-28. Successfully read inputs file ... Castro git describe: 23.09-34-g7561a65ab AMReX git describe: 23.09-26-gd45933c36 Microphysics git describe: 23.09-15-g2261118f 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.051108933 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028393444 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.052661017 [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.049768099 [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.076390014 [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.080512445 [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.073417085 [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.050564605 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.053552505 [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.077408802 [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.074917117 [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.063911711 [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.069850538 [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.088210134 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028580967 seconds Ending run at 07:53:52 UTC on 2023-09-28. Run time = 0.974259812 Run time without initialization = 0.840436931 Average number of zones advanced per microsecond: 3.119 Average number of zones advanced per microsecond per rank: 3.119 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9743 ... 0.9743 ... 0.9743 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2884 0.2884 0.2884 29.60% VisMF::Write(FabArray) 11 0.2005 0.2005 0.2005 20.58% MLCellLinOp::applyBC() 4433 0.07933 0.07933 0.07933 8.14% Amr::checkPoint() 3 0.04391 0.04391 0.04391 4.51% StateData::FillBoundary(geom) 328 0.0336 0.0336 0.0336 3.45% MLPoisson::Fsmooth() 3280 0.0334 0.0334 0.0334 3.43% FillBoundary_nowait() 4023 0.03153 0.03153 0.03153 3.24% amrex::Dot() 1114 0.02122 0.02122 0.02122 2.18% Castro::normalize_species() 62 0.01936 0.01936 0.01936 1.99% Castro::computeTemp() 63 0.01681 0.01681 0.01681 1.73% amrex::Copy() 1029 0.01525 0.01525 0.01525 1.57% FabArray::norminf() 743 0.01489 0.01489 0.01489 1.53% FabArray::ParallelCopy_nowait() 861 0.01368 0.01368 0.01368 1.40% FabArray::setVal() 1144 0.01358 0.01358 0.01358 1.39% StateDataPhysBCFunct::() 41 0.01147 0.01147 0.01147 1.18% Castro::enforce_min_density() 62 0.01133 0.01133 0.01133 1.16% MLPoisson::Fapply() 1142 0.01073 0.01073 0.01073 1.10% MLCellLinOp::defineAuxData() 11 0.01059 0.01059 0.01059 1.09% Gravity::fill_multipole_BCs() 11 0.009452 0.009452 0.009452 0.97% FabArray::Saxpy() 813 0.008448 0.008448 0.008448 0.87% FabArray::Xpay() 821 0.008334 0.008334 0.008334 0.86% MLMG::addInterpCorrection() 410 0.006935 0.006935 0.006935 0.71% amrex::average_down 410 0.006203 0.006203 0.006203 0.64% Castro::estTimeStep() 21 0.005493 0.005493 0.005493 0.56% FabArray::LinComb() 557 0.004648 0.004648 0.004648 0.48% Castro::reset_internal_energy(MultiFab) 63 0.004484 0.004484 0.004484 0.46% amrex::Add() 164 0.00445 0.00445 0.00445 0.46% BndryData::define() 11 0.003935 0.003935 0.003935 0.40% Castro::construct_new_gravity_source() 10 0.003312 0.003312 0.003312 0.34% Castro::construct_old_gravity_source() 10 0.002906 0.002906 0.002906 0.30% MLCGSolver::bicgstab 82 0.002237 0.002237 0.002237 0.23% Castro::enforce_speed_limit() 62 0.00198 0.00198 0.00198 0.20% Amr::writePlotFile() 2 0.001942 0.001942 0.001942 0.20% check_for_negative_density() 10 0.001827 0.001827 0.001827 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001802 0.001802 0.001802 0.18% Castro::reset_internal_energy(Fab) 504 0.001738 0.001738 0.001738 0.18% Castro::initData() 1 0.001551 0.001551 0.001551 0.16% Gravity::actual_solve_with_mlmg() 11 0.001516 0.001516 0.001516 0.16% MLCellLinOp::setLevelBC() 11 0.001484 0.001484 0.001484 0.15% FabArray::mult() 43 0.001369 0.001369 0.001369 0.14% FabArray::setDomainBndry() 41 0.001365 0.001365 0.001365 0.14% MLCellLinOp::prepareForSolve() 11 0.0013 0.0013 0.0013 0.13% MultiFab::contains_nan() 20 0.001275 0.001275 0.001275 0.13% MLCellLinOp::smooth() 1640 0.001097 0.001097 0.001097 0.11% MLCellLinOp::compGrad() 11 0.001063 0.001063 0.001063 0.11% MLMG::prepareForSolve() 11 0.0009813 0.0009813 0.0009813 0.10% FabArray::FillBoundary() 4023 0.0008663 0.0008663 0.0008663 0.09% FabArrayBase::getCPC() 1323 0.0007833 0.0007833 0.0007833 0.08% FabArrayBase::CPC::define() 454 0.0006957 0.0006957 0.0006957 0.07% FabArrayBase::getFB() 4023 0.0006162 0.0006162 0.0006162 0.06% Gravity::get_new_grav_vector() 11 0.0006061 0.0006061 0.0006061 0.06% Gravity::get_old_grav_vector() 10 0.000498 0.000498 0.000498 0.05% Amr::InitAmr() 1 0.0004903 0.0004903 0.0004903 0.05% MLCellLinOp::apply() 1142 0.0004723 0.0004723 0.0004723 0.05% Amr::coarseTimeStep() 10 0.0003451 0.0003451 0.0003451 0.04% AmrLevel::FillPatch() 41 0.0003441 0.0003441 0.0003441 0.04% MultiFab::max() 11 0.0003433 0.0003433 0.0003433 0.04% main() 1 0.0003064 0.0003064 0.0003064 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002951 0.0002951 0.0002951 0.03% FabArray::ParallelCopy() 861 0.000266 0.000266 0.000266 0.03% MLCellLinOp::defineBC() 11 0.0002297 0.0002297 0.0002297 0.02% MLCellLinOp::correctionResidual() 492 0.0002234 0.0002234 0.0002234 0.02% FillPatchIterator::Initialize 41 0.0002233 0.0002233 0.0002233 0.02% MLMG::mgVcycle() 82 0.0002047 0.0002047 0.0002047 0.02% Castro::subcycle_advance_ctu() 10 0.0001722 0.0001722 0.0001722 0.02% Castro::create_source_corrector() 10 0.0001602 0.0001602 0.0001602 0.02% MLLinOp::defineGrids() 11 0.00016 0.00016 0.00016 0.02% Amr::timeStep() 10 0.000151 0.000151 0.000151 0.02% Gravity::solve_for_phi() 10 0.0001462 0.0001462 0.0001462 0.02% StateData::checkPoint() 12 0.0001331 0.0001331 0.0001331 0.01% MLMG:computeResOfCorrection() 410 0.0001326 0.0001326 0.0001326 0.01% Gravity::update_max_rhs() 11 0.0001249 0.0001249 0.0001249 0.01% Castro::Castro() 1 0.0001049 0.0001049 0.0001049 0.01% AmrLevel::checkPoint() 3 9.905e-05 9.905e-05 9.905e-05 0.01% FabArrayBase::FB::FB() 56 9.102e-05 9.102e-05 9.102e-05 0.01% MLMG::actualBottomSolve() 82 8.744e-05 8.744e-05 8.744e-05 0.01% MLMG::mgVcycle_down::0 82 8.687e-05 8.687e-05 8.687e-05 0.01% Castro::advance() 10 8.195e-05 8.195e-05 8.195e-05 0.01% MLMG::mgVcycle_down::1 82 8.072e-05 8.072e-05 8.072e-05 0.01% Castro::initialize_advance() 10 8.013e-05 8.013e-05 8.013e-05 0.01% MLMG::mgVcycle_down::2 82 7.886e-05 7.886e-05 7.886e-05 0.01% MLMG::mgVcycle_down::4 82 7.637e-05 7.637e-05 7.637e-05 0.01% Castro::clean_state() 62 7.509e-05 7.509e-05 7.509e-05 0.01% MLMG::mgVcycle_down::3 82 7.45e-05 7.45e-05 7.45e-05 0.01% MLMG::solve() 11 7.433e-05 7.433e-05 7.433e-05 0.01% Castro::enforce_consistent_e() 1 7.197e-05 7.197e-05 7.197e-05 0.01% Castro::finalize_advance() 10 6.215e-05 6.215e-05 6.215e-05 0.01% Castro::initialize_do_advance() 10 6.104e-05 6.104e-05 6.104e-05 0.01% MLMG::mgVcycle_up::4 82 6.026e-05 6.026e-05 6.026e-05 0.01% Castro::do_advance_ctu() 10 5.409e-05 5.409e-05 5.409e-05 0.01% MLCellLinOp::solutionResidual() 93 5.368e-05 5.368e-05 5.368e-05 0.01% Castro::finalize_do_advance() 10 5.349e-05 5.349e-05 5.349e-05 0.01% MLMG::oneIter() 82 5.189e-05 5.189e-05 5.189e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.108e-05 5.108e-05 5.108e-05 0.01% MLMG::mgVcycle_up::0 82 4.958e-05 4.958e-05 4.958e-05 0.01% MLMG::mgVcycle_up::3 82 4.9e-05 4.9e-05 4.9e-05 0.01% MLMG::mgVcycle_up::1 82 4.706e-05 4.706e-05 4.706e-05 0.00% Castro::post_timestep() 10 4.63e-05 4.63e-05 4.63e-05 0.00% MLMG::mgVcycle_up::2 82 4.602e-05 4.602e-05 4.602e-05 0.00% StateData::define() 4 4.014e-05 4.014e-05 4.014e-05 0.00% Castro::swap_state_time_levels() 10 3.787e-05 3.787e-05 3.787e-05 0.00% FillPatchSingleLevel 41 3.575e-05 3.575e-05 3.575e-05 0.00% MLMG::ResNormInf() 93 3.397e-05 3.397e-05 3.397e-05 0.00% Amr::writeSmallPlotFile() 1 3.353e-05 3.353e-05 3.353e-05 0.00% MLMG::mgVcycle_bottom 82 3.343e-05 3.343e-05 3.343e-05 0.00% MLMG::computeResidual() 82 3.278e-05 3.278e-05 3.278e-05 0.00% Castro::initMFs() 1 3.132e-05 3.132e-05 3.132e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.987e-05 2.987e-05 2.987e-05 0.00% Amr::FinalizeInit() 1 2.986e-05 2.986e-05 2.986e-05 0.00% Castro::construct_new_gravity() 10 2.863e-05 2.863e-05 2.863e-05 0.00% makeSFC 55 2.577e-05 2.577e-05 2.577e-05 0.00% Castro::do_old_sources() 10 2.316e-05 2.316e-05 2.316e-05 0.00% Castro::buildMetrics() 1 2.213e-05 2.213e-05 2.213e-05 0.00% Amr::defBaseLevel() 1 2.15e-05 2.15e-05 2.15e-05 0.00% MLPoisson::define() 11 2.138e-05 2.138e-05 2.138e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.078e-05 2.078e-05 2.078e-05 0.00% Castro::construct_old_source() 50 2.027e-05 2.027e-05 2.027e-05 0.00% DistributionMapping::Distribute() 56 2.001e-05 2.001e-05 2.001e-05 0.00% Castro::do_new_sources() 10 1.895e-05 1.895e-05 1.895e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.871e-05 1.871e-05 1.871e-05 0.00% Castro::construct_new_source() 50 1.734e-05 1.734e-05 1.734e-05 0.00% MLLinOp::define() 11 1.555e-05 1.555e-05 1.555e-05 0.00% Castro::check_for_nan() 20 1.343e-05 1.343e-05 1.343e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.31e-05 1.31e-05 1.31e-05 0.00% Castro::apply_source_to_state() 20 1.274e-05 1.274e-05 1.274e-05 0.00% Castro::construct_old_gravity() 10 1.175e-05 1.175e-05 1.175e-05 0.00% Amr::initSubcycle() 1 9.507e-06 9.507e-06 9.507e-06 0.00% MLMG::computeMLResidual() 11 8.785e-06 8.785e-06 8.785e-06 0.00% Gravity::swapTimeLevels() 10 8.476e-06 8.476e-06 8.476e-06 0.00% MLPoisson::prepareForSolve() 11 8.183e-06 8.183e-06 8.183e-06 0.00% Gravity::actual_multilevel_solve() 1 8.118e-06 8.118e-06 8.118e-06 0.00% Castro::computeNewDt() 9 7.829e-06 7.829e-06 7.829e-06 0.00% MLMG::getGradSolution() 11 5.621e-06 5.621e-06 5.621e-06 0.00% Castro::expand_state() 10 5.611e-06 5.611e-06 5.611e-06 0.00% Amr::InitializeInit() 1 4.719e-06 4.719e-06 4.719e-06 0.00% Castro::retry_advance_ctu() 10 4.555e-06 4.555e-06 4.555e-06 0.00% MLMG::MLRhsNormInf() 11 4.491e-06 4.491e-06 4.491e-06 0.00% AmrLevel::checkPointPre() 3 4.314e-06 4.314e-06 4.314e-06 0.00% Gravity::set_mass_offset() 11 4.202e-06 4.202e-06 4.202e-06 0.00% AmrLevel::checkPointPost() 3 3.995e-06 3.995e-06 3.995e-06 0.00% Castro::post_init() 1 3.991e-06 3.991e-06 3.991e-06 0.00% MLMG::MLResNormInf() 11 3.866e-06 3.866e-06 3.866e-06 0.00% Castro::computeInitialDt() 2 3.418e-06 3.418e-06 3.418e-06 0.00% Castro::FluxRegCrseInit 10 3.29e-06 3.29e-06 3.29e-06 0.00% Amr::init() 1 3.001e-06 3.001e-06 3.001e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.812e-06 2.812e-06 2.812e-06 0.00% Castro::FluxRegFineAdd() 10 2.519e-06 2.519e-06 2.519e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.006e-06 2.006e-06 2.006e-06 0.00% Amr::initialInit() 1 1.335e-06 1.335e-06 1.335e-06 0.00% Castro::post_regrid() 1 1.333e-06 1.333e-06 1.333e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9743 0.9743 0.9743 100.00% Amr::coarseTimeStep() 10 0.8116 0.8116 0.8116 83.30% Amr::timeStep() 10 0.6691 0.6691 0.6691 68.67% Castro::advance() 10 0.6593 0.6593 0.6593 67.67% Castro::subcycle_advance_ctu() 10 0.6449 0.6449 0.6449 66.19% Castro::do_advance_ctu() 10 0.6447 0.6447 0.6447 66.17% Castro::construct_ctu_hydro_source() 10 0.2991 0.2991 0.2991 30.70% Gravity::solve_phi_with_mlmg() 11 0.2955 0.2955 0.2955 30.33% Gravity::actual_solve_with_mlmg() 11 0.2856 0.2856 0.2856 29.31% Castro::construct_new_gravity() 10 0.2667 0.2667 0.2667 27.37% MLMG::solve() 11 0.2635 0.2635 0.2635 27.05% Gravity::solve_for_phi() 10 0.2504 0.2504 0.2504 25.70% MLMG::oneIter() 82 0.2483 0.2483 0.2483 25.49% MLMG::mgVcycle() 82 0.2446 0.2446 0.2446 25.11% VisMF::Write(FabArray) 11 0.2005 0.2005 0.2005 20.58% Amr::checkPoint() 3 0.19 0.19 0.19 19.50% AmrLevel::checkPoint() 3 0.1461 0.1461 0.1461 15.00% StateData::checkPoint() 12 0.146 0.146 0.146 14.99% Amr::init() 1 0.1332 0.1332 0.1332 13.67% MLCellLinOp::smooth() 1640 0.1201 0.1201 0.1201 12.32% MLCellLinOp::applyBC() 4433 0.1124 0.1124 0.1124 11.54% MLMG::mgVcycle_bottom 82 0.07615 0.07615 0.07615 7.82% MLMG::actualBottomSolve() 82 0.07612 0.07612 0.07612 7.81% MLCGSolver::bicgstab 82 0.07539 0.07539 0.07539 7.74% Amr::writePlotFile() 2 0.05711 0.05711 0.05711 5.86% AmrLevel::FillPatch() 41 0.05506 0.05506 0.05506 5.65% Castro::clean_state() 62 0.05481 0.05481 0.05481 5.63% Amr::initialInit() 1 0.05358 0.05358 0.05358 5.50% FillPatchIterator::Initialize 41 0.05083 0.05083 0.05083 5.22% Amr::FinalizeInit() 1 0.04929 0.04929 0.04929 5.06% FillPatchIterator::FillFromLevel0() 41 0.04924 0.04924 0.04924 5.05% FillPatchSingleLevel 41 0.04919 0.04919 0.04919 5.05% Castro::post_init() 1 0.048 0.048 0.048 4.93% Gravity::multilevel_solve_for_new_phi() 1 0.04562 0.04562 0.04562 4.68% Gravity::actual_multilevel_solve() 1 0.0456 0.0456 0.0456 4.68% StateDataPhysBCFunct::() 41 0.04506 0.04506 0.04506 4.63% MLCellLinOp::apply() 1142 0.03759 0.03759 0.03759 3.86% MLMG::mgVcycle_down::0 82 0.03449 0.03449 0.03449 3.54% StateData::FillBoundary(geom) 328 0.0336 0.0336 0.0336 3.45% MLPoisson::Fsmooth() 3280 0.0334 0.0334 0.0334 3.43% FabArray::FillBoundary() 4023 0.0331 0.0331 0.0331 3.40% FillBoundary_nowait() 4023 0.03224 0.03224 0.03224 3.31% MLMG::mgVcycle_up::0 82 0.02603 0.02603 0.02603 2.67% Castro::computeTemp() 63 0.02303 0.02303 0.02303 2.36% MLCellLinOp::correctionResidual() 492 0.02281 0.02281 0.02281 2.34% Castro::construct_old_gravity() 10 0.02222 0.02222 0.02222 2.28% Gravity::get_old_grav_vector() 10 0.02221 0.02221 0.02221 2.28% Castro::initialize_do_advance() 10 0.02175 0.02175 0.02175 2.23% amrex::Dot() 1114 0.02122 0.02122 0.02122 2.18% MLMG:computeResOfCorrection() 410 0.02011 0.02011 0.02011 2.06% Castro::normalize_species() 62 0.01936 0.01936 0.01936 1.99% Castro::do_old_sources() 10 0.01906 0.01906 0.01906 1.96% Gravity::get_new_grav_vector() 11 0.01826 0.01826 0.01826 1.87% MLPoisson::define() 11 0.0175 0.0175 0.0175 1.80% MLMG::mgVcycle_down::1 82 0.01642 0.01642 0.01642 1.69% amrex::Copy() 1029 0.01525 0.01525 0.01525 1.57% MLMG::mgVcycle_down::2 82 0.01523 0.01523 0.01523 1.56% FabArray::norminf() 743 0.01489 0.01489 0.01489 1.53% MLMG::mgVcycle_down::3 82 0.01488 0.01488 0.01488 1.53% FabArray::ParallelCopy() 861 0.01474 0.01474 0.01474 1.51% MLMG::mgVcycle_down::4 82 0.01468 0.01468 0.01468 1.51% FabArray::ParallelCopy_nowait() 861 0.01447 0.01447 0.01447 1.49% Castro::initialize_advance() 10 0.01376 0.01376 0.01376 1.41% FabArray::setVal() 1144 0.01358 0.01358 0.01358 1.39% Castro::do_new_sources() 10 0.01293 0.01293 0.01293 1.33% MLCGSolver::ParallelAllReduce 1514 0.01274 0.01274 0.01274 1.31% MLMG::addInterpCorrection() 410 0.0122 0.0122 0.0122 1.25% MLCellLinOp::defineAuxData() 11 0.01206 0.01206 0.01206 1.24% Castro::expand_state() 10 0.01188 0.01188 0.01188 1.22% MLMG::mgVcycle_up::1 82 0.01184 0.01184 0.01184 1.22% MLMG::mgVcycle_up::4 82 0.0118 0.0118 0.0118 1.21% amrex::average_down 410 0.01159 0.01159 0.01159 1.19% MLMG::mgVcycle_up::2 82 0.01156 0.01156 0.01156 1.19% MLMG::mgVcycle_up::3 82 0.01135 0.01135 0.01135 1.16% Castro::enforce_min_density() 62 0.01133 0.01133 0.01133 1.16% MLPoisson::Fapply() 1142 0.01073 0.01073 0.01073 1.10% Gravity::fill_multipole_BCs() 11 0.009695 0.009695 0.009695 1.00% Castro::post_timestep() 10 0.009603 0.009603 0.009603 0.99% FabArray::Saxpy() 813 0.008448 0.008448 0.008448 0.87% FabArray::Xpay() 821 0.008334 0.008334 0.008334 0.86% MLCellLinOp::solutionResidual() 93 0.007628 0.007628 0.007628 0.78% MLMG::computeResidual() 82 0.006317 0.006317 0.006317 0.65% Castro::reset_internal_energy(MultiFab) 63 0.006222 0.006222 0.006222 0.64% Castro::estTimeStep() 21 0.005493 0.005493 0.005493 0.56% MLCellLinOp::defineBC() 11 0.005181 0.005181 0.005181 0.53% MLMG::prepareForSolve() 11 0.005065 0.005065 0.005065 0.52% BndryData::define() 11 0.004951 0.004951 0.004951 0.51% FabArray::LinComb() 557 0.004648 0.004648 0.004648 0.48% amrex::Add() 164 0.00445 0.00445 0.00445 0.46% Amr::InitializeInit() 1 0.004292 0.004292 0.004292 0.44% Amr::defBaseLevel() 1 0.004287 0.004287 0.004287 0.44% Castro::initData() 1 0.00361 0.00361 0.00361 0.37% Castro::construct_new_source() 50 0.00333 0.00333 0.00333 0.34% Castro::construct_new_gravity_source() 10 0.003312 0.003312 0.003312 0.34% Castro::construct_old_source() 50 0.002926 0.002926 0.002926 0.30% Castro::construct_old_gravity_source() 10 0.002906 0.002906 0.002906 0.30% Castro::computeNewDt() 9 0.002509 0.002509 0.002509 0.26% MLMG::ResNormInf() 93 0.002192 0.002192 0.002192 0.22% Castro::enforce_speed_limit() 62 0.00198 0.00198 0.00198 0.20% Castro::finalize_do_advance() 10 0.001959 0.001959 0.001959 0.20% Castro::apply_source_to_state() 20 0.001872 0.001872 0.001872 0.19% check_for_negative_density() 10 0.001827 0.001827 0.001827 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001802 0.001802 0.001802 0.18% Castro::reset_internal_energy(Fab) 504 0.001738 0.001738 0.001738 0.18% MLMG::getGradSolution() 11 0.001555 0.001555 0.001555 0.16% MLCellLinOp::compGrad() 11 0.00155 0.00155 0.00155 0.16% MLCellLinOp::setLevelBC() 11 0.001484 0.001484 0.001484 0.15% FabArrayBase::getCPC() 1323 0.001479 0.001479 0.001479 0.15% FabArray::mult() 43 0.001369 0.001369 0.001369 0.14% FabArray::setDomainBndry() 41 0.001365 0.001365 0.001365 0.14% MLMG::computeMLResidual() 11 0.001353 0.001353 0.001353 0.14% MLPoisson::prepareForSolve() 11 0.001308 0.001308 0.001308 0.13% MLCellLinOp::prepareForSolve() 11 0.0013 0.0013 0.0013 0.13% Castro::check_for_nan() 20 0.001288 0.001288 0.001288 0.13% MultiFab::contains_nan() 20 0.001275 0.001275 0.001275 0.13% Castro::computeInitialDt() 2 0.00109 0.00109 0.00109 0.11% Gravity::update_max_rhs() 11 0.001001 0.001001 0.001001 0.10% Castro::post_regrid() 1 0.0009792 0.0009792 0.0009792 0.10% FabArrayBase::getFB() 4023 0.0007072 0.0007072 0.0007072 0.07% FabArrayBase::CPC::define() 454 0.0006957 0.0006957 0.0006957 0.07% Castro::finalize_advance() 10 0.0005993 0.0005993 0.0005993 0.06% Castro::Castro() 1 0.0005903 0.0005903 0.0005903 0.06% Amr::InitAmr() 1 0.0004998 0.0004998 0.0004998 0.05% Gravity::swapTimeLevels() 10 0.0004447 0.0004447 0.0004447 0.05% MultiFab::max() 11 0.0003433 0.0003433 0.0003433 0.04% MLMG::MLResNormInf() 11 0.0003347 0.0003347 0.0003347 0.03% Castro::buildMetrics() 1 0.0002842 0.0002842 0.0002842 0.03% MLLinOp::define() 11 0.0002353 0.0002353 0.0002353 0.02% MLMG::MLRhsNormInf() 11 0.0002235 0.0002235 0.0002235 0.02% MLLinOp::defineGrids() 11 0.0002198 0.0002198 0.0002198 0.02% Castro::create_source_corrector() 10 0.0001602 0.0001602 0.0001602 0.02% FabArrayBase::FB::FB() 56 9.102e-05 9.102e-05 9.102e-05 0.01% Castro::enforce_consistent_e() 1 7.197e-05 7.197e-05 7.197e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.092e-05 6.092e-05 6.092e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.781e-05 5.781e-05 5.781e-05 0.01% makeSFC 55 4.472e-05 4.472e-05 4.472e-05 0.00% StateData::define() 4 4.014e-05 4.014e-05 4.014e-05 0.00% Castro::swap_state_time_levels() 10 3.787e-05 3.787e-05 3.787e-05 0.00% Amr::writeSmallPlotFile() 1 3.353e-05 3.353e-05 3.353e-05 0.00% Castro::initMFs() 1 3.132e-05 3.132e-05 3.132e-05 0.00% DistributionMapping::Distribute() 56 2.001e-05 2.001e-05 2.001e-05 0.00% Amr::initSubcycle() 1 9.507e-06 9.507e-06 9.507e-06 0.00% Castro::retry_advance_ctu() 10 4.555e-06 4.555e-06 4.555e-06 0.00% AmrLevel::checkPointPre() 3 4.314e-06 4.314e-06 4.314e-06 0.00% Gravity::set_mass_offset() 11 4.202e-06 4.202e-06 4.202e-06 0.00% AmrLevel::checkPointPost() 3 3.995e-06 3.995e-06 3.995e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.876e-06 3.876e-06 3.876e-06 0.00% Castro::FluxRegCrseInit 10 3.29e-06 3.29e-06 3.29e-06 0.00% Castro::FluxRegFineAdd() 10 2.519e-06 2.519e-06 2.519e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.006e-06 2.006e-06 2.006e-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 137 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 138 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1032 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1650 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7609 KiB 14 MiB MLMG::prepareForSolve() 660 660 3327 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 194 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 233 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7529 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1993 B 2048 KiB Gravity::solve_for_phi() 80 80 525 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 304 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 193 KiB 671 KiB Castro::estTimeStep() 21 21 2747 B 480 KiB VisMF::Write(FabArray) 656 656 3153 B 320 KiB Castro::normalize_species() 62 62 6469 B 320 KiB amrex::average_down 1067 1067 1198 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1068 B 257 KiB amrex::Dot() 1360 1360 3194 B 160 KiB FabArray::norminf() 907 907 2243 B 160 KiB check_for_negative_density() 10 10 283 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 54 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3248 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 8866 8866 208 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3889 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 342 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 543 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 469 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3248 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 4433 4433 207 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3889 B 6144 B Gravity::get_new_grav_vector() 3 3 2904 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 277 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-26-gd45933c3616d) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-26-gd45933c3616d) initialized Starting run at 07:53:52 UTC on 2023-09-28. Successfully read inputs file ... Castro git describe: 23.09-34-g7561a65ab AMReX git describe: 23.09-26-gd45933c36 Microphysics git describe: 23.09-15-g2261118f reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.517155156 Restart time = 0.050517431 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.053526382 [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.04996718 [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.073796375 [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.082620938 [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.075798962 [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.029916569 seconds Ending run at 07:53:53 UTC on 2023-09-28. Run time = 0.417161851 Run time without initialization = 0.366062321 Average number of zones advanced per microsecond: 3.581 Average number of zones advanced per microsecond per rank: 3.581 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4172 ... 0.4172 ... 0.4172 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1453 0.1453 0.1453 34.84% VisMF::Read() 3 0.039 0.039 0.039 9.35% MLCellLinOp::applyBC() 1946 0.03399 0.03399 0.03399 8.15% VisMF::Write(FabArray) 1 0.0286 0.0286 0.0286 6.85% MLPoisson::Fsmooth() 1440 0.01425 0.01425 0.01425 3.42% StateData::FillBoundary(geom) 160 0.01308 0.01308 0.01308 3.13% FillBoundary_nowait() 1766 0.01271 0.01271 0.01271 3.05% Castro::normalize_species() 30 0.009124 0.009124 0.009124 2.19% amrex::Dot() 484 0.009055 0.009055 0.009055 2.17% Castro::computeTemp() 30 0.007417 0.007417 0.007417 1.78% amrex::Copy() 463 0.0072 0.0072 0.0072 1.73% Castro::enforce_min_density() 30 0.00666 0.00666 0.00666 1.60% FabArray::setVal() 537 0.006566 0.006566 0.006566 1.57% FabArray::norminf() 326 0.00645 0.00645 0.00645 1.55% FabArray::ParallelCopy_nowait() 380 0.006101 0.006101 0.006101 1.46% MLCellLinOp::defineAuxData() 6 0.005662 0.005662 0.005662 1.36% Gravity::fill_multipole_BCs() 6 0.005647 0.005647 0.005647 1.35% Amr::restart() 1 0.004752 0.004752 0.004752 1.14% StateDataPhysBCFunct::() 20 0.004638 0.004638 0.004638 1.11% MLPoisson::Fapply() 500 0.004599 0.004599 0.004599 1.10% FabArray::Saxpy() 355 0.00375 0.00375 0.00375 0.90% FabArray::Xpay() 361 0.003605 0.003605 0.003605 0.86% MLMG::addInterpCorrection() 180 0.003071 0.003071 0.003071 0.74% amrex::average_down 180 0.002695 0.002695 0.002695 0.65% Castro::estTimeStep() 10 0.002625 0.002625 0.002625 0.63% FabArray::LinComb() 242 0.002281 0.002281 0.002281 0.55% BndryData::define() 6 0.002141 0.002141 0.002141 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002122 0.002122 0.002122 0.51% amrex::Add() 72 0.001884 0.001884 0.001884 0.45% Castro::construct_new_gravity_source() 5 0.00176 0.00176 0.00176 0.42% Castro::enforce_speed_limit() 30 0.001746 0.001746 0.001746 0.42% Castro::construct_old_gravity_source() 5 0.001529 0.001529 0.001529 0.37% Amr::writePlotFile() 1 0.001145 0.001145 0.001145 0.27% check_for_negative_density() 5 0.001014 0.001014 0.001014 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001003 0.001003 0.001003 0.24% MLCGSolver::bicgstab 36 0.0009685 0.0009685 0.0009685 0.23% Gravity::actual_solve_with_mlmg() 6 0.0008347 0.0008347 0.0008347 0.20% MLCellLinOp::setLevelBC() 6 0.0008144 0.0008144 0.0008144 0.20% Castro::reset_internal_energy(Fab) 240 0.0007969 0.0007969 0.0007969 0.19% MLCellLinOp::prepareForSolve() 6 0.0007178 0.0007178 0.0007178 0.17% FabArray::setDomainBndry() 20 0.0006997 0.0006997 0.0006997 0.17% FabArray::mult() 22 0.0006871 0.0006871 0.0006871 0.16% MultiFab::contains_nan() 10 0.0006637 0.0006637 0.0006637 0.16% MLCellLinOp::compGrad() 6 0.0006049 0.0006049 0.0006049 0.14% MLMG::prepareForSolve() 6 0.0005397 0.0005397 0.0005397 0.13% MLCellLinOp::smooth() 720 0.0004652 0.0004652 0.0004652 0.11% FabArrayBase::CPC::define() 244 0.0004353 0.0004353 0.0004353 0.10% Amr::InitAmr() 1 0.000402 0.000402 0.000402 0.10% FabArray::FillBoundary() 1766 0.0003759 0.0003759 0.0003759 0.09% FabArrayBase::getCPC() 632 0.000368 0.000368 0.000368 0.09% Gravity::get_old_grav_vector() 5 0.0003306 0.0003306 0.0003306 0.08% FabArrayBase::getFB() 1766 0.0002643 0.0002643 0.0002643 0.06% Gravity::get_new_grav_vector() 5 0.0002618 0.0002618 0.0002618 0.06% main() 1 0.0002508 0.0002508 0.0002508 0.06% MultiFab::max() 6 0.0002046 0.0002046 0.0002046 0.05% Amr::coarseTimeStep() 5 0.0002021 0.0002021 0.0002021 0.05% MLCellLinOp::apply() 500 0.0001994 0.0001994 0.0001994 0.05% AmrLevel::FillPatch() 20 0.0001695 0.0001695 0.0001695 0.04% MLCGSolver::ParallelAllReduce 659 0.0001223 0.0001223 0.0001223 0.03% MLCellLinOp::defineBC() 6 0.0001176 0.0001176 0.0001176 0.03% FabArray::ParallelCopy() 380 0.0001158 0.0001158 0.0001158 0.03% FillPatchIterator::Initialize 20 0.000114 0.000114 0.000114 0.03% Castro::create_source_corrector() 5 0.0001011 0.0001011 0.0001011 0.02% MLCellLinOp::correctionResidual() 216 9.273e-05 9.273e-05 9.273e-05 0.02% MLLinOp::defineGrids() 6 9.098e-05 9.098e-05 9.098e-05 0.02% MLMG::mgVcycle() 36 8.721e-05 8.721e-05 8.721e-05 0.02% Castro::subcycle_advance_ctu() 5 8.6e-05 8.6e-05 8.6e-05 0.02% Amr::timeStep() 5 8.089e-05 8.089e-05 8.089e-05 0.02% Gravity::solve_for_phi() 5 7.859e-05 7.859e-05 7.859e-05 0.02% AmrLevel::restart() 1 7.037e-05 7.037e-05 7.037e-05 0.02% Castro::construct_new_source() 25 6.92e-05 6.92e-05 6.92e-05 0.02% Castro::finalize_do_advance() 5 6.568e-05 6.568e-05 6.568e-05 0.02% Gravity::update_max_rhs() 6 6.423e-05 6.423e-05 6.423e-05 0.02% Castro::initialize_do_advance() 5 6.125e-05 6.125e-05 6.125e-05 0.01% StateData::restartDoit() 4 6.114e-05 6.114e-05 6.114e-05 0.01% FabArrayBase::FB::FB() 26 5.845e-05 5.845e-05 5.845e-05 0.01% Castro::post_timestep() 5 5.78e-05 5.78e-05 5.78e-05 0.01% Castro::initialize_advance() 5 5.525e-05 5.525e-05 5.525e-05 0.01% MLMG:computeResOfCorrection() 180 5.439e-05 5.439e-05 5.439e-05 0.01% Castro::do_advance_ctu() 5 4.299e-05 4.299e-05 4.299e-05 0.01% MLMG::mgVcycle_down::0 36 4.221e-05 4.221e-05 4.221e-05 0.01% MLMG::actualBottomSolve() 36 4.178e-05 4.178e-05 4.178e-05 0.01% MLMG::mgVcycle_down::1 36 4.145e-05 4.145e-05 4.145e-05 0.01% MLMG::solve() 6 3.615e-05 3.615e-05 3.615e-05 0.01% MLMG::mgVcycle_down::2 36 3.475e-05 3.475e-05 3.475e-05 0.01% MLMG::mgVcycle_down::4 36 3.402e-05 3.402e-05 3.402e-05 0.01% Castro::clean_state() 30 3.221e-05 3.221e-05 3.221e-05 0.01% MLMG::mgVcycle_down::3 36 3.189e-05 3.189e-05 3.189e-05 0.01% Castro::advance() 5 2.989e-05 2.989e-05 2.989e-05 0.01% Castro::finalize_advance() 5 2.877e-05 2.877e-05 2.877e-05 0.01% Castro::do_new_sources() 5 2.83e-05 2.83e-05 2.83e-05 0.01% MLMG::mgVcycle_up::4 36 2.82e-05 2.82e-05 2.82e-05 0.01% Amr::writeSmallPlotFile() 1 2.716e-05 2.716e-05 2.716e-05 0.01% MLCellLinOp::solutionResidual() 42 2.615e-05 2.615e-05 2.615e-05 0.01% Castro::construct_old_source() 25 2.608e-05 2.608e-05 2.608e-05 0.01% Castro::swap_state_time_levels() 5 2.55e-05 2.55e-05 2.55e-05 0.01% Castro::buildMetrics() 1 2.505e-05 2.505e-05 2.505e-05 0.01% MLMG::oneIter() 36 2.359e-05 2.359e-05 2.359e-05 0.01% Castro::initMFs() 1 2.328e-05 2.328e-05 2.328e-05 0.01% Castro::post_restart() 1 2.295e-05 2.295e-05 2.295e-05 0.01% MLMG::mgVcycle_up::0 36 2.22e-05 2.22e-05 2.22e-05 0.01% MLMG::mgVcycle_up::3 36 2.146e-05 2.146e-05 2.146e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.121e-05 2.121e-05 2.121e-05 0.01% MLMG::mgVcycle_up::2 36 2.009e-05 2.009e-05 2.009e-05 0.00% MLMG::mgVcycle_up::1 36 1.966e-05 1.966e-05 1.966e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.692e-05 1.692e-05 1.692e-05 0.00% MLMG::ResNormInf() 42 1.642e-05 1.642e-05 1.642e-05 0.00% FillPatchSingleLevel 20 1.569e-05 1.569e-05 1.569e-05 0.00% MLMG::mgVcycle_bottom 36 1.498e-05 1.498e-05 1.498e-05 0.00% MLMG::computeResidual() 36 1.485e-05 1.485e-05 1.485e-05 0.00% MLPoisson::define() 6 1.471e-05 1.471e-05 1.471e-05 0.00% makeSFC 30 1.302e-05 1.302e-05 1.302e-05 0.00% Castro::construct_new_gravity() 5 1.3e-05 1.3e-05 1.3e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.257e-05 1.257e-05 1.257e-05 0.00% Castro::do_old_sources() 5 1.115e-05 1.115e-05 1.115e-05 0.00% MLLinOp::define() 6 1.094e-05 1.094e-05 1.094e-05 0.00% Amr::initSubcycle() 1 9.629e-06 9.629e-06 9.629e-06 0.00% DistributionMapping::Distribute() 31 9.159e-06 9.159e-06 9.159e-06 0.00% Gravity::actual_multilevel_solve() 1 8.533e-06 8.533e-06 8.533e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.429e-06 7.429e-06 7.429e-06 0.00% Castro::check_for_nan() 10 6.984e-06 6.984e-06 6.984e-06 0.00% Castro::construct_old_gravity() 5 6.746e-06 6.746e-06 6.746e-06 0.00% Castro::apply_source_to_state() 10 5.679e-06 5.679e-06 5.679e-06 0.00% MLMG::computeMLResidual() 6 4.148e-06 4.148e-06 4.148e-06 0.00% Gravity::swapTimeLevels() 5 4.022e-06 4.022e-06 4.022e-06 0.00% MLPoisson::prepareForSolve() 6 3.993e-06 3.993e-06 3.993e-06 0.00% Castro::computeNewDt() 5 3.979e-06 3.979e-06 3.979e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.638e-06 3.638e-06 3.638e-06 0.00% MLMG::getGradSolution() 6 3.451e-06 3.451e-06 3.451e-06 0.00% Castro::expand_state() 5 3.178e-06 3.178e-06 3.178e-06 0.00% Gravity::set_mass_offset() 6 2.414e-06 2.414e-06 2.414e-06 0.00% MLMG::MLRhsNormInf() 6 2.379e-06 2.379e-06 2.379e-06 0.00% MLMG::MLResNormInf() 6 2.197e-06 2.197e-06 2.197e-06 0.00% Castro::retry_advance_ctu() 5 2.055e-06 2.055e-06 2.055e-06 0.00% Castro::FluxRegCrseInit 5 1.515e-06 1.515e-06 1.515e-06 0.00% Castro::FluxRegFineAdd() 5 1.246e-06 1.246e-06 1.246e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.144e-06 1.144e-06 1.144e-06 0.00% Amr::init() 1 1.116e-06 1.116e-06 1.116e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4172 0.4172 0.4172 100.00% Amr::coarseTimeStep() 5 0.3359 0.3359 0.3359 80.52% Amr::timeStep() 5 0.334 0.334 0.334 80.06% Castro::advance() 5 0.3281 0.3281 0.3281 78.63% Castro::subcycle_advance_ctu() 5 0.3205 0.3205 0.3205 76.82% Castro::do_advance_ctu() 5 0.3204 0.3204 0.3204 76.80% Castro::construct_ctu_hydro_source() 5 0.1508 0.1508 0.1508 36.15% Castro::construct_new_gravity() 5 0.1332 0.1332 0.1332 31.94% Gravity::solve_phi_with_mlmg() 6 0.131 0.131 0.131 31.40% Gravity::solve_for_phi() 5 0.1253 0.1253 0.1253 30.03% Gravity::actual_solve_with_mlmg() 6 0.1251 0.1251 0.1251 29.98% MLMG::solve() 6 0.1131 0.1131 0.1131 27.10% MLMG::oneIter() 36 0.1057 0.1057 0.1057 25.32% MLMG::mgVcycle() 36 0.1041 0.1041 0.1041 24.96% Amr::init() 1 0.05058 0.05058 0.05058 12.12% Amr::restart() 1 0.05058 0.05058 0.05058 12.12% MLCellLinOp::smooth() 720 0.05054 0.05054 0.05054 12.11% MLCellLinOp::applyBC() 1946 0.0474 0.0474 0.0474 11.36% AmrLevel::restart() 1 0.03935 0.03935 0.03935 9.43% StateData::restartDoit() 4 0.03927 0.03927 0.03927 9.41% VisMF::Read() 3 0.039 0.039 0.039 9.35% MLMG::mgVcycle_bottom 36 0.03278 0.03278 0.03278 7.86% MLMG::actualBottomSolve() 36 0.03277 0.03277 0.03277 7.85% MLCGSolver::bicgstab 36 0.03244 0.03244 0.03244 7.78% Amr::writePlotFile() 1 0.03 0.03 0.03 7.19% VisMF::Write(FabArray) 1 0.0286 0.0286 0.0286 6.85% Castro::clean_state() 30 0.0279 0.0279 0.0279 6.69% AmrLevel::FillPatch() 20 0.02269 0.02269 0.02269 5.44% FillPatchIterator::Initialize 20 0.02062 0.02062 0.02062 4.94% FillPatchIterator::FillFromLevel0() 20 0.0198 0.0198 0.0198 4.75% FillPatchSingleLevel 20 0.01978 0.01978 0.01978 4.74% StateDataPhysBCFunct::() 20 0.01772 0.01772 0.01772 4.25% MLCellLinOp::apply() 500 0.0161 0.0161 0.0161 3.86% MLMG::mgVcycle_down::0 36 0.01449 0.01449 0.01449 3.47% MLPoisson::Fsmooth() 1440 0.01425 0.01425 0.01425 3.42% FabArray::FillBoundary() 1766 0.01341 0.01341 0.01341 3.21% StateData::FillBoundary(geom) 160 0.01308 0.01308 0.01308 3.13% FillBoundary_nowait() 1766 0.01303 0.01303 0.01303 3.12% Castro::initialize_do_advance() 5 0.01132 0.01132 0.01132 2.71% MLMG::mgVcycle_up::0 36 0.01081 0.01081 0.01081 2.59% Castro::computeTemp() 30 0.01034 0.01034 0.01034 2.48% MLCellLinOp::correctionResidual() 216 0.009657 0.009657 0.009657 2.31% Castro::do_old_sources() 5 0.009534 0.009534 0.009534 2.29% MLPoisson::define() 6 0.009479 0.009479 0.009479 2.27% Castro::normalize_species() 30 0.009124 0.009124 0.009124 2.19% amrex::Dot() 484 0.009055 0.009055 0.009055 2.17% MLMG:computeResOfCorrection() 180 0.008494 0.008494 0.008494 2.04% Gravity::get_new_grav_vector() 5 0.007836 0.007836 0.007836 1.88% Castro::construct_old_gravity() 5 0.007592 0.007592 0.007592 1.82% Gravity::get_old_grav_vector() 5 0.007586 0.007586 0.007586 1.82% Castro::initialize_advance() 5 0.007242 0.007242 0.007242 1.74% amrex::Copy() 463 0.0072 0.0072 0.0072 1.73% MLMG::mgVcycle_down::1 36 0.007051 0.007051 0.007051 1.69% Castro::enforce_min_density() 30 0.00666 0.00666 0.00666 1.60% FabArray::ParallelCopy() 380 0.006609 0.006609 0.006609 1.58% FabArray::setVal() 537 0.006566 0.006566 0.006566 1.57% FabArray::ParallelCopy_nowait() 380 0.006493 0.006493 0.006493 1.56% MLCellLinOp::defineAuxData() 6 0.006468 0.006468 0.006468 1.55% MLMG::mgVcycle_down::2 36 0.006453 0.006453 0.006453 1.55% FabArray::norminf() 326 0.00645 0.00645 0.00645 1.55% Castro::do_new_sources() 5 0.006397 0.006397 0.006397 1.53% Castro::post_restart() 1 0.006309 0.006309 0.006309 1.51% MLMG::mgVcycle_down::3 36 0.006286 0.006286 0.006286 1.51% MLMG::mgVcycle_down::4 36 0.006241 0.006241 0.006241 1.50% Gravity::multilevel_solve_for_new_phi() 1 0.005949 0.005949 0.005949 1.43% Gravity::actual_multilevel_solve() 1 0.005932 0.005932 0.005932 1.42% Castro::expand_state() 5 0.005866 0.005866 0.005866 1.41% Castro::post_timestep() 5 0.005863 0.005863 0.005863 1.41% Gravity::fill_multipole_BCs() 6 0.005779 0.005779 0.005779 1.39% MLCGSolver::ParallelAllReduce 659 0.00548 0.00548 0.00548 1.31% MLMG::addInterpCorrection() 180 0.005324 0.005324 0.005324 1.28% MLMG::mgVcycle_up::4 36 0.00513 0.00513 0.00513 1.23% MLMG::mgVcycle_up::1 36 0.00502 0.00502 0.00502 1.20% amrex::average_down 180 0.005001 0.005001 0.005001 1.20% MLMG::mgVcycle_up::2 36 0.004942 0.004942 0.004942 1.18% MLMG::mgVcycle_up::3 36 0.004829 0.004829 0.004829 1.16% MLPoisson::Fapply() 500 0.004599 0.004599 0.004599 1.10% FabArray::Saxpy() 355 0.00375 0.00375 0.00375 0.90% FabArray::Xpay() 361 0.003605 0.003605 0.003605 0.86% MLCellLinOp::solutionResidual() 42 0.003473 0.003473 0.003473 0.83% Castro::reset_internal_energy(MultiFab) 30 0.002919 0.002919 0.002919 0.70% MLCellLinOp::defineBC() 6 0.002865 0.002865 0.002865 0.69% MLMG::prepareForSolve() 6 0.002769 0.002769 0.002769 0.66% BndryData::define() 6 0.002747 0.002747 0.002747 0.66% MLMG::computeResidual() 36 0.002703 0.002703 0.002703 0.65% Castro::estTimeStep() 10 0.002625 0.002625 0.002625 0.63% FabArray::LinComb() 242 0.002281 0.002281 0.002281 0.55% amrex::Add() 72 0.001884 0.001884 0.001884 0.45% Castro::construct_new_source() 25 0.001829 0.001829 0.001829 0.44% Castro::construct_new_gravity_source() 5 0.00176 0.00176 0.00176 0.42% Castro::enforce_speed_limit() 30 0.001746 0.001746 0.001746 0.42% Castro::computeNewDt() 5 0.001704 0.001704 0.001704 0.41% Castro::construct_old_source() 25 0.001555 0.001555 0.001555 0.37% Castro::construct_old_gravity_source() 5 0.001529 0.001529 0.001529 0.37% check_for_negative_density() 5 0.001014 0.001014 0.001014 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.001003 0.001003 0.001003 0.24% MLMG::ResNormInf() 42 0.0009969 0.0009969 0.0009969 0.24% Castro::finalize_do_advance() 5 0.0009913 0.0009913 0.0009913 0.24% Castro::apply_source_to_state() 10 0.0009572 0.0009572 0.0009572 0.23% MLMG::getGradSolution() 6 0.000885 0.000885 0.000885 0.21% MLCellLinOp::compGrad() 6 0.0008816 0.0008816 0.0008816 0.21% MLCellLinOp::setLevelBC() 6 0.0008144 0.0008144 0.0008144 0.20% FabArrayBase::getCPC() 632 0.0008033 0.0008033 0.0008033 0.19% Castro::reset_internal_energy(Fab) 240 0.0007969 0.0007969 0.0007969 0.19% MLMG::computeMLResidual() 6 0.000789 0.000789 0.000789 0.19% MLPoisson::prepareForSolve() 6 0.0007218 0.0007218 0.0007218 0.17% MLCellLinOp::prepareForSolve() 6 0.0007178 0.0007178 0.0007178 0.17% Gravity::update_max_rhs() 6 0.0007026 0.0007026 0.0007026 0.17% FabArray::setDomainBndry() 20 0.0006997 0.0006997 0.0006997 0.17% FabArray::mult() 22 0.0006871 0.0006871 0.0006871 0.16% Castro::check_for_nan() 10 0.0006706 0.0006706 0.0006706 0.16% MultiFab::contains_nan() 10 0.0006637 0.0006637 0.0006637 0.16% FabArrayBase::CPC::define() 244 0.0004353 0.0004353 0.0004353 0.10% Amr::InitAmr() 1 0.0004116 0.0004116 0.0004116 0.10% FabArrayBase::getFB() 1766 0.0003228 0.0003228 0.0003228 0.08% Castro::finalize_advance() 5 0.0002907 0.0002907 0.0002907 0.07% Gravity::swapTimeLevels() 5 0.0002307 0.0002307 0.0002307 0.06% MultiFab::max() 6 0.0002046 0.0002046 0.0002046 0.05% MLMG::MLResNormInf() 6 0.0001891 0.0001891 0.0001891 0.05% Castro::buildMetrics() 1 0.0001496 0.0001496 0.0001496 0.04% MLLinOp::define() 6 0.0001313 0.0001313 0.0001313 0.03% MLLinOp::defineGrids() 6 0.0001204 0.0001204 0.0001204 0.03% MLMG::MLRhsNormInf() 6 0.0001194 0.0001194 0.0001194 0.03% Castro::create_source_corrector() 5 0.0001011 0.0001011 0.0001011 0.02% FabArrayBase::FB::FB() 26 5.845e-05 5.845e-05 5.845e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.824e-05 2.824e-05 2.824e-05 0.01% Amr::writeSmallPlotFile() 1 2.716e-05 2.716e-05 2.716e-05 0.01% Castro::swap_state_time_levels() 5 2.55e-05 2.55e-05 2.55e-05 0.01% Castro::initMFs() 1 2.328e-05 2.328e-05 2.328e-05 0.01% makeSFC 30 2.081e-05 2.081e-05 2.081e-05 0.00% Amr::initSubcycle() 1 9.629e-06 9.629e-06 9.629e-06 0.00% DistributionMapping::Distribute() 31 9.159e-06 9.159e-06 9.159e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.004e-06 5.004e-06 5.004e-06 0.00% Gravity::set_mass_offset() 6 2.414e-06 2.414e-06 2.414e-06 0.00% Castro::retry_advance_ctu() 5 2.055e-06 2.055e-06 2.055e-06 0.00% Castro::FluxRegCrseInit 5 1.515e-06 1.515e-06 1.515e-06 0.00% Castro::FluxRegFineAdd() 5 1.246e-06 1.246e-06 1.246e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.144e-06 1.144e-06 1.144e-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 199 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 154 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 1079 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2020 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 6764 KiB 14 MiB MLMG::prepareForSolve() 361 361 3326 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 188 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 192 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6751 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3340 B 2048 KiB Gravity::solve_for_phi() 40 40 613 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 306 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 197 KiB 671 KiB Castro::estTimeStep() 10 10 3008 B 480 KiB VisMF::Write(FabArray) 112 112 1322 B 320 KiB Castro::normalize_species() 30 30 7117 B 320 KiB amrex::average_down 469 469 1181 B 257 KiB MLMG::addInterpCorrection() 468 468 1093 B 257 KiB amrex::Dot() 592 592 3185 B 160 KiB FabArray::norminf() 398 398 2272 B 160 KiB check_for_negative_density() 5 5 388 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3224 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 3892 3892 211 B 9344 B amrex::Copy() 56 56 5947 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 41 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 344 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1264 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 198 KiB 3584 KiB VisMF::Read() 24 24 181 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3224 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 1946 1946 210 B 9328 B amrex::Copy() 56 56 5947 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2651 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 516 B 1296 B amrex::average_down 37 37 223 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.09-26-gd45933c3616d) finalized