Initializing AMReX (24.01-3-g656bb64515bd)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-3-g656bb64515bd) initialized Starting run at 09:32:43 UTC on 2024-01-11. Successfully read inputs file ... Castro git describe: 24.01-8-g5da02d40d AMReX git describe: 24.01-3-g656bb6451 Microphysics git describe: 24.01-9-ga4d7ab4d 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.04595792 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025323209 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.068365733 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.072348881 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.073043747 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.068894575 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.062570254 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.04525786 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.052178227 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.070753368 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.075645678 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.061046998 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.068555088 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.043823227 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025391422 seconds Ending run at 09:32:44 UTC on 2024-01-11. Run time = 0.911625842 Run time without initialization = 0.788554543 Average number of zones advanced per microsecond: 3.324 Average number of zones advanced per microsecond per rank: 3.324 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9117 ... 0.9117 ... 0.9117 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2932 0.2932 0.2932 32.16% VisMF::Write(FabArray) 11 0.1772 0.1772 0.1772 19.44% MLCellLinOp::applyBC() 4298 0.07936 0.07936 0.07936 8.71% MLPoisson::Fsmooth() 3240 0.03375 0.03375 0.03375 3.70% FillBoundary_nowait() 3893 0.02987 0.02987 0.02987 3.28% StateData::FillBoundary(geom) 328 0.02681 0.02681 0.02681 2.94% Castro::normalize_species() 62 0.02196 0.02196 0.02196 2.41% amrex::Dot() 1100 0.02149 0.02149 0.02149 2.36% FabArray::norminf() 1048 0.01996 0.01996 0.01996 2.19% Castro::computeTemp() 63 0.01531 0.01531 0.01531 1.68% FabArray::ParallelCopy_nowait() 851 0.01339 0.01339 0.01339 1.47% FabArray::setVal() 1054 0.01318 0.01318 0.01318 1.45% FabArray::Saxpy() 1353 0.0131 0.0131 0.0131 1.44% Castro::enforce_min_density() 62 0.01203 0.01203 0.01203 1.32% StateDataPhysBCFunct::() 41 0.01093 0.01093 0.01093 1.20% amrex::Copy() 469 0.01078 0.01078 0.01078 1.18% MLCellLinOp::defineAuxData() 11 0.01047 0.01047 0.01047 1.15% MLPoisson::Fapply() 1047 0.01025 0.01025 0.01025 1.12% Gravity::fill_multipole_BCs() 11 0.009443 0.009443 0.009443 1.04% FabArray::Xpay() 730 0.007747 0.007747 0.007747 0.85% MLMG::addInterpCorrection() 405 0.006971 0.006971 0.006971 0.76% amrex::average_down 405 0.006192 0.006192 0.006192 0.68% Castro::estTimeStep() 21 0.006001 0.006001 0.006001 0.66% Amr::checkPoint() 3 0.005918 0.005918 0.005918 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005208 0.005208 0.005208 0.57% BndryData::define() 11 0.003899 0.003899 0.003899 0.43% amrex::Add() 81 0.00354 0.00354 0.00354 0.39% Castro::construct_new_gravity_source() 10 0.003379 0.003379 0.003379 0.37% Castro::enforce_speed_limit() 62 0.003216 0.003216 0.003216 0.35% Castro::construct_old_gravity_source() 10 0.00287 0.00287 0.00287 0.31% Amr::writePlotFile() 2 0.002075 0.002075 0.002075 0.23% check_for_negative_density() 10 0.001931 0.001931 0.001931 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001787 0.001787 0.001787 0.20% Castro::reset_internal_energy(Fab) 504 0.001708 0.001708 0.001708 0.19% MLCGSolver::bicgstab 81 0.001618 0.001618 0.001618 0.18% MLCellLinOp::setLevelBC() 11 0.001612 0.001612 0.001612 0.18% Gravity::actual_solve_with_mlmg() 11 0.001584 0.001584 0.001584 0.17% Castro::initData() 1 0.001499 0.001499 0.001499 0.16% FabArray::mult() 43 0.001365 0.001365 0.001365 0.15% MLCellLinOp::prepareForSolve() 11 0.001361 0.001361 0.001361 0.15% FabArray::setDomainBndry() 41 0.001343 0.001343 0.001343 0.15% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% MLCellLinOp::smooth() 1620 0.001185 0.001185 0.001185 0.13% MLCellLinOp::compGrad() 11 0.001065 0.001065 0.001065 0.12% MLMG::prepareForSolve() 11 0.0009841 0.0009841 0.0009841 0.11% FabArray::FillBoundary() 3893 0.0008274 0.0008274 0.0008274 0.09% FabArrayBase::getCPC() 1313 0.0007753 0.0007753 0.0007753 0.09% FabArrayBase::CPC::define() 454 0.0006621 0.0006621 0.0006621 0.07% FabArrayBase::getFB() 3893 0.0006187 0.0006187 0.0006187 0.07% Gravity::get_new_grav_vector() 11 0.0006108 0.0006108 0.0006108 0.07% Amr::InitAmr() 1 0.0005993 0.0005993 0.0005993 0.07% Gravity::get_old_grav_vector() 10 0.0004811 0.0004811 0.0004811 0.05% MLCellLinOp::apply() 1047 0.0004282 0.0004282 0.0004282 0.05% AmrLevel::FillPatch() 41 0.000417 0.000417 0.000417 0.05% Amr::coarseTimeStep() 10 0.0003877 0.0003877 0.0003877 0.04% MLCGSolver::ParallelAllReduce 1809 0.00033 0.00033 0.00033 0.04% MultiFab::max() 11 0.0003298 0.0003298 0.0003298 0.04% main() 1 0.000322 0.000322 0.000322 0.04% MLCellLinOp::defineBC() 11 0.0002889 0.0002889 0.0002889 0.03% FabArray::ParallelCopy() 851 0.0002429 0.0002429 0.0002429 0.03% FillPatchIterator::Initialize 41 0.0002213 0.0002213 0.0002213 0.02% MLMG::mgVcycle() 81 0.0002032 0.0002032 0.0002032 0.02% MLCellLinOp::correctionResidual() 405 0.0001697 0.0001697 0.0001697 0.02% Castro::subcycle_advance_ctu() 10 0.0001657 0.0001657 0.0001657 0.02% MLLinOp::defineGrids() 11 0.0001648 0.0001648 0.0001648 0.02% Amr::timeStep() 10 0.0001605 0.0001605 0.0001605 0.02% Castro::create_source_corrector() 10 0.0001582 0.0001582 0.0001582 0.02% StateData::checkPoint() 12 0.0001407 0.0001407 0.0001407 0.02% Gravity::update_max_rhs() 11 0.0001299 0.0001299 0.0001299 0.01% Gravity::solve_for_phi() 10 0.0001209 0.0001209 0.0001209 0.01% MLMG:computeResOfCorrection() 405 0.0001132 0.0001132 0.0001132 0.01% Castro::construct_new_source() 50 0.0001037 0.0001037 0.0001037 0.01% Castro::Castro() 1 9.509e-05 9.509e-05 9.509e-05 0.01% FabArrayBase::FB::FB() 56 9.317e-05 9.317e-05 9.317e-05 0.01% MLMG::mgVcycle_down::0 81 9.278e-05 9.278e-05 9.278e-05 0.01% MLMG::actualBottomSolve() 81 8.863e-05 8.863e-05 8.863e-05 0.01% Castro::clean_state() 62 8.557e-05 8.557e-05 8.557e-05 0.01% MLMG::mgVcycle_down::1 81 8.054e-05 8.054e-05 8.054e-05 0.01% MLMG::mgVcycle_down::2 81 8.023e-05 8.023e-05 8.023e-05 0.01% Castro::initialize_advance() 10 7.813e-05 7.813e-05 7.813e-05 0.01% AmrLevel::checkPoint() 3 7.603e-05 7.603e-05 7.603e-05 0.01% MLMG::mgVcycle_down::4 81 7.563e-05 7.563e-05 7.563e-05 0.01% MLMG::mgVcycle_down::3 81 7.406e-05 7.406e-05 7.406e-05 0.01% MLMG::solve() 11 7.195e-05 7.195e-05 7.195e-05 0.01% Castro::enforce_consistent_e() 1 7.023e-05 7.023e-05 7.023e-05 0.01% Castro::advance() 10 6.719e-05 6.719e-05 6.719e-05 0.01% Castro::finalize_advance() 10 6.539e-05 6.539e-05 6.539e-05 0.01% Castro::post_timestep() 10 6.349e-05 6.349e-05 6.349e-05 0.01% MLMG::mgVcycle_up::4 81 6.173e-05 6.173e-05 6.173e-05 0.01% Castro::initialize_do_advance() 10 5.981e-05 5.981e-05 5.981e-05 0.01% MLMG::mgVcycle_up::0 81 5.737e-05 5.737e-05 5.737e-05 0.01% MLMG::oneIter() 81 5.406e-05 5.406e-05 5.406e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.276e-05 5.276e-05 5.276e-05 0.01% MLMG::mgVcycle_up::3 81 5.239e-05 5.239e-05 5.239e-05 0.01% Castro::do_advance_ctu() 10 5.067e-05 5.067e-05 5.067e-05 0.01% MLMG::mgVcycle_up::1 81 5.063e-05 5.063e-05 5.063e-05 0.01% MLMG::mgVcycle_up::2 81 4.99e-05 4.99e-05 4.99e-05 0.01% MLCellLinOp::solutionResidual() 92 4.769e-05 4.769e-05 4.769e-05 0.01% Castro::finalize_do_advance() 10 4.579e-05 4.579e-05 4.579e-05 0.01% StateData::define() 4 4.066e-05 4.066e-05 4.066e-05 0.00% FillPatchSingleLevel 41 3.695e-05 3.695e-05 3.695e-05 0.00% Castro::swap_state_time_levels() 10 3.599e-05 3.599e-05 3.599e-05 0.00% MLMG::computeResidual() 81 3.56e-05 3.56e-05 3.56e-05 0.00% MLMG::ResNormInf() 92 3.542e-05 3.542e-05 3.542e-05 0.00% MLMG::mgVcycle_bottom 81 3.3e-05 3.3e-05 3.3e-05 0.00% Amr::writeSmallPlotFile() 1 3.134e-05 3.134e-05 3.134e-05 0.00% Castro::construct_new_gravity() 10 3.088e-05 3.088e-05 3.088e-05 0.00% Castro::initMFs() 1 3.013e-05 3.013e-05 3.013e-05 0.00% Amr::FinalizeInit() 1 2.581e-05 2.581e-05 2.581e-05 0.00% makeSFC 55 2.561e-05 2.561e-05 2.561e-05 0.00% MLPoisson::define() 11 2.541e-05 2.541e-05 2.541e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.421e-05 2.421e-05 2.421e-05 0.00% Amr::defBaseLevel() 1 2.414e-05 2.414e-05 2.414e-05 0.00% Castro::buildMetrics() 1 2.203e-05 2.203e-05 2.203e-05 0.00% Castro::do_old_sources() 10 2.108e-05 2.108e-05 2.108e-05 0.00% Castro::do_new_sources() 10 1.88e-05 1.88e-05 1.88e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.875e-05 1.875e-05 1.875e-05 0.00% Castro::construct_old_source() 50 1.849e-05 1.849e-05 1.849e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.806e-05 1.806e-05 1.806e-05 0.00% DistributionMapping::Distribute() 56 1.623e-05 1.623e-05 1.623e-05 0.00% MLMG::computeMLResidual() 11 1.537e-05 1.537e-05 1.537e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.491e-05 1.491e-05 1.491e-05 0.00% MLPoisson::prepareForSolve() 11 1.475e-05 1.475e-05 1.475e-05 0.00% MLLinOp::define() 11 1.423e-05 1.423e-05 1.423e-05 0.00% Castro::construct_old_gravity() 10 1.177e-05 1.177e-05 1.177e-05 0.00% Castro::apply_source_to_state() 20 1.17e-05 1.17e-05 1.17e-05 0.00% Castro::check_for_nan() 20 1.124e-05 1.124e-05 1.124e-05 0.00% Castro::post_init() 1 9.884e-06 9.884e-06 9.884e-06 0.00% Amr::initSubcycle() 1 9.161e-06 9.161e-06 9.161e-06 0.00% Gravity::swapTimeLevels() 10 8.34e-06 8.34e-06 8.34e-06 0.00% Gravity::actual_multilevel_solve() 1 8.197e-06 8.197e-06 8.197e-06 0.00% Castro::computeNewDt() 9 6.586e-06 6.586e-06 6.586e-06 0.00% Castro::expand_state() 10 5.997e-06 5.997e-06 5.997e-06 0.00% MLMG::getGradSolution() 11 5.987e-06 5.987e-06 5.987e-06 0.00% Amr::InitializeInit() 1 5.539e-06 5.539e-06 5.539e-06 0.00% AmrLevel::checkPointPost() 3 4.83e-06 4.83e-06 4.83e-06 0.00% Castro::retry_advance_ctu() 10 4.426e-06 4.426e-06 4.426e-06 0.00% Gravity::set_mass_offset() 11 4.381e-06 4.381e-06 4.381e-06 0.00% MLMG::MLRhsNormInf() 11 3.873e-06 3.873e-06 3.873e-06 0.00% MLMG::MLResNormInf() 11 3.683e-06 3.683e-06 3.683e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.31e-06 3.31e-06 3.31e-06 0.00% Castro::computeInitialDt() 2 3.126e-06 3.126e-06 3.126e-06 0.00% Castro::FluxRegCrseInit 10 2.862e-06 2.862e-06 2.862e-06 0.00% AmrLevel::checkPointPre() 3 2.49e-06 2.49e-06 2.49e-06 0.00% Castro::FluxRegFineAdd() 10 2.335e-06 2.335e-06 2.335e-06 0.00% Amr::init() 1 2.298e-06 2.298e-06 2.298e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.988e-06 1.988e-06 1.988e-06 0.00% Amr::initialInit() 1 1.312e-06 1.312e-06 1.312e-06 0.00% Castro::post_regrid() 1 1.129e-06 1.129e-06 1.129e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9116 0.9116 0.9116 100.00% Amr::coarseTimeStep() 10 0.7629 0.7629 0.7629 83.69% Amr::timeStep() 10 0.67 0.67 0.67 73.49% Castro::advance() 10 0.6593 0.6593 0.6593 72.31% Castro::subcycle_advance_ctu() 10 0.6444 0.6444 0.6444 70.69% Castro::do_advance_ctu() 10 0.6443 0.6443 0.6443 70.67% Castro::construct_ctu_hydro_source() 10 0.3054 0.3054 0.3054 33.50% Gravity::solve_phi_with_mlmg() 11 0.2921 0.2921 0.2921 32.04% Gravity::actual_solve_with_mlmg() 11 0.2822 0.2822 0.2822 30.96% Castro::construct_new_gravity() 10 0.2664 0.2664 0.2664 29.22% MLMG::solve() 11 0.2601 0.2601 0.2601 28.53% Gravity::solve_for_phi() 10 0.2503 0.2503 0.2503 27.45% MLMG::oneIter() 81 0.2447 0.2447 0.2447 26.84% MLMG::mgVcycle() 81 0.2411 0.2411 0.2411 26.45% VisMF::Write(FabArray) 11 0.1772 0.1772 0.1772 19.44% Amr::checkPoint() 3 0.1352 0.1352 0.1352 14.83% AmrLevel::checkPoint() 3 0.1292 0.1292 0.1292 14.18% StateData::checkPoint() 12 0.1292 0.1292 0.1292 14.17% Amr::init() 1 0.1223 0.1223 0.1223 13.42% MLCellLinOp::smooth() 1620 0.1201 0.1201 0.1201 13.18% MLCellLinOp::applyBC() 4298 0.1108 0.1108 0.1108 12.15% MLMG::mgVcycle_bottom 81 0.07269 0.07269 0.07269 7.97% MLMG::actualBottomSolve() 81 0.07266 0.07266 0.07266 7.97% MLCGSolver::bicgstab 81 0.07192 0.07192 0.07192 7.89% Castro::clean_state() 62 0.05857 0.05857 0.05857 6.42% Amr::initialInit() 1 0.05091 0.05091 0.05091 5.58% Amr::writePlotFile() 2 0.05083 0.05083 0.05083 5.58% AmrLevel::FillPatch() 41 0.04772 0.04772 0.04772 5.23% Amr::FinalizeInit() 1 0.04611 0.04611 0.04611 5.06% Castro::post_init() 1 0.04461 0.04461 0.04461 4.89% FillPatchIterator::Initialize 41 0.04345 0.04345 0.04345 4.77% Gravity::multilevel_solve_for_new_phi() 1 0.04229 0.04229 0.04229 4.64% Gravity::actual_multilevel_solve() 1 0.04227 0.04227 0.04227 4.64% FillPatchIterator::FillFromLevel0() 41 0.04189 0.04189 0.04189 4.59% FillPatchSingleLevel 41 0.04184 0.04184 0.04184 4.59% StateDataPhysBCFunct::() 41 0.03774 0.03774 0.03774 4.14% MLCellLinOp::apply() 1047 0.03577 0.03577 0.03577 3.92% MLMG::mgVcycle_down::0 81 0.03389 0.03389 0.03389 3.72% MLPoisson::Fsmooth() 3240 0.03375 0.03375 0.03375 3.70% FabArray::FillBoundary() 3893 0.03141 0.03141 0.03141 3.45% FillBoundary_nowait() 3893 0.03059 0.03059 0.03059 3.35% StateData::FillBoundary(geom) 328 0.02681 0.02681 0.02681 2.94% MLMG::mgVcycle_up::0 81 0.0257 0.0257 0.0257 2.82% Castro::computeTemp() 63 0.02222 0.02222 0.02222 2.44% Castro::normalize_species() 62 0.02196 0.02196 0.02196 2.41% Castro::initialize_do_advance() 10 0.02152 0.02152 0.02152 2.36% amrex::Dot() 1100 0.02149 0.02149 0.02149 2.36% MLMG:computeResOfCorrection() 405 0.02015 0.02015 0.02015 2.21% MLCellLinOp::correctionResidual() 405 0.02003 0.02003 0.02003 2.20% FabArray::norminf() 1048 0.01996 0.01996 0.01996 2.19% Castro::do_old_sources() 10 0.01908 0.01908 0.01908 2.09% Gravity::get_new_grav_vector() 11 0.01797 0.01797 0.01797 1.97% MLPoisson::define() 11 0.01737 0.01737 0.01737 1.91% MLMG::mgVcycle_down::1 81 0.01653 0.01653 0.01653 1.81% Castro::construct_old_gravity() 10 0.01553 0.01553 0.01553 1.70% Gravity::get_old_grav_vector() 10 0.01552 0.01552 0.01552 1.70% MLMG::mgVcycle_down::2 81 0.01534 0.01534 0.01534 1.68% MLMG::mgVcycle_down::3 81 0.01498 0.01498 0.01498 1.64% MLMG::mgVcycle_down::4 81 0.01484 0.01484 0.01484 1.63% FabArray::ParallelCopy() 851 0.01442 0.01442 0.01442 1.58% FabArray::ParallelCopy_nowait() 851 0.01417 0.01417 0.01417 1.55% Castro::initialize_advance() 10 0.01416 0.01416 0.01416 1.55% FabArray::setVal() 1054 0.01318 0.01318 0.01318 1.45% FabArray::Saxpy() 1353 0.0131 0.0131 0.0131 1.44% Castro::do_new_sources() 10 0.01299 0.01299 0.01299 1.43% MLCGSolver::ParallelAllReduce 1809 0.01293 0.01293 0.01293 1.42% MLMG::addInterpCorrection() 405 0.01213 0.01213 0.01213 1.33% Castro::enforce_min_density() 62 0.01203 0.01203 0.01203 1.32% MLMG::mgVcycle_up::1 81 0.01195 0.01195 0.01195 1.31% MLCellLinOp::defineAuxData() 11 0.0119 0.0119 0.0119 1.31% MLMG::mgVcycle_up::4 81 0.01183 0.01183 0.01183 1.30% Castro::expand_state() 10 0.01171 0.01171 0.01171 1.28% MLMG::mgVcycle_up::2 81 0.0117 0.0117 0.0117 1.28% MLMG::mgVcycle_up::3 81 0.01146 0.01146 0.01146 1.26% amrex::average_down 405 0.01139 0.01139 0.01139 1.25% amrex::Copy() 469 0.01078 0.01078 0.01078 1.18% Castro::post_timestep() 10 0.01055 0.01055 0.01055 1.16% MLPoisson::Fapply() 1047 0.01025 0.01025 0.01025 1.12% Gravity::fill_multipole_BCs() 11 0.009672 0.009672 0.009672 1.06% FabArray::Xpay() 730 0.007747 0.007747 0.007747 0.85% MLCellLinOp::solutionResidual() 92 0.007593 0.007593 0.007593 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006916 0.006916 0.006916 0.76% MLMG::computeResidual() 81 0.006289 0.006289 0.006289 0.69% Castro::estTimeStep() 21 0.006001 0.006001 0.006001 0.66% MLMG::prepareForSolve() 11 0.00525 0.00525 0.00525 0.58% MLCellLinOp::defineBC() 11 0.005206 0.005206 0.005206 0.57% BndryData::define() 11 0.004917 0.004917 0.004917 0.54% Amr::InitializeInit() 1 0.004806 0.004806 0.004806 0.53% Amr::defBaseLevel() 1 0.004801 0.004801 0.004801 0.53% Castro::initData() 1 0.004128 0.004128 0.004128 0.45% amrex::Add() 81 0.00354 0.00354 0.00354 0.39% Castro::construct_new_source() 50 0.003482 0.003482 0.003482 0.38% Castro::construct_new_gravity_source() 10 0.003379 0.003379 0.003379 0.37% Castro::enforce_speed_limit() 62 0.003216 0.003216 0.003216 0.35% Castro::construct_old_source() 50 0.002889 0.002889 0.002889 0.32% Castro::construct_old_gravity_source() 10 0.00287 0.00287 0.00287 0.31% Castro::computeNewDt() 9 0.002608 0.002608 0.002608 0.29% Castro::finalize_do_advance() 10 0.002356 0.002356 0.002356 0.26% MLMG::ResNormInf() 92 0.002166 0.002166 0.002166 0.24% check_for_negative_density() 10 0.001931 0.001931 0.001931 0.21% Castro::apply_source_to_state() 20 0.001864 0.001864 0.001864 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001787 0.001787 0.001787 0.20% Castro::reset_internal_energy(Fab) 504 0.001708 0.001708 0.001708 0.19% MLCellLinOp::setLevelBC() 11 0.001612 0.001612 0.001612 0.18% MLMG::getGradSolution() 11 0.001568 0.001568 0.001568 0.17% MLCellLinOp::compGrad() 11 0.001562 0.001562 0.001562 0.17% FabArrayBase::getCPC() 1313 0.001437 0.001437 0.001437 0.16% MLPoisson::prepareForSolve() 11 0.001376 0.001376 0.001376 0.15% FabArray::mult() 43 0.001365 0.001365 0.001365 0.15% MLCellLinOp::prepareForSolve() 11 0.001361 0.001361 0.001361 0.15% MLMG::computeMLResidual() 11 0.001355 0.001355 0.001355 0.15% FabArray::setDomainBndry() 41 0.001343 0.001343 0.001343 0.15% Castro::check_for_nan() 20 0.001279 0.001279 0.001279 0.14% MultiFab::contains_nan() 20 0.001268 0.001268 0.001268 0.14% Castro::post_regrid() 1 0.001186 0.001186 0.001186 0.13% Castro::computeInitialDt() 2 0.001092 0.001092 0.001092 0.12% Gravity::update_max_rhs() 11 0.0009923 0.0009923 0.0009923 0.11% FabArrayBase::getFB() 3893 0.0007118 0.0007118 0.0007118 0.08% FabArrayBase::CPC::define() 454 0.0006621 0.0006621 0.0006621 0.07% Amr::InitAmr() 1 0.0006085 0.0006085 0.0006085 0.07% Castro::finalize_advance() 10 0.000599 0.000599 0.000599 0.07% Castro::Castro() 1 0.0005845 0.0005845 0.0005845 0.06% Gravity::swapTimeLevels() 10 0.0004481 0.0004481 0.0004481 0.05% MLMG::MLResNormInf() 11 0.0003335 0.0003335 0.0003335 0.04% MultiFab::max() 11 0.0003298 0.0003298 0.0003298 0.04% Castro::buildMetrics() 1 0.0002879 0.0002879 0.0002879 0.03% MLLinOp::define() 11 0.0002367 0.0002367 0.0002367 0.03% MLMG::MLRhsNormInf() 11 0.0002239 0.0002239 0.0002239 0.02% MLLinOp::defineGrids() 11 0.0002225 0.0002225 0.0002225 0.02% Castro::create_source_corrector() 10 0.0001582 0.0001582 0.0001582 0.02% FabArrayBase::FB::FB() 56 9.317e-05 9.317e-05 9.317e-05 0.01% Castro::enforce_consistent_e() 1 7.023e-05 7.023e-05 7.023e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.941e-05 5.941e-05 5.941e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.573e-05 5.573e-05 5.573e-05 0.01% makeSFC 55 4.081e-05 4.081e-05 4.081e-05 0.00% StateData::define() 4 4.066e-05 4.066e-05 4.066e-05 0.00% Castro::swap_state_time_levels() 10 3.599e-05 3.599e-05 3.599e-05 0.00% Amr::writeSmallPlotFile() 1 3.134e-05 3.134e-05 3.134e-05 0.00% Castro::initMFs() 1 3.013e-05 3.013e-05 3.013e-05 0.00% DistributionMapping::Distribute() 56 1.623e-05 1.623e-05 1.623e-05 0.00% Amr::initSubcycle() 1 9.161e-06 9.161e-06 9.161e-06 0.00% AmrLevel::checkPointPost() 3 4.83e-06 4.83e-06 4.83e-06 0.00% Castro::retry_advance_ctu() 10 4.426e-06 4.426e-06 4.426e-06 0.00% Gravity::set_mass_offset() 11 4.381e-06 4.381e-06 4.381e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.339e-06 4.339e-06 4.339e-06 0.00% Castro::FluxRegCrseInit 10 2.862e-06 2.862e-06 2.862e-06 0.00% AmrLevel::checkPointPre() 3 2.49e-06 2.49e-06 2.49e-06 0.00% Castro::FluxRegFineAdd() 10 2.335e-06 2.335e-06 2.335e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.988e-06 1.988e-06 1.988e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 90 MiB 9042 MiB Castro::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 1009 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1557 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3507 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 204 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 174 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 2107 B 2048 KiB Gravity::solve_for_phi() 80 80 561 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 94 KiB 2048 KiB BndryData::define() 1056 1056 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 204 KiB 671 KiB Castro::estTimeStep() 21 21 3210 B 480 KiB VisMF::Write(FabArray) 656 656 3386 B 320 KiB Castro::normalize_species() 62 62 7846 B 320 KiB amrex::average_down 1054 1054 1240 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1124 B 257 KiB amrex::Dot() 1343 1343 3486 B 160 KiB FabArray::norminf() 1129 1129 3387 B 160 KiB check_for_negative_density() 10 10 334 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 3422 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 287 B 9648 B MLCellLinOp::applyBC() 8596 8596 216 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3929 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 361 B 1248 B MLCGSolver::bicgstab 405 405 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 574 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 425 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3422 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 43 B 10 KiB FillBoundary_nowait() 751 751 287 B 9648 B MLCellLinOp::applyBC() 4298 4298 214 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3929 B 6144 B Gravity::get_new_grav_vector() 3 3 2901 B 3072 B StateData::FillBoundary(geom) 1992 1992 39 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 292 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 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): 2189 [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 (24.01-3-g656bb64515bd) finalized Initializing AMReX (24.01-3-g656bb64515bd)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-3-g656bb64515bd) initialized Starting run at 09:32:45 UTC on 2024-01-11. Successfully read inputs file ... Castro git describe: 24.01-8-g5da02d40d AMReX git describe: 24.01-3-g656bb6451 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.51360659 Restart time = 0.108756832 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.071396167 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.050213142 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.072967035 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.077891502 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.073889819 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028719608 seconds Ending run at 09:32:45 UTC on 2024-01-11. Run time = 0.484977583 Run time without initialization = 0.375558294 Average number of zones advanced per microsecond: 3.490 Average number of zones advanced per microsecond per rank: 3.490 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.485 ... 0.485 ... 0.485 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1438 0.1438 0.1438 29.65% VisMF::Read() 3 0.09712 0.09712 0.09712 20.02% MLCellLinOp::applyBC() 1910 0.04164 0.04164 0.04164 8.58% VisMF::Write(FabArray) 1 0.02607 0.02607 0.02607 5.38% MLPoisson::Fsmooth() 1440 0.0149 0.0149 0.0149 3.07% FillBoundary_nowait() 1730 0.01305 0.01305 0.01305 2.69% StateData::FillBoundary(geom) 160 0.01301 0.01301 0.01301 2.68% Castro::normalize_species() 30 0.01076 0.01076 0.01076 2.22% amrex::Dot() 484 0.009356 0.009356 0.009356 1.93% FabArray::norminf() 465 0.008949 0.008949 0.008949 1.85% Castro::enforce_min_density() 30 0.007839 0.007839 0.007839 1.62% Castro::computeTemp() 30 0.007636 0.007636 0.007636 1.57% FabArray::setVal() 501 0.006494 0.006494 0.006494 1.34% FabArray::ParallelCopy_nowait() 380 0.006165 0.006165 0.006165 1.27% FabArray::Saxpy() 597 0.005883 0.005883 0.005883 1.21% MLCellLinOp::defineAuxData() 6 0.005721 0.005721 0.005721 1.18% Gravity::fill_multipole_BCs() 6 0.005634 0.005634 0.005634 1.16% amrex::Copy() 221 0.00541 0.00541 0.00541 1.12% StateDataPhysBCFunct::() 20 0.00506 0.00506 0.00506 1.04% Amr::restart() 1 0.004838 0.004838 0.004838 1.00% MLPoisson::Fapply() 464 0.004477 0.004477 0.004477 0.92% FabArray::Xpay() 325 0.003461 0.003461 0.003461 0.71% Castro::estTimeStep() 10 0.003371 0.003371 0.003371 0.69% MLMG::addInterpCorrection() 180 0.003166 0.003166 0.003166 0.65% amrex::average_down 180 0.002783 0.002783 0.002783 0.57% Amr::writePlotFile() 1 0.002492 0.002492 0.002492 0.51% BndryData::define() 6 0.002184 0.002184 0.002184 0.45% Castro::reset_internal_energy(MultiFab) 30 0.002039 0.002039 0.002039 0.42% Castro::construct_new_gravity_source() 5 0.001853 0.001853 0.001853 0.38% amrex::Add() 36 0.001531 0.001531 0.001531 0.32% Castro::construct_old_gravity_source() 5 0.001513 0.001513 0.001513 0.31% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009833 0.0009833 0.0009833 0.20% check_for_negative_density() 5 0.0009473 0.0009473 0.0009473 0.20% MLCellLinOp::setLevelBC() 6 0.0008759 0.0008759 0.0008759 0.18% Gravity::actual_solve_with_mlmg() 6 0.0008724 0.0008724 0.0008724 0.18% MLCellLinOp::prepareForSolve() 6 0.0007656 0.0007656 0.0007656 0.16% Castro::reset_internal_energy(Fab) 240 0.0007655 0.0007655 0.0007655 0.16% MLCGSolver::bicgstab 36 0.0007447 0.0007447 0.0007447 0.15% FabArray::setDomainBndry() 20 0.0006977 0.0006977 0.0006977 0.14% FabArray::mult() 22 0.0006929 0.0006929 0.0006929 0.14% MultiFab::contains_nan() 10 0.0006543 0.0006543 0.0006543 0.13% MLCellLinOp::compGrad() 6 0.0006139 0.0006139 0.0006139 0.13% MLMG::prepareForSolve() 6 0.0005648 0.0005648 0.0005648 0.12% MLCellLinOp::smooth() 720 0.0005439 0.0005439 0.0005439 0.11% Amr::InitAmr() 1 0.000486 0.000486 0.000486 0.10% Castro::enforce_speed_limit() 30 0.000425 0.000425 0.000425 0.09% FabArrayBase::CPC::define() 244 0.0004237 0.0004237 0.0004237 0.09% FabArray::FillBoundary() 1730 0.0003973 0.0003973 0.0003973 0.08% FabArrayBase::getCPC() 632 0.0003765 0.0003765 0.0003765 0.08% Gravity::get_old_grav_vector() 5 0.0003403 0.0003403 0.0003403 0.07% Gravity::get_new_grav_vector() 5 0.0003011 0.0003011 0.0003011 0.06% main() 1 0.0002865 0.0002865 0.0002865 0.06% FabArrayBase::getFB() 1730 0.0002652 0.0002652 0.0002652 0.05% Amr::coarseTimeStep() 5 0.0002079 0.0002079 0.0002079 0.04% MultiFab::max() 6 0.0002077 0.0002077 0.0002077 0.04% AmrLevel::FillPatch() 20 0.0002069 0.0002069 0.0002069 0.04% MLCellLinOp::apply() 464 0.0001982 0.0001982 0.0001982 0.04% MLCellLinOp::defineBC() 6 0.0001533 0.0001533 0.0001533 0.03% MLCGSolver::ParallelAllReduce 798 0.0001522 0.0001522 0.0001522 0.03% FillPatchIterator::Initialize 20 0.0001151 0.0001151 0.0001151 0.02% FabArray::ParallelCopy() 380 0.0001132 0.0001132 0.0001132 0.02% Castro::create_source_corrector() 5 0.0001107 0.0001107 0.0001107 0.02% MLLinOp::defineGrids() 6 9.778e-05 9.778e-05 9.778e-05 0.02% MLMG::mgVcycle() 36 9.696e-05 9.696e-05 9.696e-05 0.02% Amr::timeStep() 5 9.134e-05 9.134e-05 9.134e-05 0.02% Castro::subcycle_advance_ctu() 5 8.692e-05 8.692e-05 8.692e-05 0.02% AmrLevel::restart() 1 8.456e-05 8.456e-05 8.456e-05 0.02% MLCellLinOp::correctionResidual() 180 7.967e-05 7.967e-05 7.967e-05 0.02% Castro::advance() 5 7.806e-05 7.806e-05 7.806e-05 0.02% StateData::restartDoit() 4 7.283e-05 7.283e-05 7.283e-05 0.02% Castro::initialize_do_advance() 5 7.243e-05 7.243e-05 7.243e-05 0.01% Gravity::update_max_rhs() 6 6.803e-05 6.803e-05 6.803e-05 0.01% Castro::do_advance_ctu() 5 6.355e-05 6.355e-05 6.355e-05 0.01% FabArrayBase::FB::FB() 26 6.186e-05 6.186e-05 6.186e-05 0.01% Castro::finalize_do_advance() 5 6.184e-05 6.184e-05 6.184e-05 0.01% Gravity::solve_for_phi() 5 5.703e-05 5.703e-05 5.703e-05 0.01% Castro::construct_new_source() 25 5.66e-05 5.66e-05 5.66e-05 0.01% Castro::post_timestep() 5 5.306e-05 5.306e-05 5.306e-05 0.01% MLMG:computeResOfCorrection() 180 5.101e-05 5.101e-05 5.101e-05 0.01% MLMG::mgVcycle_down::0 36 4.894e-05 4.894e-05 4.894e-05 0.01% Castro::construct_old_source() 25 4.822e-05 4.822e-05 4.822e-05 0.01% MLMG::actualBottomSolve() 36 4.075e-05 4.075e-05 4.075e-05 0.01% MLMG::mgVcycle_down::1 36 3.658e-05 3.658e-05 3.658e-05 0.01% MLMG::solve() 6 3.644e-05 3.644e-05 3.644e-05 0.01% Castro::initialize_advance() 5 3.557e-05 3.557e-05 3.557e-05 0.01% MLMG::mgVcycle_down::4 36 3.484e-05 3.484e-05 3.484e-05 0.01% MLMG::mgVcycle_down::2 36 3.462e-05 3.462e-05 3.462e-05 0.01% Castro::do_old_sources() 5 3.282e-05 3.282e-05 3.282e-05 0.01% Amr::writeSmallPlotFile() 1 3.279e-05 3.279e-05 3.279e-05 0.01% MLMG::mgVcycle_down::3 36 3.268e-05 3.268e-05 3.268e-05 0.01% Castro::clean_state() 30 3.1e-05 3.1e-05 3.1e-05 0.01% Castro::finalize_advance() 5 3.057e-05 3.057e-05 3.057e-05 0.01% Castro::post_restart() 1 2.965e-05 2.965e-05 2.965e-05 0.01% Castro::buildMetrics() 1 2.939e-05 2.939e-05 2.939e-05 0.01% MLMG::oneIter() 36 2.885e-05 2.885e-05 2.885e-05 0.01% MLMG::mgVcycle_up::4 36 2.874e-05 2.874e-05 2.874e-05 0.01% MLMG::computeResidual() 36 2.723e-05 2.723e-05 2.723e-05 0.01% MLCellLinOp::solutionResidual() 42 2.554e-05 2.554e-05 2.554e-05 0.01% MLMG::mgVcycle_up::0 36 2.44e-05 2.44e-05 2.44e-05 0.01% Castro::swap_state_time_levels() 5 2.354e-05 2.354e-05 2.354e-05 0.00% Castro::initMFs() 1 2.353e-05 2.353e-05 2.353e-05 0.00% MLMG::mgVcycle_up::3 36 2.347e-05 2.347e-05 2.347e-05 0.00% MLMG::mgVcycle_up::2 36 2.247e-05 2.247e-05 2.247e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.167e-05 2.167e-05 2.167e-05 0.00% MLMG::mgVcycle_up::1 36 2.141e-05 2.141e-05 2.141e-05 0.00% MLMG::ResNormInf() 42 1.931e-05 1.931e-05 1.931e-05 0.00% Castro::construct_new_gravity() 5 1.732e-05 1.732e-05 1.732e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.671e-05 1.671e-05 1.671e-05 0.00% MLMG::mgVcycle_bottom 36 1.537e-05 1.537e-05 1.537e-05 0.00% FillPatchSingleLevel 20 1.514e-05 1.514e-05 1.514e-05 0.00% MLPoisson::define() 6 1.457e-05 1.457e-05 1.457e-05 0.00% makeSFC 30 1.436e-05 1.436e-05 1.436e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.394e-05 1.394e-05 1.394e-05 0.00% MLPoisson::prepareForSolve() 6 1.032e-05 1.032e-05 1.032e-05 0.00% DistributionMapping::Distribute() 31 9.808e-06 9.808e-06 9.808e-06 0.00% Castro::do_new_sources() 5 9.755e-06 9.755e-06 9.755e-06 0.00% MLMG::computeMLResidual() 6 9.576e-06 9.576e-06 9.576e-06 0.00% Amr::initSubcycle() 1 8.55e-06 8.55e-06 8.55e-06 0.00% Gravity::actual_multilevel_solve() 1 8.371e-06 8.371e-06 8.371e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.342e-06 7.342e-06 7.342e-06 0.00% MLLinOp::define() 6 6.775e-06 6.775e-06 6.775e-06 0.00% Castro::construct_old_gravity() 5 6.747e-06 6.747e-06 6.747e-06 0.00% Castro::apply_source_to_state() 10 6.397e-06 6.397e-06 6.397e-06 0.00% Castro::check_for_nan() 10 5.771e-06 5.771e-06 5.771e-06 0.00% Gravity::swapTimeLevels() 5 4.289e-06 4.289e-06 4.289e-06 0.00% Castro::computeNewDt() 5 3.506e-06 3.506e-06 3.506e-06 0.00% MLMG::getGradSolution() 6 3.353e-06 3.353e-06 3.353e-06 0.00% Castro::FluxRegCrseInit 5 3.266e-06 3.266e-06 3.266e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.031e-06 3.031e-06 3.031e-06 0.00% Castro::expand_state() 5 2.879e-06 2.879e-06 2.879e-06 0.00% MLMG::MLResNormInf() 6 2.48e-06 2.48e-06 2.48e-06 0.00% Gravity::set_mass_offset() 6 2.213e-06 2.213e-06 2.213e-06 0.00% MLMG::MLRhsNormInf() 6 2.188e-06 2.188e-06 2.188e-06 0.00% Castro::retry_advance_ctu() 5 1.991e-06 1.991e-06 1.991e-06 0.00% Castro::FluxRegFineAdd() 5 1.303e-06 1.303e-06 1.303e-06 0.00% Amr::init() 1 1.295e-06 1.295e-06 1.295e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.185e-06 1.185e-06 1.185e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.485 0.485 0.485 100.00% Amr::coarseTimeStep() 5 0.3466 0.3466 0.3466 71.45% Amr::timeStep() 5 0.3441 0.3441 0.3441 70.95% Castro::advance() 5 0.3383 0.3383 0.3383 69.74% Castro::subcycle_advance_ctu() 5 0.3306 0.3306 0.3306 68.16% Castro::do_advance_ctu() 5 0.3305 0.3305 0.3305 68.14% Castro::construct_ctu_hydro_source() 5 0.1493 0.1493 0.1493 30.78% Castro::construct_new_gravity() 5 0.1428 0.1428 0.1428 29.44% Gravity::solve_phi_with_mlmg() 6 0.1402 0.1402 0.1402 28.91% Gravity::solve_for_phi() 5 0.1346 0.1346 0.1346 27.74% Gravity::actual_solve_with_mlmg() 6 0.1343 0.1343 0.1343 27.70% MLMG::solve() 6 0.1221 0.1221 0.1221 25.18% MLMG::oneIter() 36 0.1143 0.1143 0.1143 23.57% MLMG::mgVcycle() 36 0.1128 0.1128 0.1128 23.25% Amr::init() 1 0.1088 0.1088 0.1088 22.43% Amr::restart() 1 0.1088 0.1088 0.1088 22.43% AmrLevel::restart() 1 0.0975 0.0975 0.0975 20.10% StateData::restartDoit() 4 0.09741 0.09741 0.09741 20.08% VisMF::Read() 3 0.09712 0.09712 0.09712 20.02% MLCellLinOp::smooth() 720 0.0593 0.0593 0.0593 12.23% MLCellLinOp::applyBC() 1910 0.05541 0.05541 0.05541 11.42% MLMG::mgVcycle_bottom 36 0.03199 0.03199 0.03199 6.60% MLMG::actualBottomSolve() 36 0.03197 0.03197 0.03197 6.59% MLCGSolver::bicgstab 36 0.03165 0.03165 0.03165 6.52% Castro::clean_state() 30 0.0295 0.0295 0.0295 6.08% Amr::writePlotFile() 1 0.02881 0.02881 0.02881 5.94% VisMF::Write(FabArray) 1 0.02607 0.02607 0.02607 5.38% AmrLevel::FillPatch() 20 0.02308 0.02308 0.02308 4.76% FillPatchIterator::Initialize 20 0.02098 0.02098 0.02098 4.33% FillPatchIterator::FillFromLevel0() 20 0.02017 0.02017 0.02017 4.16% FillPatchSingleLevel 20 0.02015 0.02015 0.02015 4.15% StateDataPhysBCFunct::() 20 0.01807 0.01807 0.01807 3.73% MLMG::mgVcycle_up::0 36 0.01784 0.01784 0.01784 3.68% MLCellLinOp::apply() 464 0.01594 0.01594 0.01594 3.29% MLMG::mgVcycle_down::0 36 0.01495 0.01495 0.01495 3.08% MLPoisson::Fsmooth() 1440 0.0149 0.0149 0.0149 3.07% FabArray::FillBoundary() 1730 0.01377 0.01377 0.01377 2.84% FillBoundary_nowait() 1730 0.01337 0.01337 0.01337 2.76% StateData::FillBoundary(geom) 160 0.01301 0.01301 0.01301 2.68% Castro::initialize_do_advance() 5 0.01109 0.01109 0.01109 2.29% Castro::normalize_species() 30 0.01076 0.01076 0.01076 2.22% Castro::computeTemp() 30 0.01044 0.01044 0.01044 2.15% Castro::do_old_sources() 5 0.009758 0.009758 0.009758 2.01% MLPoisson::define() 6 0.009591 0.009591 0.009591 1.98% amrex::Dot() 484 0.009356 0.009356 0.009356 1.93% FabArray::norminf() 465 0.008949 0.008949 0.008949 1.85% MLMG:computeResOfCorrection() 180 0.008829 0.008829 0.008829 1.82% MLCellLinOp::correctionResidual() 180 0.008778 0.008778 0.008778 1.81% Gravity::get_new_grav_vector() 5 0.00811 0.00811 0.00811 1.67% Castro::do_new_sources() 5 0.008011 0.008011 0.008011 1.65% Castro::enforce_min_density() 30 0.007839 0.007839 0.007839 1.62% Castro::construct_old_gravity() 5 0.007773 0.007773 0.007773 1.60% Gravity::get_old_grav_vector() 5 0.007766 0.007766 0.007766 1.60% MLMG::mgVcycle_down::1 36 0.007356 0.007356 0.007356 1.52% Castro::initialize_advance() 5 0.007325 0.007325 0.007325 1.51% MLMG::mgVcycle_down::2 36 0.006755 0.006755 0.006755 1.39% FabArray::ParallelCopy() 380 0.006679 0.006679 0.006679 1.38% MLMG::mgVcycle_down::3 36 0.006606 0.006606 0.006606 1.36% FabArray::ParallelCopy_nowait() 380 0.006566 0.006566 0.006566 1.35% MLMG::mgVcycle_down::4 36 0.006536 0.006536 0.006536 1.35% MLCellLinOp::defineAuxData() 6 0.006509 0.006509 0.006509 1.34% FabArray::setVal() 501 0.006494 0.006494 0.006494 1.34% Castro::post_restart() 1 0.006284 0.006284 0.006284 1.30% Castro::expand_state() 5 0.00597 0.00597 0.00597 1.23% Gravity::multilevel_solve_for_new_phi() 1 0.005898 0.005898 0.005898 1.22% FabArray::Saxpy() 597 0.005883 0.005883 0.005883 1.21% Gravity::actual_multilevel_solve() 1 0.005882 0.005882 0.005882 1.21% Castro::post_timestep() 5 0.005784 0.005784 0.005784 1.19% Gravity::fill_multipole_BCs() 6 0.005758 0.005758 0.005758 1.19% MLCGSolver::ParallelAllReduce 798 0.005706 0.005706 0.005706 1.18% MLMG::addInterpCorrection() 180 0.005457 0.005457 0.005457 1.13% amrex::Copy() 221 0.00541 0.00541 0.00541 1.12% MLMG::mgVcycle_up::4 36 0.00527 0.00527 0.00527 1.09% MLMG::mgVcycle_up::1 36 0.00522 0.00522 0.00522 1.08% MLMG::mgVcycle_up::2 36 0.005128 0.005128 0.005128 1.06% amrex::average_down 180 0.005114 0.005114 0.005114 1.05% MLMG::mgVcycle_up::3 36 0.005037 0.005037 0.005037 1.04% MLPoisson::Fapply() 464 0.004477 0.004477 0.004477 0.92% MLCellLinOp::solutionResidual() 42 0.003688 0.003688 0.003688 0.76% FabArray::Xpay() 325 0.003461 0.003461 0.003461 0.71% Castro::estTimeStep() 10 0.003371 0.003371 0.003371 0.69% MLCellLinOp::defineBC() 6 0.002932 0.002932 0.002932 0.60% MLMG::computeResidual() 36 0.002922 0.002922 0.002922 0.60% MLMG::prepareForSolve() 6 0.002891 0.002891 0.002891 0.60% Castro::reset_internal_energy(MultiFab) 30 0.002805 0.002805 0.002805 0.58% BndryData::define() 6 0.002779 0.002779 0.002779 0.57% Castro::computeNewDt() 5 0.002216 0.002216 0.002216 0.46% Castro::construct_new_source() 25 0.00191 0.00191 0.00191 0.39% Castro::construct_new_gravity_source() 5 0.001853 0.001853 0.001853 0.38% Castro::construct_old_source() 25 0.001562 0.001562 0.001562 0.32% amrex::Add() 36 0.001531 0.001531 0.001531 0.32% Castro::construct_old_gravity_source() 5 0.001513 0.001513 0.001513 0.31% Castro::finalize_do_advance() 5 0.00122 0.00122 0.00122 0.25% MLMG::ResNormInf() 42 0.0009898 0.0009898 0.0009898 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009833 0.0009833 0.0009833 0.20% Castro::apply_source_to_state() 10 0.0009625 0.0009625 0.0009625 0.20% check_for_negative_density() 5 0.0009473 0.0009473 0.0009473 0.20% MLMG::getGradSolution() 6 0.0008974 0.0008974 0.0008974 0.19% MLCellLinOp::compGrad() 6 0.000894 0.000894 0.000894 0.18% MLCellLinOp::setLevelBC() 6 0.0008759 0.0008759 0.0008759 0.18% MLMG::computeMLResidual() 6 0.0008029 0.0008029 0.0008029 0.17% FabArrayBase::getCPC() 632 0.0008002 0.0008002 0.0008002 0.16% MLPoisson::prepareForSolve() 6 0.0007759 0.0007759 0.0007759 0.16% MLCellLinOp::prepareForSolve() 6 0.0007656 0.0007656 0.0007656 0.16% Castro::reset_internal_energy(Fab) 240 0.0007655 0.0007655 0.0007655 0.16% Gravity::update_max_rhs() 6 0.0007279 0.0007279 0.0007279 0.15% FabArray::setDomainBndry() 20 0.0006977 0.0006977 0.0006977 0.14% FabArray::mult() 22 0.0006929 0.0006929 0.0006929 0.14% Castro::check_for_nan() 10 0.0006601 0.0006601 0.0006601 0.14% MultiFab::contains_nan() 10 0.0006543 0.0006543 0.0006543 0.13% Amr::InitAmr() 1 0.0004946 0.0004946 0.0004946 0.10% Castro::enforce_speed_limit() 30 0.000425 0.000425 0.000425 0.09% FabArrayBase::CPC::define() 244 0.0004237 0.0004237 0.0004237 0.09% FabArrayBase::getFB() 1730 0.0003271 0.0003271 0.0003271 0.07% Castro::finalize_advance() 5 0.0002944 0.0002944 0.0002944 0.06% Gravity::swapTimeLevels() 5 0.000236 0.000236 0.000236 0.05% MultiFab::max() 6 0.0002077 0.0002077 0.0002077 0.04% MLMG::MLResNormInf() 6 0.0001899 0.0001899 0.0001899 0.04% Castro::buildMetrics() 1 0.0001548 0.0001548 0.0001548 0.03% MLLinOp::define() 6 0.000136 0.000136 0.000136 0.03% MLLinOp::defineGrids() 6 0.0001292 0.0001292 0.0001292 0.03% MLMG::MLRhsNormInf() 6 0.0001188 0.0001188 0.0001188 0.02% Castro::create_source_corrector() 5 0.0001107 0.0001107 0.0001107 0.02% FabArrayBase::FB::FB() 26 6.186e-05 6.186e-05 6.186e-05 0.01% Amr::writeSmallPlotFile() 1 3.279e-05 3.279e-05 3.279e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.028e-05 3.028e-05 3.028e-05 0.01% Castro::swap_state_time_levels() 5 2.354e-05 2.354e-05 2.354e-05 0.00% Castro::initMFs() 1 2.353e-05 2.353e-05 2.353e-05 0.00% makeSFC 30 2.293e-05 2.293e-05 2.293e-05 0.00% DistributionMapping::Distribute() 31 9.808e-06 9.808e-06 9.808e-06 0.00% Amr::initSubcycle() 1 8.55e-06 8.55e-06 8.55e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.268e-06 4.268e-06 4.268e-06 0.00% Castro::FluxRegCrseInit 5 3.266e-06 3.266e-06 3.266e-06 0.00% Gravity::set_mass_offset() 6 2.213e-06 2.213e-06 2.213e-06 0.00% Castro::retry_advance_ctu() 5 1.991e-06 1.991e-06 1.991e-06 0.00% Castro::FluxRegFineAdd() 5 1.303e-06 1.303e-06 1.303e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.185e-06 1.185e-06 1.185e-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 181 MiB 9042 MiB Castro::initMFs() 48 48 53 MiB 68 MiB Castro::swap_state_time_levels() 32 32 43 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 939 KiB 39 MiB Castro::initialize_do_advance() 40 40 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1586 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 12 MiB 15 MiB Castro::post_restart() 48 48 5968 KiB 14 MiB MLMG::prepareForSolve() 361 361 3091 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 166 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 5956 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 19 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2977 B 2048 KiB Gravity::solve_for_phi() 40 40 567 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 24 KiB 2048 KiB BndryData::define() 576 576 284 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 182 KiB 671 KiB Castro::estTimeStep() 10 10 3255 B 480 KiB VisMF::Write(FabArray) 112 112 2089 B 320 KiB Castro::normalize_species() 30 30 7229 B 320 KiB amrex::average_down 469 469 1019 B 257 KiB MLMG::addInterpCorrection() 468 468 947 B 257 KiB amrex::Dot() 592 592 2845 B 160 KiB FabArray::norminf() 501 501 2850 B 160 KiB check_for_negative_density() 5 5 313 B 160 KiB MultiFab::max() 6 6 66 B 160 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MultiFab::contains_nan() 10 10 26 B 20 KiB MLPoisson::Fsmooth() 60 60 3001 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 233 B 9648 B MLCellLinOp::applyBC() 3820 3820 306 B 9344 B amrex::Copy() 56 56 5168 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 320 B 1248 B MLCGSolver::bicgstab 180 180 78 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1147 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 141 KiB 3584 KiB VisMF::Read() 24 24 194 KiB 3000 KiB FabArray::setVal() 66 66 16 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3001 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 40 B 10 KiB FillBoundary_nowait() 336 336 233 B 9648 B MLCellLinOp::applyBC() 1910 1910 305 B 9328 B amrex::Copy() 56 56 5168 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2340 B 3072 B StateData::FillBoundary(geom) 960 960 36 B 2880 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 468 B 1296 B amrex::average_down 37 37 188 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 20 B 400 B FabArray::norminf() 501 501 8 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): 2189 [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 (24.01-3-g656bb64515bd) finalized