Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-13-gecaa14456e3f) initialized Starting run at 07:46:02 UTC on 2023-10-13. Successfully read inputs file ... Castro git describe: 23.10-35-gf8446cd94 AMReX git describe: 23.10-13-gecaa14456 Microphysics git describe: 23.10-6-g657406dc 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.051177449 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028613102 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.050235151 [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.0494586 [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.07432228 [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.076292579 [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.052070361 [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.052229279 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.0604921 [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.078935478 [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.081473447 [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.048352524 [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.073862316 [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.196129346 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028678986 seconds Ending run at 07:46:03 UTC on 2023-10-13. Run time = 1.057566651 Run time without initialization = 0.9232483 Average number of zones advanced per microsecond: 2.839 Average number of zones advanced per microsecond per rank: 2.839 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 1.058 ... 1.058 ... 1.058 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2699 0.2699 0.2699 25.52% VisMF::Write(FabArray) 11 0.2047 0.2047 0.2047 19.35% Amr::checkPoint() 3 0.1493 0.1493 0.1493 14.12% MLCellLinOp::applyBC() 4433 0.07803 0.07803 0.07803 7.38% MLPoisson::Fsmooth() 3280 0.03299 0.03299 0.03299 3.12% FillBoundary_nowait() 4023 0.03024 0.03024 0.03024 2.86% StateData::FillBoundary(geom) 328 0.02638 0.02638 0.02638 2.49% amrex::Dot() 1114 0.02098 0.02098 0.02098 1.98% Castro::normalize_species() 62 0.02036 0.02036 0.02036 1.93% Castro::computeTemp() 63 0.01591 0.01591 0.01591 1.50% amrex::Copy() 1029 0.01507 0.01507 0.01507 1.43% FabArray::norminf() 743 0.01469 0.01469 0.01469 1.39% FabArray::ParallelCopy_nowait() 861 0.01353 0.01353 0.01353 1.28% FabArray::setVal() 1144 0.01349 0.01349 0.01349 1.28% Castro::enforce_min_density() 62 0.01246 0.01246 0.01246 1.18% StateDataPhysBCFunct::() 41 0.01111 0.01111 0.01111 1.05% MLPoisson::Fapply() 1142 0.01056 0.01056 0.01056 1.00% MLCellLinOp::defineAuxData() 11 0.01022 0.01022 0.01022 0.97% Gravity::fill_multipole_BCs() 11 0.009294 0.009294 0.009294 0.88% FabArray::Saxpy() 813 0.00834 0.00834 0.00834 0.79% FabArray::Xpay() 821 0.008265 0.008265 0.008265 0.78% MLMG::addInterpCorrection() 410 0.006807 0.006807 0.006807 0.64% amrex::average_down 410 0.006112 0.006112 0.006112 0.58% Castro::estTimeStep() 21 0.005648 0.005648 0.005648 0.53% Castro::reset_internal_energy(MultiFab) 63 0.005327 0.005327 0.005327 0.50% FabArray::LinComb() 557 0.004629 0.004629 0.004629 0.44% amrex::Add() 164 0.004393 0.004393 0.004393 0.42% BndryData::define() 11 0.003918 0.003918 0.003918 0.37% Castro::enforce_speed_limit() 62 0.003411 0.003411 0.003411 0.32% Castro::construct_new_gravity_source() 10 0.003315 0.003315 0.003315 0.31% Castro::construct_old_gravity_source() 10 0.002978 0.002978 0.002978 0.28% MLCGSolver::bicgstab 82 0.002306 0.002306 0.002306 0.22% Amr::writePlotFile() 2 0.002303 0.002303 0.002303 0.22% check_for_negative_density() 10 0.002084 0.002084 0.002084 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.17% Castro::reset_internal_energy(Fab) 504 0.001722 0.001722 0.001722 0.16% Gravity::actual_solve_with_mlmg() 11 0.001589 0.001589 0.001589 0.15% Castro::initData() 1 0.00153 0.00153 0.00153 0.14% MLCellLinOp::setLevelBC() 11 0.001491 0.001491 0.001491 0.14% FabArray::mult() 43 0.001359 0.001359 0.001359 0.13% FabArray::setDomainBndry() 41 0.001345 0.001345 0.001345 0.13% MLCellLinOp::prepareForSolve() 11 0.001297 0.001297 0.001297 0.12% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.12% MLCellLinOp::compGrad() 11 0.00108 0.00108 0.00108 0.10% MLCellLinOp::smooth() 1640 0.001078 0.001078 0.001078 0.10% MLMG::prepareForSolve() 11 0.0009966 0.0009966 0.0009966 0.09% FabArrayBase::getCPC() 1323 0.0008218 0.0008218 0.0008218 0.08% FabArray::FillBoundary() 4023 0.000812 0.000812 0.000812 0.08% FabArrayBase::CPC::define() 454 0.0007045 0.0007045 0.0007045 0.07% FabArrayBase::getFB() 4023 0.0006305 0.0006305 0.0006305 0.06% Gravity::get_new_grav_vector() 11 0.0006089 0.0006089 0.0006089 0.06% Amr::InitAmr() 1 0.0005088 0.0005088 0.0005088 0.05% Gravity::get_old_grav_vector() 10 0.0004865 0.0004865 0.0004865 0.05% MLCellLinOp::apply() 1142 0.0004718 0.0004718 0.0004718 0.04% Amr::coarseTimeStep() 10 0.0004178 0.0004178 0.0004178 0.04% AmrLevel::FillPatch() 41 0.0003424 0.0003424 0.0003424 0.03% MultiFab::max() 11 0.0003221 0.0003221 0.0003221 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002794 0.0002794 0.0002794 0.03% main() 1 0.0002742 0.0002742 0.0002742 0.03% FabArray::ParallelCopy() 861 0.0002509 0.0002509 0.0002509 0.02% Castro::subcycle_advance_ctu() 10 0.0002462 0.0002462 0.0002462 0.02% MLCellLinOp::correctionResidual() 492 0.0002402 0.0002402 0.0002402 0.02% MLCellLinOp::defineBC() 11 0.0002363 0.0002363 0.0002363 0.02% FillPatchIterator::Initialize 41 0.0002219 0.0002219 0.0002219 0.02% MLMG::mgVcycle() 82 0.0002172 0.0002172 0.0002172 0.02% Castro::create_source_corrector() 10 0.0001828 0.0001828 0.0001828 0.02% Amr::timeStep() 10 0.0001824 0.0001824 0.0001824 0.02% MLLinOp::defineGrids() 11 0.0001806 0.0001806 0.0001806 0.02% Gravity::solve_for_phi() 10 0.0001446 0.0001446 0.0001446 0.01% StateData::checkPoint() 12 0.0001385 0.0001385 0.0001385 0.01% Gravity::update_max_rhs() 11 0.0001292 0.0001292 0.0001292 0.01% MLMG:computeResOfCorrection() 410 0.0001182 0.0001182 0.0001182 0.01% Castro::Castro() 1 0.0001139 0.0001139 0.0001139 0.01% AmrLevel::checkPoint() 3 0.000101 0.000101 0.000101 0.01% Castro::do_new_sources() 10 9.82e-05 9.82e-05 9.82e-05 0.01% MLMG::actualBottomSolve() 82 9.637e-05 9.637e-05 9.637e-05 0.01% FabArrayBase::FB::FB() 56 9.448e-05 9.448e-05 9.448e-05 0.01% Castro::advance() 10 9.378e-05 9.378e-05 9.378e-05 0.01% MLMG::mgVcycle_down::0 82 8.7e-05 8.7e-05 8.7e-05 0.01% MLMG::solve() 11 8.17e-05 8.17e-05 8.17e-05 0.01% Castro::initialize_advance() 10 8.103e-05 8.103e-05 8.103e-05 0.01% Castro::construct_new_source() 50 7.8e-05 7.8e-05 7.8e-05 0.01% MLMG::mgVcycle_down::1 82 7.651e-05 7.651e-05 7.651e-05 0.01% MLMG::mgVcycle_down::2 82 7.586e-05 7.586e-05 7.586e-05 0.01% Castro::clean_state() 62 7.307e-05 7.307e-05 7.307e-05 0.01% MLMG::mgVcycle_down::4 82 7.234e-05 7.234e-05 7.234e-05 0.01% MLMG::mgVcycle_up::4 82 7.11e-05 7.11e-05 7.11e-05 0.01% MLMG::mgVcycle_down::3 82 7.026e-05 7.026e-05 7.026e-05 0.01% Castro::finalize_advance() 10 6.662e-05 6.662e-05 6.662e-05 0.01% Castro::enforce_consistent_e() 1 6.56e-05 6.56e-05 6.56e-05 0.01% Castro::do_advance_ctu() 10 6.175e-05 6.175e-05 6.175e-05 0.01% Castro::initialize_do_advance() 10 6.031e-05 6.031e-05 6.031e-05 0.01% MLMG::oneIter() 82 5.727e-05 5.727e-05 5.727e-05 0.01% MLMG::mgVcycle_up::3 82 5.497e-05 5.497e-05 5.497e-05 0.01% MLMG::mgVcycle_up::0 82 5.476e-05 5.476e-05 5.476e-05 0.01% MLCellLinOp::solutionResidual() 93 5.265e-05 5.265e-05 5.265e-05 0.00% MLMG::mgVcycle_up::1 82 5.225e-05 5.225e-05 5.225e-05 0.00% MLMG::mgVcycle_up::2 82 5.152e-05 5.152e-05 5.152e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.879e-05 4.879e-05 4.879e-05 0.00% Castro::finalize_do_advance() 10 4.548e-05 4.548e-05 4.548e-05 0.00% Castro::post_timestep() 10 4.429e-05 4.429e-05 4.429e-05 0.00% StateData::define() 4 4.175e-05 4.175e-05 4.175e-05 0.00% Castro::swap_state_time_levels() 10 3.69e-05 3.69e-05 3.69e-05 0.00% MLMG::computeResidual() 82 3.642e-05 3.642e-05 3.642e-05 0.00% MLMG::mgVcycle_bottom 82 3.539e-05 3.539e-05 3.539e-05 0.00% FillPatchSingleLevel 41 3.423e-05 3.423e-05 3.423e-05 0.00% Amr::defBaseLevel() 1 3.273e-05 3.273e-05 3.273e-05 0.00% MLMG::ResNormInf() 93 3.244e-05 3.244e-05 3.244e-05 0.00% Castro::initMFs() 1 2.868e-05 2.868e-05 2.868e-05 0.00% Castro::buildMetrics() 1 2.802e-05 2.802e-05 2.802e-05 0.00% Amr::writeSmallPlotFile() 1 2.726e-05 2.726e-05 2.726e-05 0.00% Castro::construct_new_gravity() 10 2.681e-05 2.681e-05 2.681e-05 0.00% makeSFC 55 2.646e-05 2.646e-05 2.646e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.498e-05 2.498e-05 2.498e-05 0.00% MLPoisson::define() 11 2.173e-05 2.173e-05 2.173e-05 0.00% Castro::do_old_sources() 10 2.167e-05 2.167e-05 2.167e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.042e-05 2.042e-05 2.042e-05 0.00% Amr::FinalizeInit() 1 1.938e-05 1.938e-05 1.938e-05 0.00% Castro::construct_old_source() 50 1.898e-05 1.898e-05 1.898e-05 0.00% DistributionMapping::Distribute() 56 1.769e-05 1.769e-05 1.769e-05 0.00% MLLinOp::define() 11 1.75e-05 1.75e-05 1.75e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.355e-05 1.355e-05 1.355e-05 0.00% Castro::check_for_nan() 20 1.215e-05 1.215e-05 1.215e-05 0.00% Castro::construct_old_gravity() 10 1.214e-05 1.214e-05 1.214e-05 0.00% Castro::apply_source_to_state() 20 1.19e-05 1.19e-05 1.19e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.129e-05 1.129e-05 1.129e-05 0.00% MLMG::computeMLResidual() 11 1.017e-05 1.017e-05 1.017e-05 0.00% Castro::post_init() 1 9.89e-06 9.89e-06 9.89e-06 0.00% Amr::initSubcycle() 1 9.553e-06 9.553e-06 9.553e-06 0.00% Gravity::swapTimeLevels() 10 9.162e-06 9.162e-06 9.162e-06 0.00% MLPoisson::prepareForSolve() 11 8.445e-06 8.445e-06 8.445e-06 0.00% Castro::computeNewDt() 9 8.384e-06 8.384e-06 8.384e-06 0.00% Gravity::actual_multilevel_solve() 1 8.15e-06 8.15e-06 8.15e-06 0.00% Castro::expand_state() 10 6.695e-06 6.695e-06 6.695e-06 0.00% MLMG::getGradSolution() 11 6.103e-06 6.103e-06 6.103e-06 0.00% AmrLevel::checkPointPost() 3 4.731e-06 4.731e-06 4.731e-06 0.00% Amr::InitializeInit() 1 4.636e-06 4.636e-06 4.636e-06 0.00% Castro::retry_advance_ctu() 10 4.561e-06 4.561e-06 4.561e-06 0.00% MLMG::MLRhsNormInf() 11 4.427e-06 4.427e-06 4.427e-06 0.00% AmrLevel::checkPointPre() 3 4.24e-06 4.24e-06 4.24e-06 0.00% Gravity::set_mass_offset() 11 4.04e-06 4.04e-06 4.04e-06 0.00% MLMG::MLResNormInf() 11 3.634e-06 3.634e-06 3.634e-06 0.00% Castro::computeInitialDt() 2 3.174e-06 3.174e-06 3.174e-06 0.00% Castro::FluxRegCrseInit 10 3.034e-06 3.034e-06 3.034e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.923e-06 2.923e-06 2.923e-06 0.00% Castro::FluxRegFineAdd() 10 2.749e-06 2.749e-06 2.749e-06 0.00% Amr::init() 1 2.69e-06 2.69e-06 2.69e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.954e-06 1.954e-06 1.954e-06 0.00% Castro::post_regrid() 1 1.288e-06 1.288e-06 1.288e-06 0.00% Amr::initialInit() 1 1.022e-06 1.022e-06 1.022e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 1.058 1.058 1.058 100.00% Amr::coarseTimeStep() 10 0.8943 0.8943 0.8943 84.56% Amr::timeStep() 10 0.6423 0.6423 0.6423 60.74% Castro::advance() 10 0.6309 0.6309 0.6309 59.65% Castro::subcycle_advance_ctu() 10 0.6166 0.6166 0.6166 58.30% Castro::do_advance_ctu() 10 0.6164 0.6164 0.6164 58.28% Amr::checkPoint() 3 0.2997 0.2997 0.2997 28.33% Gravity::solve_phi_with_mlmg() 11 0.2908 0.2908 0.2908 27.50% Castro::construct_ctu_hydro_source() 10 0.2823 0.2823 0.2823 26.70% Gravity::actual_solve_with_mlmg() 11 0.281 0.281 0.281 26.57% Castro::construct_new_gravity() 10 0.2623 0.2623 0.2623 24.80% MLMG::solve() 11 0.2593 0.2593 0.2593 24.51% Gravity::solve_for_phi() 10 0.2463 0.2463 0.2463 23.29% MLMG::oneIter() 82 0.2441 0.2441 0.2441 23.08% MLMG::mgVcycle() 82 0.2405 0.2405 0.2405 22.74% VisMF::Write(FabArray) 11 0.2047 0.2047 0.2047 19.35% AmrLevel::checkPoint() 3 0.1503 0.1503 0.1503 14.21% StateData::checkPoint() 12 0.1502 0.1502 0.1502 14.20% Amr::init() 1 0.1337 0.1337 0.1337 12.64% MLCellLinOp::smooth() 1640 0.1174 0.1174 0.1174 11.10% MLCellLinOp::applyBC() 4433 0.1098 0.1098 0.1098 10.38% MLMG::mgVcycle_bottom 82 0.07528 0.07528 0.07528 7.12% MLMG::actualBottomSolve() 82 0.07524 0.07524 0.07524 7.11% MLCGSolver::bicgstab 82 0.07452 0.07452 0.07452 7.05% Castro::clean_state() 62 0.05831 0.05831 0.05831 5.51% Amr::writePlotFile() 2 0.05743 0.05743 0.05743 5.43% Amr::initialInit() 1 0.05377 0.05377 0.05377 5.08% Amr::FinalizeInit() 1 0.04866 0.04866 0.04866 4.60% AmrLevel::FillPatch() 41 0.04739 0.04739 0.04739 4.48% Castro::post_init() 1 0.04717 0.04717 0.04717 4.46% Gravity::multilevel_solve_for_new_phi() 1 0.04494 0.04494 0.04494 4.25% Gravity::actual_multilevel_solve() 1 0.04492 0.04492 0.04492 4.25% FillPatchIterator::Initialize 41 0.0432 0.0432 0.0432 4.08% FillPatchIterator::FillFromLevel0() 41 0.04164 0.04164 0.04164 3.94% FillPatchSingleLevel 41 0.04159 0.04159 0.04159 3.93% StateDataPhysBCFunct::() 41 0.03749 0.03749 0.03749 3.54% MLCellLinOp::apply() 1142 0.03699 0.03699 0.03699 3.50% MLMG::mgVcycle_down::0 82 0.03352 0.03352 0.03352 3.17% MLPoisson::Fsmooth() 3280 0.03299 0.03299 0.03299 3.12% FabArray::FillBoundary() 4023 0.03178 0.03178 0.03178 3.00% FillBoundary_nowait() 4023 0.03097 0.03097 0.03097 2.93% StateData::FillBoundary(geom) 328 0.02638 0.02638 0.02638 2.49% MLMG::mgVcycle_up::0 82 0.02525 0.02525 0.02525 2.39% Castro::computeTemp() 63 0.02296 0.02296 0.02296 2.17% MLCellLinOp::correctionResidual() 492 0.02252 0.02252 0.02252 2.13% Castro::initialize_do_advance() 10 0.0219 0.0219 0.0219 2.07% amrex::Dot() 1114 0.02098 0.02098 0.02098 1.98% Castro::normalize_species() 62 0.02036 0.02036 0.02036 1.93% MLMG:computeResOfCorrection() 410 0.01982 0.01982 0.01982 1.87% Castro::do_old_sources() 10 0.01828 0.01828 0.01828 1.73% Gravity::get_new_grav_vector() 11 0.01774 0.01774 0.01774 1.68% MLPoisson::define() 11 0.01714 0.01714 0.01714 1.62% MLMG::mgVcycle_down::1 82 0.01616 0.01616 0.01616 1.53% Castro::construct_old_gravity() 10 0.01539 0.01539 0.01539 1.46% Gravity::get_old_grav_vector() 10 0.01538 0.01538 0.01538 1.45% amrex::Copy() 1029 0.01507 0.01507 0.01507 1.43% MLMG::mgVcycle_down::2 82 0.01502 0.01502 0.01502 1.42% FabArray::norminf() 743 0.01469 0.01469 0.01469 1.39% FabArray::ParallelCopy() 861 0.0146 0.0146 0.0146 1.38% MLMG::mgVcycle_down::3 82 0.01458 0.01458 0.01458 1.38% MLMG::mgVcycle_down::4 82 0.01454 0.01454 0.01454 1.37% FabArray::ParallelCopy_nowait() 861 0.01435 0.01435 0.01435 1.36% Castro::initialize_advance() 10 0.01357 0.01357 0.01357 1.28% FabArray::setVal() 1144 0.01349 0.01349 0.01349 1.28% Castro::do_new_sources() 10 0.01292 0.01292 0.01292 1.22% MLCGSolver::ParallelAllReduce 1514 0.01258 0.01258 0.01258 1.19% Castro::enforce_min_density() 62 0.01246 0.01246 0.01246 1.18% MLMG::addInterpCorrection() 410 0.01202 0.01202 0.01202 1.14% Castro::expand_state() 10 0.01186 0.01186 0.01186 1.12% MLMG::mgVcycle_up::4 82 0.01177 0.01177 0.01177 1.11% MLCellLinOp::defineAuxData() 11 0.01166 0.01166 0.01166 1.10% MLMG::mgVcycle_up::1 82 0.01163 0.01163 0.01163 1.10% amrex::average_down 410 0.01143 0.01143 0.01143 1.08% MLMG::mgVcycle_up::2 82 0.01137 0.01137 0.01137 1.07% Castro::post_timestep() 10 0.01126 0.01126 0.01126 1.06% MLMG::mgVcycle_up::3 82 0.01118 0.01118 0.01118 1.06% MLPoisson::Fapply() 1142 0.01056 0.01056 0.01056 1.00% Gravity::fill_multipole_BCs() 11 0.009522 0.009522 0.009522 0.90% FabArray::Saxpy() 813 0.00834 0.00834 0.00834 0.79% FabArray::Xpay() 821 0.008265 0.008265 0.008265 0.78% MLCellLinOp::solutionResidual() 93 0.007523 0.007523 0.007523 0.71% Castro::reset_internal_energy(MultiFab) 63 0.007049 0.007049 0.007049 0.67% MLMG::computeResidual() 82 0.006243 0.006243 0.006243 0.59% Castro::estTimeStep() 21 0.005648 0.005648 0.005648 0.53% MLCellLinOp::defineBC() 11 0.005208 0.005208 0.005208 0.49% Amr::InitializeInit() 1 0.005109 0.005109 0.005109 0.48% Amr::defBaseLevel() 1 0.005105 0.005105 0.005105 0.48% MLMG::prepareForSolve() 11 0.005078 0.005078 0.005078 0.48% BndryData::define() 11 0.004972 0.004972 0.004972 0.47% FabArray::LinComb() 557 0.004629 0.004629 0.004629 0.44% Castro::initData() 1 0.00442 0.00442 0.00442 0.42% amrex::Add() 164 0.004393 0.004393 0.004393 0.42% Castro::enforce_speed_limit() 62 0.003411 0.003411 0.003411 0.32% Castro::construct_new_source() 50 0.003393 0.003393 0.003393 0.32% Castro::construct_new_gravity_source() 10 0.003315 0.003315 0.003315 0.31% Castro::construct_old_source() 50 0.002997 0.002997 0.002997 0.28% Castro::construct_old_gravity_source() 10 0.002978 0.002978 0.002978 0.28% Castro::computeNewDt() 9 0.00237 0.00237 0.00237 0.22% Castro::finalize_do_advance() 10 0.002288 0.002288 0.002288 0.22% MLMG::ResNormInf() 93 0.002162 0.002162 0.002162 0.20% check_for_negative_density() 10 0.002084 0.002084 0.002084 0.20% Castro::apply_source_to_state() 20 0.001873 0.001873 0.001873 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.17% Castro::reset_internal_energy(Fab) 504 0.001722 0.001722 0.001722 0.16% MLMG::getGradSolution() 11 0.001572 0.001572 0.001572 0.15% MLCellLinOp::compGrad() 11 0.001566 0.001566 0.001566 0.15% FabArrayBase::getCPC() 1323 0.001526 0.001526 0.001526 0.14% MLCellLinOp::setLevelBC() 11 0.001491 0.001491 0.001491 0.14% FabArray::mult() 43 0.001359 0.001359 0.001359 0.13% FabArray::setDomainBndry() 41 0.001345 0.001345 0.001345 0.13% MLMG::computeMLResidual() 11 0.001326 0.001326 0.001326 0.13% MLPoisson::prepareForSolve() 11 0.001305 0.001305 0.001305 0.12% MLCellLinOp::prepareForSolve() 11 0.001297 0.001297 0.001297 0.12% Castro::check_for_nan() 20 0.001282 0.001282 0.001282 0.12% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.12% Castro::post_regrid() 1 0.001193 0.001193 0.001193 0.11% Castro::computeInitialDt() 2 0.001047 0.001047 0.001047 0.10% Gravity::update_max_rhs() 11 0.0009796 0.0009796 0.0009796 0.09% FabArrayBase::getFB() 4023 0.000725 0.000725 0.000725 0.07% FabArrayBase::CPC::define() 454 0.0007045 0.0007045 0.0007045 0.07% Castro::finalize_advance() 10 0.0006001 0.0006001 0.0006001 0.06% Castro::Castro() 1 0.0005949 0.0005949 0.0005949 0.06% Amr::InitAmr() 1 0.0005183 0.0005183 0.0005183 0.05% Gravity::swapTimeLevels() 10 0.0004494 0.0004494 0.0004494 0.04% MLMG::MLResNormInf() 11 0.0003304 0.0003304 0.0003304 0.03% MultiFab::max() 11 0.0003221 0.0003221 0.0003221 0.03% Castro::buildMetrics() 1 0.000283 0.000283 0.000283 0.03% MLLinOp::define() 11 0.0002567 0.0002567 0.0002567 0.02% MLLinOp::defineGrids() 11 0.0002392 0.0002392 0.0002392 0.02% MLMG::MLRhsNormInf() 11 0.0002291 0.0002291 0.0002291 0.02% Castro::create_source_corrector() 10 0.0001828 0.0001828 0.0001828 0.02% FabArrayBase::FB::FB() 56 9.448e-05 9.448e-05 9.448e-05 0.01% Castro::enforce_consistent_e() 1 6.56e-05 6.56e-05 6.56e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.663e-05 5.663e-05 5.663e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.304e-05 5.304e-05 5.304e-05 0.01% makeSFC 55 4.308e-05 4.308e-05 4.308e-05 0.00% StateData::define() 4 4.175e-05 4.175e-05 4.175e-05 0.00% Castro::swap_state_time_levels() 10 3.69e-05 3.69e-05 3.69e-05 0.00% Castro::initMFs() 1 2.868e-05 2.868e-05 2.868e-05 0.00% Amr::writeSmallPlotFile() 1 2.726e-05 2.726e-05 2.726e-05 0.00% DistributionMapping::Distribute() 56 1.769e-05 1.769e-05 1.769e-05 0.00% Amr::initSubcycle() 1 9.553e-06 9.553e-06 9.553e-06 0.00% AmrLevel::checkPointPost() 3 4.731e-06 4.731e-06 4.731e-06 0.00% Castro::retry_advance_ctu() 10 4.561e-06 4.561e-06 4.561e-06 0.00% AmrLevel::checkPointPre() 3 4.24e-06 4.24e-06 4.24e-06 0.00% Gravity::set_mass_offset() 11 4.04e-06 4.04e-06 4.04e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.997e-06 3.997e-06 3.997e-06 0.00% Castro::FluxRegCrseInit 10 3.034e-06 3.034e-06 3.034e-06 0.00% Castro::FluxRegFineAdd() 10 2.749e-06 2.749e-06 2.749e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.954e-06 1.954e-06 1.954e-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 84 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 117 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 871 KiB 39 MiB Castro::initialize_do_advance() 80 80 22 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1520 KiB 28 MiB Castro::initialize_advance() 80 80 13 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7614 KiB 14 MiB MLMG::prepareForSolve() 660 660 3015 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 174 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 148 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1790 B 2048 KiB Gravity::solve_for_phi() 80 80 476 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 86 KiB 2048 KiB BndryData::define() 1056 1056 275 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 175 KiB 671 KiB Castro::estTimeStep() 21 21 2601 B 480 KiB VisMF::Write(FabArray) 656 656 2936 B 320 KiB Castro::normalize_species() 62 62 6270 B 320 KiB amrex::average_down 1067 1067 1116 B 257 KiB MLMG::addInterpCorrection() 1066 1066 969 B 257 KiB amrex::Dot() 1360 1360 2919 B 160 KiB FabArray::norminf() 907 907 2048 B 160 KiB check_for_negative_density() 10 10 308 B 160 KiB Castro::initData() 1 1 43 B 160 KiB MultiFab::max() 11 11 47 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 23 B 20 KiB MLPoisson::Fsmooth() 132 132 2943 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 37 B 10 KiB FillBoundary_nowait() 760 760 247 B 9648 B MLCellLinOp::applyBC() 8866 8866 189 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3791 B 6144 B StateData::FillBoundary(geom) 1992 1992 32 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 102 B 1472 B MLCellLinOp::defineBC() 66 66 310 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 469 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 78 KiB 8192 KiB VisMF::Write(FabArray) 744 744 438 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 2943 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 37 B 10 KiB FillBoundary_nowait() 760 760 247 B 9648 B MLCellLinOp::applyBC() 4433 4433 187 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3791 B 6144 B Gravity::get_new_grav_vector() 3 3 2917 B 3072 B StateData::FillBoundary(geom) 1992 1992 32 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 251 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 21 B 400 B FabArray::norminf() 907 907 15 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): 2541 [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.10-13-gecaa14456e3f) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.10-13-gecaa14456e3f) initialized Starting run at 07:46:03 UTC on 2023-10-13. Successfully read inputs file ... Castro git describe: 23.10-35-gf8446cd94 AMReX git describe: 23.10-13-gecaa14456 Microphysics git describe: 23.10-6-g657406dc reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.489000769 Restart time = 0.07336378 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.053489812 [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.050367216 [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.073025776 [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.07540672 [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.070691274 [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.029212204 seconds Ending run at 07:46:04 UTC on 2023-10-13. Run time = 0.426627127 Run time without initialization = 0.352675516 Average number of zones advanced per microsecond: 3.717 Average number of zones advanced per microsecond per rank: 3.717 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4267 ... 0.4267 ... 0.4267 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1326 0.1326 0.1326 31.07% VisMF::Read() 3 0.06176 0.06176 0.06176 14.48% MLCellLinOp::applyBC() 1946 0.03393 0.03393 0.03393 7.95% VisMF::Write(FabArray) 1 0.02771 0.02771 0.02771 6.49% MLPoisson::Fsmooth() 1440 0.01419 0.01419 0.01419 3.33% StateData::FillBoundary(geom) 160 0.01283 0.01283 0.01283 3.01% FillBoundary_nowait() 1766 0.01279 0.01279 0.01279 3.00% Castro::normalize_species() 30 0.01019 0.01019 0.01019 2.39% amrex::Dot() 484 0.009064 0.009064 0.009064 2.12% amrex::Copy() 463 0.007215 0.007215 0.007215 1.69% Castro::computeTemp() 30 0.007067 0.007067 0.007067 1.66% FabArray::setVal() 537 0.006578 0.006578 0.006578 1.54% FabArray::norminf() 326 0.006438 0.006438 0.006438 1.51% FabArray::ParallelCopy_nowait() 380 0.006147 0.006147 0.006147 1.44% Castro::enforce_min_density() 30 0.005737 0.005737 0.005737 1.34% Gravity::fill_multipole_BCs() 6 0.005515 0.005515 0.005515 1.29% MLCellLinOp::defineAuxData() 6 0.005495 0.005495 0.005495 1.29% StateDataPhysBCFunct::() 20 0.004962 0.004962 0.004962 1.16% Amr::restart() 1 0.004847 0.004847 0.004847 1.14% MLPoisson::Fapply() 500 0.004552 0.004552 0.004552 1.07% FabArray::Saxpy() 355 0.00377 0.00377 0.00377 0.88% FabArray::Xpay() 361 0.003632 0.003632 0.003632 0.85% Castro::estTimeStep() 10 0.003173 0.003173 0.003173 0.74% MLMG::addInterpCorrection() 180 0.003073 0.003073 0.003073 0.72% amrex::average_down 180 0.00272 0.00272 0.00272 0.64% FabArray::LinComb() 242 0.00228 0.00228 0.00228 0.53% BndryData::define() 6 0.002132 0.002132 0.002132 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002063 0.002063 0.002063 0.48% Castro::enforce_speed_limit() 30 0.001911 0.001911 0.001911 0.45% amrex::Add() 72 0.001888 0.001888 0.001888 0.44% Castro::construct_new_gravity_source() 5 0.001626 0.001626 0.001626 0.38% Castro::construct_old_gravity_source() 5 0.001389 0.001389 0.001389 0.33% Amr::writePlotFile() 1 0.001325 0.001325 0.001325 0.31% check_for_negative_density() 5 0.0009765 0.0009765 0.0009765 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009741 0.0009741 0.0009741 0.23% MLCGSolver::bicgstab 36 0.0009731 0.0009731 0.0009731 0.23% Castro::reset_internal_energy(Fab) 240 0.0008497 0.0008497 0.0008497 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008248 0.0008248 0.0008248 0.19% MLCellLinOp::setLevelBC() 6 0.0008098 0.0008098 0.0008098 0.19% MLCellLinOp::prepareForSolve() 6 0.0007253 0.0007253 0.0007253 0.17% FabArray::setDomainBndry() 20 0.0006865 0.0006865 0.0006865 0.16% FabArray::mult() 22 0.0006846 0.0006846 0.0006846 0.16% MultiFab::contains_nan() 10 0.0006534 0.0006534 0.0006534 0.15% MLCellLinOp::compGrad() 6 0.0005866 0.0005866 0.0005866 0.14% MLMG::prepareForSolve() 6 0.0005338 0.0005338 0.0005338 0.13% MLCellLinOp::smooth() 720 0.0005174 0.0005174 0.0005174 0.12% FabArrayBase::CPC::define() 244 0.0004266 0.0004266 0.0004266 0.10% Amr::InitAmr() 1 0.0004015 0.0004015 0.0004015 0.09% FabArrayBase::getCPC() 632 0.0003679 0.0003679 0.0003679 0.09% FabArray::FillBoundary() 1766 0.0003601 0.0003601 0.0003601 0.08% Gravity::get_old_grav_vector() 5 0.0003194 0.0003194 0.0003194 0.07% FabArrayBase::getFB() 1766 0.0002727 0.0002727 0.0002727 0.06% Gravity::get_new_grav_vector() 5 0.0002599 0.0002599 0.0002599 0.06% main() 1 0.0002579 0.0002579 0.0002579 0.06% Amr::coarseTimeStep() 5 0.0002423 0.0002423 0.0002423 0.06% MLCellLinOp::apply() 500 0.0002105 0.0002105 0.0002105 0.05% MultiFab::max() 6 0.0002055 0.0002055 0.0002055 0.05% Castro::subcycle_advance_ctu() 5 0.000164 0.000164 0.000164 0.04% AmrLevel::FillPatch() 20 0.0001634 0.0001634 0.0001634 0.04% MLCGSolver::ParallelAllReduce 659 0.0001201 0.0001201 0.0001201 0.03% MLCellLinOp::defineBC() 6 0.0001152 0.0001152 0.0001152 0.03% FillPatchIterator::Initialize 20 0.0001104 0.0001104 0.0001104 0.03% FabArray::ParallelCopy() 380 0.0001096 0.0001096 0.0001096 0.03% MLCellLinOp::correctionResidual() 216 0.0001018 0.0001018 0.0001018 0.02% MLMG::mgVcycle() 36 9.454e-05 9.454e-05 9.454e-05 0.02% MLLinOp::defineGrids() 6 9.22e-05 9.22e-05 9.22e-05 0.02% Amr::timeStep() 5 8.325e-05 8.325e-05 8.325e-05 0.02% Castro::create_source_corrector() 5 8.255e-05 8.255e-05 8.255e-05 0.02% Castro::advance() 5 7.977e-05 7.977e-05 7.977e-05 0.02% Castro::finalize_do_advance() 5 6.946e-05 6.946e-05 6.946e-05 0.02% AmrLevel::restart() 1 6.753e-05 6.753e-05 6.753e-05 0.02% Gravity::update_max_rhs() 6 6.601e-05 6.601e-05 6.601e-05 0.02% StateData::restartDoit() 4 6.593e-05 6.593e-05 6.593e-05 0.02% Gravity::solve_for_phi() 5 6.4e-05 6.4e-05 6.4e-05 0.01% Castro::initialize_do_advance() 5 6.333e-05 6.333e-05 6.333e-05 0.01% FabArrayBase::FB::FB() 26 6.03e-05 6.03e-05 6.03e-05 0.01% Castro::initialize_advance() 5 5.867e-05 5.867e-05 5.867e-05 0.01% MLMG:computeResOfCorrection() 180 5.391e-05 5.391e-05 5.391e-05 0.01% Castro::do_advance_ctu() 5 4.595e-05 4.595e-05 4.595e-05 0.01% Castro::construct_new_source() 25 4.302e-05 4.302e-05 4.302e-05 0.01% MLMG::actualBottomSolve() 36 4.154e-05 4.154e-05 4.154e-05 0.01% Castro::clean_state() 30 3.844e-05 3.844e-05 3.844e-05 0.01% MLMG::mgVcycle_down::0 36 3.835e-05 3.835e-05 3.835e-05 0.01% MLMG::solve() 6 3.734e-05 3.734e-05 3.734e-05 0.01% Castro::do_new_sources() 5 3.427e-05 3.427e-05 3.427e-05 0.01% MLMG::mgVcycle_down::1 36 3.385e-05 3.385e-05 3.385e-05 0.01% MLMG::mgVcycle_down::2 36 3.304e-05 3.304e-05 3.304e-05 0.01% MLMG::mgVcycle_down::4 36 3.14e-05 3.14e-05 3.14e-05 0.01% MLMG::mgVcycle_down::3 36 3.054e-05 3.054e-05 3.054e-05 0.01% Castro::buildMetrics() 1 2.909e-05 2.909e-05 2.909e-05 0.01% Amr::writeSmallPlotFile() 1 2.904e-05 2.904e-05 2.904e-05 0.01% MLMG::mgVcycle_up::4 36 2.842e-05 2.842e-05 2.842e-05 0.01% Castro::finalize_advance() 5 2.828e-05 2.828e-05 2.828e-05 0.01% Castro::post_restart() 1 2.768e-05 2.768e-05 2.768e-05 0.01% Castro::construct_old_source() 25 2.635e-05 2.635e-05 2.635e-05 0.01% MLMG::oneIter() 36 2.58e-05 2.58e-05 2.58e-05 0.01% Castro::swap_state_time_levels() 5 2.574e-05 2.574e-05 2.574e-05 0.01% Gravity::multilevel_solve_for_new_phi() 1 2.412e-05 2.412e-05 2.412e-05 0.01% Castro::initMFs() 1 2.405e-05 2.405e-05 2.405e-05 0.01% MLMG::mgVcycle_up::0 36 2.251e-05 2.251e-05 2.251e-05 0.01% MLCellLinOp::solutionResidual() 42 2.179e-05 2.179e-05 2.179e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.132e-05 2.132e-05 2.132e-05 0.00% MLMG::mgVcycle_up::3 36 2.075e-05 2.075e-05 2.075e-05 0.00% MLMG::mgVcycle_up::2 36 2.07e-05 2.07e-05 2.07e-05 0.00% MLMG::mgVcycle_up::1 36 1.958e-05 1.958e-05 1.958e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.812e-05 1.812e-05 1.812e-05 0.00% MLMG::ResNormInf() 42 1.66e-05 1.66e-05 1.66e-05 0.00% FillPatchSingleLevel 20 1.565e-05 1.565e-05 1.565e-05 0.00% MLMG::mgVcycle_bottom 36 1.559e-05 1.559e-05 1.559e-05 0.00% MLPoisson::define() 6 1.384e-05 1.384e-05 1.384e-05 0.00% MLMG::computeResidual() 36 1.365e-05 1.365e-05 1.365e-05 0.00% makeSFC 30 1.336e-05 1.336e-05 1.336e-05 0.00% Castro::construct_new_gravity() 5 1.25e-05 1.25e-05 1.25e-05 0.00% Castro::do_old_sources() 5 1.13e-05 1.13e-05 1.13e-05 0.00% MLLinOp::define() 6 1.039e-05 1.039e-05 1.039e-05 0.00% Amr::initSubcycle() 1 1.008e-05 1.008e-05 1.008e-05 0.00% DistributionMapping::Distribute() 31 9.2e-06 9.2e-06 9.2e-06 0.00% Gravity::actual_multilevel_solve() 1 8.156e-06 8.156e-06 8.156e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.124e-06 7.124e-06 7.124e-06 0.00% Castro::check_for_nan() 10 7.097e-06 7.097e-06 7.097e-06 0.00% Castro::apply_source_to_state() 10 6.333e-06 6.333e-06 6.333e-06 0.00% Castro::construct_old_gravity() 5 6.065e-06 6.065e-06 6.065e-06 0.00% Castro::post_timestep() 5 5.209e-06 5.209e-06 5.209e-06 0.00% Gravity::swapTimeLevels() 5 4.187e-06 4.187e-06 4.187e-06 0.00% MLPoisson::prepareForSolve() 6 3.983e-06 3.983e-06 3.983e-06 0.00% MLMG::computeMLResidual() 6 3.878e-06 3.878e-06 3.878e-06 0.00% Castro::computeNewDt() 5 3.871e-06 3.871e-06 3.871e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.175e-06 3.175e-06 3.175e-06 0.00% MLMG::getGradSolution() 6 3.084e-06 3.084e-06 3.084e-06 0.00% Castro::expand_state() 5 2.624e-06 2.624e-06 2.624e-06 0.00% MLMG::MLRhsNormInf() 6 2.385e-06 2.385e-06 2.385e-06 0.00% MLMG::MLResNormInf() 6 2.259e-06 2.259e-06 2.259e-06 0.00% Gravity::set_mass_offset() 6 2.242e-06 2.242e-06 2.242e-06 0.00% Castro::retry_advance_ctu() 5 1.922e-06 1.922e-06 1.922e-06 0.00% Castro::FluxRegCrseInit 5 1.402e-06 1.402e-06 1.402e-06 0.00% Castro::FluxRegFineAdd() 5 1.164e-06 1.164e-06 1.164e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.097e-06 1.097e-06 1.097e-06 0.00% Amr::init() 1 1.067e-06 1.067e-06 1.067e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4266 0.4266 0.4266 99.99% Amr::coarseTimeStep() 5 0.3232 0.3232 0.3232 75.75% Amr::timeStep() 5 0.321 0.321 0.321 75.23% Castro::advance() 5 0.3145 0.3145 0.3145 73.72% Castro::subcycle_advance_ctu() 5 0.307 0.307 0.307 71.95% Castro::do_advance_ctu() 5 0.3068 0.3068 0.3068 71.91% Castro::construct_ctu_hydro_source() 5 0.1381 0.1381 0.1381 32.36% Castro::construct_new_gravity() 5 0.1327 0.1327 0.1327 31.11% Gravity::solve_phi_with_mlmg() 6 0.1307 0.1307 0.1307 30.62% Gravity::solve_for_phi() 5 0.125 0.125 0.125 29.29% Gravity::actual_solve_with_mlmg() 6 0.1249 0.1249 0.1249 29.27% MLMG::solve() 6 0.1131 0.1131 0.1131 26.52% MLMG::oneIter() 36 0.1057 0.1057 0.1057 24.78% MLMG::mgVcycle() 36 0.1042 0.1042 0.1042 24.42% Amr::init() 1 0.07343 0.07343 0.07343 17.21% Amr::restart() 1 0.07343 0.07343 0.07343 17.21% AmrLevel::restart() 1 0.06212 0.06212 0.06212 14.56% StateData::restartDoit() 4 0.06204 0.06204 0.06204 14.54% VisMF::Read() 3 0.06176 0.06176 0.06176 14.48% MLCellLinOp::smooth() 720 0.05053 0.05053 0.05053 11.84% MLCellLinOp::applyBC() 1946 0.04741 0.04741 0.04741 11.11% MLMG::mgVcycle_bottom 36 0.03275 0.03275 0.03275 7.68% MLMG::actualBottomSolve() 36 0.03273 0.03273 0.03273 7.67% MLCGSolver::bicgstab 36 0.03242 0.03242 0.03242 7.60% Amr::writePlotFile() 1 0.02929 0.02929 0.02929 6.87% Castro::clean_state() 30 0.02786 0.02786 0.02786 6.53% VisMF::Write(FabArray) 1 0.02771 0.02771 0.02771 6.49% AmrLevel::FillPatch() 20 0.02274 0.02274 0.02274 5.33% FillPatchIterator::Initialize 20 0.02068 0.02068 0.02068 4.85% FillPatchIterator::FillFromLevel0() 20 0.01989 0.01989 0.01989 4.66% FillPatchSingleLevel 20 0.01986 0.01986 0.01986 4.66% StateDataPhysBCFunct::() 20 0.0178 0.0178 0.0178 4.17% MLCellLinOp::apply() 500 0.01607 0.01607 0.01607 3.77% MLMG::mgVcycle_down::0 36 0.0145 0.0145 0.0145 3.40% MLPoisson::Fsmooth() 1440 0.01419 0.01419 0.01419 3.33% FabArray::FillBoundary() 1766 0.01348 0.01348 0.01348 3.16% FillBoundary_nowait() 1766 0.01312 0.01312 0.01312 3.08% StateData::FillBoundary(geom) 160 0.01283 0.01283 0.01283 3.01% Castro::initialize_do_advance() 5 0.01115 0.01115 0.01115 2.61% MLMG::mgVcycle_up::0 36 0.01083 0.01083 0.01083 2.54% Castro::normalize_species() 30 0.01019 0.01019 0.01019 2.39% Castro::computeTemp() 30 0.00998 0.00998 0.00998 2.34% MLCellLinOp::correctionResidual() 216 0.009699 0.009699 0.009699 2.27% MLPoisson::define() 6 0.009256 0.009256 0.009256 2.17% Castro::do_old_sources() 5 0.009111 0.009111 0.009111 2.14% amrex::Dot() 484 0.009064 0.009064 0.009064 2.12% MLMG:computeResOfCorrection() 180 0.008527 0.008527 0.008527 2.00% Gravity::get_new_grav_vector() 5 0.007613 0.007613 0.007613 1.78% Castro::construct_old_gravity() 5 0.00754 0.00754 0.00754 1.77% Gravity::get_old_grav_vector() 5 0.007534 0.007534 0.007534 1.77% amrex::Copy() 463 0.007215 0.007215 0.007215 1.69% Castro::initialize_advance() 5 0.007153 0.007153 0.007153 1.68% MLMG::mgVcycle_down::1 36 0.007104 0.007104 0.007104 1.66% FabArray::ParallelCopy() 380 0.006657 0.006657 0.006657 1.56% FabArray::setVal() 537 0.006578 0.006578 0.006578 1.54% FabArray::ParallelCopy_nowait() 380 0.006547 0.006547 0.006547 1.53% MLMG::mgVcycle_down::2 36 0.006493 0.006493 0.006493 1.52% Castro::do_new_sources() 5 0.006488 0.006488 0.006488 1.52% FabArray::norminf() 326 0.006438 0.006438 0.006438 1.51% Castro::post_timestep() 5 0.006361 0.006361 0.006361 1.49% Castro::post_restart() 1 0.006289 0.006289 0.006289 1.47% MLMG::mgVcycle_down::3 36 0.006286 0.006286 0.006286 1.47% MLCellLinOp::defineAuxData() 6 0.00628 0.00628 0.00628 1.47% MLMG::mgVcycle_down::4 36 0.00623 0.00623 0.00623 1.46% Castro::expand_state() 5 0.006229 0.006229 0.006229 1.46% Gravity::multilevel_solve_for_new_phi() 1 0.005913 0.005913 0.005913 1.39% Gravity::actual_multilevel_solve() 1 0.005889 0.005889 0.005889 1.38% Castro::enforce_min_density() 30 0.005737 0.005737 0.005737 1.34% Gravity::fill_multipole_BCs() 6 0.00564 0.00564 0.00564 1.32% MLCGSolver::ParallelAllReduce 659 0.005485 0.005485 0.005485 1.29% MLMG::addInterpCorrection() 180 0.005346 0.005346 0.005346 1.25% MLMG::mgVcycle_up::4 36 0.005083 0.005083 0.005083 1.19% amrex::average_down 180 0.005051 0.005051 0.005051 1.18% MLMG::mgVcycle_up::1 36 0.005014 0.005014 0.005014 1.18% MLMG::mgVcycle_up::2 36 0.004962 0.004962 0.004962 1.16% MLMG::mgVcycle_up::3 36 0.004837 0.004837 0.004837 1.13% MLPoisson::Fapply() 500 0.004552 0.004552 0.004552 1.07% FabArray::Saxpy() 355 0.00377 0.00377 0.00377 0.88% FabArray::Xpay() 361 0.003632 0.003632 0.003632 0.85% MLCellLinOp::solutionResidual() 42 0.00348 0.00348 0.00348 0.82% Castro::estTimeStep() 10 0.003173 0.003173 0.003173 0.74% Castro::reset_internal_energy(MultiFab) 30 0.002913 0.002913 0.002913 0.68% MLCellLinOp::defineBC() 6 0.00283 0.00283 0.00283 0.66% MLMG::prepareForSolve() 6 0.002769 0.002769 0.002769 0.65% MLMG::computeResidual() 36 0.002717 0.002717 0.002717 0.64% BndryData::define() 6 0.002715 0.002715 0.002715 0.64% FabArray::LinComb() 242 0.00228 0.00228 0.00228 0.53% Castro::computeNewDt() 5 0.001988 0.001988 0.001988 0.47% Castro::enforce_speed_limit() 30 0.001911 0.001911 0.001911 0.45% amrex::Add() 72 0.001888 0.001888 0.001888 0.44% Castro::construct_new_source() 25 0.001669 0.001669 0.001669 0.39% Castro::construct_new_gravity_source() 5 0.001626 0.001626 0.001626 0.38% Castro::construct_old_source() 25 0.001415 0.001415 0.001415 0.33% Castro::construct_old_gravity_source() 5 0.001389 0.001389 0.001389 0.33% Castro::finalize_do_advance() 5 0.001258 0.001258 0.001258 0.29% MLMG::ResNormInf() 42 0.0009922 0.0009922 0.0009922 0.23% Castro::apply_source_to_state() 10 0.0009775 0.0009775 0.0009775 0.23% check_for_negative_density() 5 0.0009765 0.0009765 0.0009765 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009741 0.0009741 0.0009741 0.23% MLMG::getGradSolution() 6 0.0008626 0.0008626 0.0008626 0.20% MLCellLinOp::compGrad() 6 0.0008595 0.0008595 0.0008595 0.20% Castro::reset_internal_energy(Fab) 240 0.0008497 0.0008497 0.0008497 0.20% MLCellLinOp::setLevelBC() 6 0.0008098 0.0008098 0.0008098 0.19% FabArrayBase::getCPC() 632 0.0007945 0.0007945 0.0007945 0.19% MLMG::computeMLResidual() 6 0.0007812 0.0007812 0.0007812 0.18% MLPoisson::prepareForSolve() 6 0.0007292 0.0007292 0.0007292 0.17% MLCellLinOp::prepareForSolve() 6 0.0007253 0.0007253 0.0007253 0.17% Gravity::update_max_rhs() 6 0.0007187 0.0007187 0.0007187 0.17% FabArray::setDomainBndry() 20 0.0006865 0.0006865 0.0006865 0.16% FabArray::mult() 22 0.0006846 0.0006846 0.0006846 0.16% Castro::check_for_nan() 10 0.0006605 0.0006605 0.0006605 0.15% MultiFab::contains_nan() 10 0.0006534 0.0006534 0.0006534 0.15% FabArrayBase::CPC::define() 244 0.0004266 0.0004266 0.0004266 0.10% Amr::InitAmr() 1 0.0004116 0.0004116 0.0004116 0.10% FabArrayBase::getFB() 1766 0.000333 0.000333 0.000333 0.08% Castro::finalize_advance() 5 0.0002982 0.0002982 0.0002982 0.07% Gravity::swapTimeLevels() 5 0.0002369 0.0002369 0.0002369 0.06% MultiFab::max() 6 0.0002055 0.0002055 0.0002055 0.05% MLMG::MLResNormInf() 6 0.0001889 0.0001889 0.0001889 0.04% Castro::buildMetrics() 1 0.0001523 0.0001523 0.0001523 0.04% MLLinOp::define() 6 0.0001318 0.0001318 0.0001318 0.03% MLLinOp::defineGrids() 6 0.0001214 0.0001214 0.0001214 0.03% MLMG::MLRhsNormInf() 6 0.0001189 0.0001189 0.0001189 0.03% Castro::create_source_corrector() 5 8.255e-05 8.255e-05 8.255e-05 0.02% FabArrayBase::FB::FB() 26 6.03e-05 6.03e-05 6.03e-05 0.01% Amr::writeSmallPlotFile() 1 2.904e-05 2.904e-05 2.904e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.813e-05 2.813e-05 2.813e-05 0.01% Castro::swap_state_time_levels() 5 2.574e-05 2.574e-05 2.574e-05 0.01% Castro::initMFs() 1 2.405e-05 2.405e-05 2.405e-05 0.01% makeSFC 30 2.1e-05 2.1e-05 2.1e-05 0.00% Amr::initSubcycle() 1 1.008e-05 1.008e-05 1.008e-05 0.00% DistributionMapping::Distribute() 31 9.2e-06 9.2e-06 9.2e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.731e-06 4.731e-06 4.731e-06 0.00% Gravity::set_mass_offset() 6 2.242e-06 2.242e-06 2.242e-06 0.00% Castro::retry_advance_ctu() 5 1.922e-06 1.922e-06 1.922e-06 0.00% Castro::FluxRegCrseInit 5 1.402e-06 1.402e-06 1.402e-06 0.00% Castro::FluxRegFineAdd() 5 1.164e-06 1.164e-06 1.164e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.097e-06 1.097e-06 1.097e-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 206 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 147 MiB 692 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1081 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1917 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6377 KiB 14 MiB MLMG::prepareForSolve() 361 361 3254 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6363 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3347 B 2048 KiB Gravity::solve_for_phi() 40 40 598 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 299 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 192 KiB 671 KiB Castro::estTimeStep() 10 10 3565 B 480 KiB VisMF::Write(FabArray) 112 112 1289 B 320 KiB Castro::normalize_species() 30 30 7777 B 320 KiB amrex::average_down 469 469 1162 B 257 KiB MLMG::addInterpCorrection() 468 468 1066 B 257 KiB amrex::Dot() 592 592 3130 B 160 KiB FabArray::norminf() 398 398 2227 B 160 KiB check_for_negative_density() 5 5 361 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3155 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 3892 3892 206 B 9344 B amrex::Copy() 56 56 5609 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2928 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 110 B 1472 B MLCellLinOp::defineBC() 36 36 337 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1281 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 188 KiB 3584 KiB VisMF::Read() 24 24 219 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3155 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 260 B 9648 B MLCellLinOp::applyBC() 1946 1946 205 B 9328 B amrex::Copy() 56 56 5609 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2497 B 3072 B StateData::FillBoundary(geom) 960 960 42 B 2928 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 496 B 1296 B amrex::average_down 37 37 210 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 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): 2541 [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.10-13-gecaa14456e3f) finalized