Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-4-gf3598d2f7b6b) initialized Starting run at 08:37:15 UTC on 2023-09-06. Successfully read inputs file ... Castro git describe: 23.09 AMReX git describe: 23.09-4-gf3598d2f7 Microphysics git describe: 23.08-19-gbb8d2a2b 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.051723906 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.029142198 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.052958961 [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.049142544 [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.073910299 [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.084731646 [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.068669694 [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.06123733 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.060091137 [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.077123921 [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.061415212 [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.065629137 [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.084518514 [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.095273355 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028807934 seconds Ending run at 08:37:16 UTC on 2023-09-06. Run time = 0.999925339 Run time without initialization = 0.864263423 Average number of zones advanced per microsecond: 3.033 Average number of zones advanced per microsecond per rank: 3.033 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 1 ... 1 ... 1 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3032 0.3032 0.3032 30.32% VisMF::Write(FabArray) 11 0.2045 0.2045 0.2045 20.45% MLCellLinOp::applyBC() 4433 0.07775 0.07775 0.07775 7.78% Amr::checkPoint() 3 0.05924 0.05924 0.05924 5.92% MLPoisson::Fsmooth() 3280 0.0331 0.0331 0.0331 3.31% FillBoundary_nowait() 4023 0.03088 0.03088 0.03088 3.09% StateData::FillBoundary(geom) 328 0.02652 0.02652 0.02652 2.65% amrex::Dot() 1114 0.02114 0.02114 0.02114 2.11% Castro::normalize_species() 62 0.02046 0.02046 0.02046 2.05% Castro::computeTemp() 63 0.01628 0.01628 0.01628 1.63% amrex::Copy() 1029 0.01515 0.01515 0.01515 1.52% FabArray::norminf() 743 0.01474 0.01474 0.01474 1.47% FabArray::ParallelCopy_nowait() 861 0.01347 0.01347 0.01347 1.35% FabArray::setVal() 1144 0.01347 0.01347 0.01347 1.35% Castro::enforce_min_density() 62 0.01142 0.01142 0.01142 1.14% StateDataPhysBCFunct::() 41 0.01111 0.01111 0.01111 1.11% MLPoisson::Fapply() 1142 0.01061 0.01061 0.01061 1.06% MLCellLinOp::defineAuxData() 11 0.01036 0.01036 0.01036 1.04% Gravity::fill_multipole_BCs() 11 0.009629 0.009629 0.009629 0.96% FabArray::Saxpy() 813 0.008447 0.008447 0.008447 0.84% FabArray::Xpay() 821 0.008257 0.008257 0.008257 0.83% MLMG::addInterpCorrection() 410 0.006858 0.006858 0.006858 0.69% amrex::average_down 410 0.006121 0.006121 0.006121 0.61% Castro::estTimeStep() 21 0.006098 0.006098 0.006098 0.61% Castro::reset_internal_energy(MultiFab) 63 0.004994 0.004994 0.004994 0.50% FabArray::LinComb() 557 0.004668 0.004668 0.004668 0.47% amrex::Add() 164 0.004456 0.004456 0.004456 0.45% BndryData::define() 11 0.003828 0.003828 0.003828 0.38% Castro::construct_new_gravity_source() 10 0.003346 0.003346 0.003346 0.33% Castro::construct_old_gravity_source() 10 0.002943 0.002943 0.002943 0.29% Castro::enforce_speed_limit() 62 0.002498 0.002498 0.002498 0.25% MLCGSolver::bicgstab 82 0.002257 0.002257 0.002257 0.23% Amr::writePlotFile() 2 0.001958 0.001958 0.001958 0.20% check_for_negative_density() 10 0.001948 0.001948 0.001948 0.19% Castro::reset_internal_energy(Fab) 504 0.00177 0.00177 0.00177 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001763 0.001763 0.001763 0.18% FabArray::setDomainBndry() 41 0.001533 0.001533 0.001533 0.15% Gravity::actual_solve_with_mlmg() 11 0.001529 0.001529 0.001529 0.15% Castro::initData() 1 0.001517 0.001517 0.001517 0.15% MLCellLinOp::setLevelBC() 11 0.001448 0.001448 0.001448 0.14% FabArray::mult() 43 0.001363 0.001363 0.001363 0.14% MLCellLinOp::prepareForSolve() 11 0.00127 0.00127 0.00127 0.13% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.13% MLCellLinOp::smooth() 1640 0.00108 0.00108 0.00108 0.11% MLCellLinOp::compGrad() 11 0.001053 0.001053 0.001053 0.11% MLMG::prepareForSolve() 11 0.000944 0.000944 0.000944 0.09% FabArray::FillBoundary() 4023 0.000808 0.000808 0.000808 0.08% FabArrayBase::getCPC() 1323 0.000773 0.000773 0.000773 0.08% FabArrayBase::CPC::define() 454 0.0006785 0.0006785 0.0006785 0.07% FabArrayBase::getFB() 4023 0.0006198 0.0006198 0.0006198 0.06% Gravity::get_new_grav_vector() 11 0.0005962 0.0005962 0.0005962 0.06% Amr::InitAmr() 1 0.0004931 0.0004931 0.0004931 0.05% Gravity::get_old_grav_vector() 10 0.0004792 0.0004792 0.0004792 0.05% Amr::coarseTimeStep() 10 0.0004568 0.0004568 0.0004568 0.05% MLCellLinOp::apply() 1142 0.0004554 0.0004554 0.0004554 0.05% MultiFab::max() 11 0.0003374 0.0003374 0.0003374 0.03% AmrLevel::FillPatch() 41 0.0003288 0.0003288 0.0003288 0.03% main() 1 0.0002907 0.0002907 0.0002907 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002809 0.0002809 0.0002809 0.03% FabArray::ParallelCopy() 861 0.0002595 0.0002595 0.0002595 0.03% MLMG::mgVcycle() 82 0.000239 0.000239 0.000239 0.02% MLCellLinOp::correctionResidual() 492 0.0002363 0.0002363 0.0002363 0.02% MLCellLinOp::defineBC() 11 0.0002268 0.0002268 0.0002268 0.02% Castro::subcycle_advance_ctu() 10 0.0002218 0.0002218 0.0002218 0.02% FillPatchIterator::Initialize 41 0.0002187 0.0002187 0.0002187 0.02% Castro::create_source_corrector() 10 0.000167 0.000167 0.000167 0.02% Amr::timeStep() 10 0.0001557 0.0001557 0.0001557 0.02% MLLinOp::defineGrids() 11 0.0001532 0.0001532 0.0001532 0.02% Gravity::solve_for_phi() 10 0.0001411 0.0001411 0.0001411 0.01% StateData::checkPoint() 12 0.0001354 0.0001354 0.0001354 0.01% Gravity::update_max_rhs() 11 0.000134 0.000134 0.000134 0.01% MLMG:computeResOfCorrection() 410 0.0001157 0.0001157 0.0001157 0.01% AmrLevel::checkPoint() 3 9.792e-05 9.792e-05 9.792e-05 0.01% Castro::Castro() 1 9.749e-05 9.749e-05 9.749e-05 0.01% MLMG::actualBottomSolve() 82 9.654e-05 9.654e-05 9.654e-05 0.01% FabArrayBase::FB::FB() 56 9.438e-05 9.438e-05 9.438e-05 0.01% MLMG::mgVcycle_down::1 82 9.026e-05 9.026e-05 9.026e-05 0.01% MLMG::mgVcycle_down::0 82 8.898e-05 8.898e-05 8.898e-05 0.01% Castro::advance() 10 8.739e-05 8.739e-05 8.739e-05 0.01% MLMG::mgVcycle_down::2 82 8.052e-05 8.052e-05 8.052e-05 0.01% MLMG::solve() 11 7.91e-05 7.91e-05 7.91e-05 0.01% MLMG::mgVcycle_down::4 82 7.758e-05 7.758e-05 7.758e-05 0.01% Castro::initialize_advance() 10 7.606e-05 7.606e-05 7.606e-05 0.01% MLMG::mgVcycle_down::3 82 7.593e-05 7.593e-05 7.593e-05 0.01% Castro::enforce_consistent_e() 1 7.108e-05 7.108e-05 7.108e-05 0.01% Castro::clean_state() 62 7.065e-05 7.065e-05 7.065e-05 0.01% Castro::construct_new_source() 50 6.938e-05 6.938e-05 6.938e-05 0.01% Castro::finalize_advance() 10 6.559e-05 6.559e-05 6.559e-05 0.01% MLMG::mgVcycle_up::4 82 6.309e-05 6.309e-05 6.309e-05 0.01% Castro::initialize_do_advance() 10 5.938e-05 5.938e-05 5.938e-05 0.01% MLMG::mgVcycle_up::0 82 5.458e-05 5.458e-05 5.458e-05 0.01% MLMG::oneIter() 82 5.454e-05 5.454e-05 5.454e-05 0.01% MLMG::mgVcycle_up::3 82 5.22e-05 5.22e-05 5.22e-05 0.01% MLMG::mgVcycle_up::1 82 5.16e-05 5.16e-05 5.16e-05 0.01% MLCellLinOp::solutionResidual() 93 5.157e-05 5.157e-05 5.157e-05 0.01% Castro::do_advance_ctu() 10 5.028e-05 5.028e-05 5.028e-05 0.01% MLMG::mgVcycle_up::2 82 5.023e-05 5.023e-05 5.023e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.95e-05 4.95e-05 4.95e-05 0.00% StateData::define() 4 4.477e-05 4.477e-05 4.477e-05 0.00% Castro::do_new_sources() 10 4.476e-05 4.476e-05 4.476e-05 0.00% Castro::finalize_do_advance() 10 4.397e-05 4.397e-05 4.397e-05 0.00% Castro::initMFs() 1 3.796e-05 3.796e-05 3.796e-05 0.00% Castro::post_timestep() 10 3.721e-05 3.721e-05 3.721e-05 0.00% Castro::swap_state_time_levels() 10 3.662e-05 3.662e-05 3.662e-05 0.00% FillPatchSingleLevel 41 3.582e-05 3.582e-05 3.582e-05 0.00% MLMG::ResNormInf() 93 3.306e-05 3.306e-05 3.306e-05 0.00% MLMG::mgVcycle_bottom 82 3.28e-05 3.28e-05 3.28e-05 0.00% MLMG::computeResidual() 82 3.194e-05 3.194e-05 3.194e-05 0.00% Amr::defBaseLevel() 1 2.9e-05 2.9e-05 2.9e-05 0.00% Amr::writeSmallPlotFile() 1 2.708e-05 2.708e-05 2.708e-05 0.00% MLPoisson::define() 11 2.649e-05 2.649e-05 2.649e-05 0.00% Castro::construct_new_gravity() 10 2.572e-05 2.572e-05 2.572e-05 0.00% Castro::buildMetrics() 1 2.561e-05 2.561e-05 2.561e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.533e-05 2.533e-05 2.533e-05 0.00% makeSFC 55 2.407e-05 2.407e-05 2.407e-05 0.00% Castro::do_old_sources() 10 2.114e-05 2.114e-05 2.114e-05 0.00% Castro::construct_old_source() 50 1.941e-05 1.941e-05 1.941e-05 0.00% Amr::FinalizeInit() 1 1.927e-05 1.927e-05 1.927e-05 0.00% DistributionMapping::Distribute() 56 1.811e-05 1.811e-05 1.811e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.781e-05 1.781e-05 1.781e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.715e-05 1.715e-05 1.715e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.516e-05 1.516e-05 1.516e-05 0.00% MLLinOp::define() 11 1.508e-05 1.508e-05 1.508e-05 0.00% Castro::check_for_nan() 20 1.341e-05 1.341e-05 1.341e-05 0.00% Gravity::actual_multilevel_solve() 1 1.289e-05 1.289e-05 1.289e-05 0.00% Castro::construct_old_gravity() 10 1.24e-05 1.24e-05 1.24e-05 0.00% Castro::apply_source_to_state() 20 1.142e-05 1.142e-05 1.142e-05 0.00% Gravity::swapTimeLevels() 10 9.996e-06 9.996e-06 9.996e-06 0.00% Castro::post_init() 1 9.909e-06 9.909e-06 9.909e-06 0.00% Amr::initSubcycle() 1 9.815e-06 9.815e-06 9.815e-06 0.00% Castro::computeNewDt() 9 8.531e-06 8.531e-06 8.531e-06 0.00% MLMG::computeMLResidual() 11 8.392e-06 8.392e-06 8.392e-06 0.00% MLPoisson::prepareForSolve() 11 7.74e-06 7.74e-06 7.74e-06 0.00% Castro::expand_state() 10 5.988e-06 5.988e-06 5.988e-06 0.00% MLMG::getGradSolution() 11 5.729e-06 5.729e-06 5.729e-06 0.00% AmrLevel::checkPointPost() 3 5.041e-06 5.041e-06 5.041e-06 0.00% Amr::InitializeInit() 1 4.79e-06 4.79e-06 4.79e-06 0.00% Gravity::set_mass_offset() 11 4.739e-06 4.739e-06 4.739e-06 0.00% AmrLevel::checkPointPre() 3 4.472e-06 4.472e-06 4.472e-06 0.00% Castro::retry_advance_ctu() 10 4.447e-06 4.447e-06 4.447e-06 0.00% MLMG::MLRhsNormInf() 11 4.309e-06 4.309e-06 4.309e-06 0.00% MLMG::MLResNormInf() 11 3.619e-06 3.619e-06 3.619e-06 0.00% Castro::computeInitialDt() 2 3.465e-06 3.465e-06 3.465e-06 0.00% Castro::FluxRegCrseInit 10 2.86e-06 2.86e-06 2.86e-06 0.00% Amr::init() 1 2.69e-06 2.69e-06 2.69e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.675e-06 2.675e-06 2.675e-06 0.00% Castro::FluxRegFineAdd() 10 2.385e-06 2.385e-06 2.385e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.139e-06 2.139e-06 2.139e-06 0.00% Castro::post_regrid() 1 1.336e-06 1.336e-06 1.336e-06 0.00% Amr::initialInit() 1 9.58e-07 9.58e-07 9.58e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9999 0.9999 0.9999 100.00% Amr::coarseTimeStep() 10 0.8352 0.8352 0.8352 83.53% Amr::timeStep() 10 0.6748 0.6748 0.6748 67.48% Castro::advance() 10 0.6636 0.6636 0.6636 66.36% Castro::subcycle_advance_ctu() 10 0.6503 0.6503 0.6503 65.03% Castro::do_advance_ctu() 10 0.65 0.65 0.65 65.01% Castro::construct_ctu_hydro_source() 10 0.3146 0.3146 0.3146 31.46% Gravity::solve_phi_with_mlmg() 11 0.2918 0.2918 0.2918 29.18% Gravity::actual_solve_with_mlmg() 11 0.2817 0.2817 0.2817 28.18% Castro::construct_new_gravity() 10 0.2628 0.2628 0.2628 26.29% MLMG::solve() 11 0.2601 0.2601 0.2601 26.02% Gravity::solve_for_phi() 10 0.247 0.247 0.247 24.71% MLMG::oneIter() 82 0.2452 0.2452 0.2452 24.52% MLMG::mgVcycle() 82 0.2415 0.2415 0.2415 24.15% Amr::checkPoint() 3 0.2084 0.2084 0.2084 20.84% VisMF::Write(FabArray) 11 0.2045 0.2045 0.2045 20.45% AmrLevel::checkPoint() 3 0.1491 0.1491 0.1491 14.91% StateData::checkPoint() 12 0.149 0.149 0.149 14.90% Amr::init() 1 0.135 0.135 0.135 13.50% MLCellLinOp::smooth() 1640 0.1179 0.1179 0.1179 11.79% MLCellLinOp::applyBC() 4433 0.1102 0.1102 0.1102 11.02% MLMG::mgVcycle_bottom 82 0.07566 0.07566 0.07566 7.57% MLMG::actualBottomSolve() 82 0.07563 0.07563 0.07563 7.56% MLCGSolver::bicgstab 82 0.0749 0.0749 0.0749 7.49% Amr::writePlotFile() 2 0.05806 0.05806 0.05806 5.81% Castro::clean_state() 62 0.05661 0.05661 0.05661 5.66% Amr::initialInit() 1 0.05403 0.05403 0.05403 5.40% Amr::FinalizeInit() 1 0.0491 0.0491 0.0491 4.91% AmrLevel::FillPatch() 41 0.0477 0.0477 0.0477 4.77% Castro::post_init() 1 0.04759 0.04759 0.04759 4.76% Gravity::multilevel_solve_for_new_phi() 1 0.04524 0.04524 0.04524 4.52% Gravity::actual_multilevel_solve() 1 0.04523 0.04523 0.04523 4.52% FillPatchIterator::Initialize 41 0.0435 0.0435 0.0435 4.35% FillPatchIterator::FillFromLevel0() 41 0.04175 0.04175 0.04175 4.18% FillPatchSingleLevel 41 0.0417 0.0417 0.0417 4.17% StateDataPhysBCFunct::() 41 0.03764 0.03764 0.03764 3.76% MLCellLinOp::apply() 1142 0.03697 0.03697 0.03697 3.70% MLMG::mgVcycle_down::0 82 0.03381 0.03381 0.03381 3.38% MLPoisson::Fsmooth() 3280 0.0331 0.0331 0.0331 3.31% FabArray::FillBoundary() 4023 0.0324 0.0324 0.0324 3.24% FillBoundary_nowait() 4023 0.0316 0.0316 0.0316 3.16% StateData::FillBoundary(geom) 328 0.02652 0.02652 0.02652 2.65% MLMG::mgVcycle_up::0 82 0.02562 0.02562 0.02562 2.56% Castro::computeTemp() 63 0.02305 0.02305 0.02305 2.30% MLCellLinOp::correctionResidual() 492 0.02251 0.02251 0.02251 2.25% amrex::Dot() 1114 0.02114 0.02114 0.02114 2.11% Castro::initialize_do_advance() 10 0.0207 0.0207 0.0207 2.07% Castro::normalize_species() 62 0.02046 0.02046 0.02046 2.05% MLMG:computeResOfCorrection() 410 0.01981 0.01981 0.01981 1.98% Castro::do_old_sources() 10 0.01912 0.01912 0.01912 1.91% Gravity::get_new_grav_vector() 11 0.0177 0.0177 0.0177 1.77% MLPoisson::define() 11 0.01708 0.01708 0.01708 1.71% MLMG::mgVcycle_down::1 82 0.01619 0.01619 0.01619 1.62% Castro::construct_old_gravity() 10 0.01531 0.01531 0.01531 1.53% Gravity::get_old_grav_vector() 10 0.01529 0.01529 0.01529 1.53% amrex::Copy() 1029 0.01515 0.01515 0.01515 1.52% MLMG::mgVcycle_down::2 82 0.01501 0.01501 0.01501 1.50% FabArray::norminf() 743 0.01474 0.01474 0.01474 1.47% MLMG::mgVcycle_down::3 82 0.01464 0.01464 0.01464 1.46% FabArray::ParallelCopy() 861 0.01453 0.01453 0.01453 1.45% MLMG::mgVcycle_down::4 82 0.01445 0.01445 0.01445 1.45% FabArray::ParallelCopy_nowait() 861 0.01427 0.01427 0.01427 1.43% Castro::do_new_sources() 10 0.01403 0.01403 0.01403 1.40% FabArray::setVal() 1144 0.01347 0.01347 0.01347 1.35% MLCGSolver::ParallelAllReduce 1514 0.01267 0.01267 0.01267 1.27% Castro::initialize_advance() 10 0.01262 0.01262 0.01262 1.26% MLMG::addInterpCorrection() 410 0.01205 0.01205 0.01205 1.20% MLCellLinOp::defineAuxData() 11 0.01179 0.01179 0.01179 1.18% MLMG::mgVcycle_up::1 82 0.01168 0.01168 0.01168 1.17% Castro::expand_state() 10 0.01167 0.01167 0.01167 1.17% MLMG::mgVcycle_up::4 82 0.01162 0.01162 0.01162 1.16% amrex::average_down 410 0.01144 0.01144 0.01144 1.14% Castro::enforce_min_density() 62 0.01142 0.01142 0.01142 1.14% MLMG::mgVcycle_up::2 82 0.0114 0.0114 0.0114 1.14% MLMG::mgVcycle_up::3 82 0.01116 0.01116 0.01116 1.12% Castro::post_timestep() 10 0.01107 0.01107 0.01107 1.11% MLPoisson::Fapply() 1142 0.01061 0.01061 0.01061 1.06% Gravity::fill_multipole_BCs() 11 0.009868 0.009868 0.009868 0.99% FabArray::Saxpy() 813 0.008447 0.008447 0.008447 0.84% FabArray::Xpay() 821 0.008257 0.008257 0.008257 0.83% MLCellLinOp::solutionResidual() 93 0.007501 0.007501 0.007501 0.75% Castro::reset_internal_energy(MultiFab) 63 0.006764 0.006764 0.006764 0.68% MLMG::computeResidual() 82 0.006232 0.006232 0.006232 0.62% Castro::estTimeStep() 21 0.006098 0.006098 0.006098 0.61% MLCellLinOp::defineBC() 11 0.005044 0.005044 0.005044 0.50% MLMG::prepareForSolve() 11 0.004975 0.004975 0.004975 0.50% Amr::InitializeInit() 1 0.004928 0.004928 0.004928 0.49% Amr::defBaseLevel() 1 0.004923 0.004923 0.004923 0.49% BndryData::define() 11 0.004817 0.004817 0.004817 0.48% FabArray::LinComb() 557 0.004668 0.004668 0.004668 0.47% amrex::Add() 164 0.004456 0.004456 0.004456 0.45% Castro::initData() 1 0.00424 0.00424 0.00424 0.42% Castro::construct_new_source() 50 0.003416 0.003416 0.003416 0.34% Castro::construct_new_gravity_source() 10 0.003346 0.003346 0.003346 0.33% Castro::construct_old_source() 50 0.002963 0.002963 0.002963 0.30% Castro::construct_old_gravity_source() 10 0.002943 0.002943 0.002943 0.29% Castro::computeNewDt() 9 0.00258 0.00258 0.00258 0.26% Castro::enforce_speed_limit() 62 0.002498 0.002498 0.002498 0.25% Castro::finalize_do_advance() 10 0.002476 0.002476 0.002476 0.25% MLMG::ResNormInf() 93 0.002163 0.002163 0.002163 0.22% check_for_negative_density() 10 0.001948 0.001948 0.001948 0.19% Castro::apply_source_to_state() 20 0.001863 0.001863 0.001863 0.19% Castro::reset_internal_energy(Fab) 504 0.00177 0.00177 0.00177 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001763 0.001763 0.001763 0.18% MLMG::getGradSolution() 11 0.001539 0.001539 0.001539 0.15% MLCellLinOp::compGrad() 11 0.001533 0.001533 0.001533 0.15% FabArray::setDomainBndry() 41 0.001533 0.001533 0.001533 0.15% FabArrayBase::getCPC() 1323 0.001451 0.001451 0.001451 0.15% MLCellLinOp::setLevelBC() 11 0.001448 0.001448 0.001448 0.14% FabArray::mult() 43 0.001363 0.001363 0.001363 0.14% MLMG::computeMLResidual() 11 0.001309 0.001309 0.001309 0.13% Castro::check_for_nan() 20 0.001279 0.001279 0.001279 0.13% MLPoisson::prepareForSolve() 11 0.001278 0.001278 0.001278 0.13% MLCellLinOp::prepareForSolve() 11 0.00127 0.00127 0.00127 0.13% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.13% Castro::post_regrid() 1 0.001201 0.001201 0.001201 0.12% Castro::computeInitialDt() 2 0.001098 0.001098 0.001098 0.11% Gravity::update_max_rhs() 11 0.001002 0.001002 0.001002 0.10% FabArrayBase::getFB() 4023 0.0007142 0.0007142 0.0007142 0.07% FabArrayBase::CPC::define() 454 0.0006785 0.0006785 0.0006785 0.07% Castro::finalize_advance() 10 0.0006033 0.0006033 0.0006033 0.06% Castro::Castro() 1 0.0005875 0.0005875 0.0005875 0.06% Amr::InitAmr() 1 0.0005029 0.0005029 0.0005029 0.05% Gravity::swapTimeLevels() 10 0.0004432 0.0004432 0.0004432 0.04% MultiFab::max() 11 0.0003374 0.0003374 0.0003374 0.03% MLMG::MLResNormInf() 11 0.0003281 0.0003281 0.0003281 0.03% Castro::buildMetrics() 1 0.0002754 0.0002754 0.0002754 0.03% MLLinOp::define() 11 0.0002261 0.0002261 0.0002261 0.02% MLMG::MLRhsNormInf() 11 0.0002232 0.0002232 0.0002232 0.02% MLLinOp::defineGrids() 11 0.000211 0.000211 0.000211 0.02% Castro::create_source_corrector() 10 0.000167 0.000167 0.000167 0.02% FabArrayBase::FB::FB() 56 9.438e-05 9.438e-05 9.438e-05 0.01% Castro::enforce_consistent_e() 1 7.108e-05 7.108e-05 7.108e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.192e-05 6.192e-05 6.192e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.564e-05 5.564e-05 5.564e-05 0.01% StateData::define() 4 4.477e-05 4.477e-05 4.477e-05 0.00% makeSFC 55 4.048e-05 4.048e-05 4.048e-05 0.00% Castro::initMFs() 1 3.796e-05 3.796e-05 3.796e-05 0.00% Castro::swap_state_time_levels() 10 3.662e-05 3.662e-05 3.662e-05 0.00% Amr::writeSmallPlotFile() 1 2.708e-05 2.708e-05 2.708e-05 0.00% DistributionMapping::Distribute() 56 1.811e-05 1.811e-05 1.811e-05 0.00% Amr::initSubcycle() 1 9.815e-06 9.815e-06 9.815e-06 0.00% AmrLevel::checkPointPost() 3 5.041e-06 5.041e-06 5.041e-06 0.00% Gravity::set_mass_offset() 11 4.739e-06 4.739e-06 4.739e-06 0.00% AmrLevel::checkPointPre() 3 4.472e-06 4.472e-06 4.472e-06 0.00% Castro::retry_advance_ctu() 10 4.447e-06 4.447e-06 4.447e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.373e-06 4.373e-06 4.373e-06 0.00% Castro::FluxRegCrseInit 10 2.86e-06 2.86e-06 2.86e-06 0.00% Castro::FluxRegFineAdd() 10 2.385e-06 2.385e-06 2.385e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.139e-06 2.139e-06 2.139e-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 83 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 143 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 927 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1636 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7615 KiB 14 MiB MLMG::prepareForSolve() 660 660 3200 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 184 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 156 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7524 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1932 B 2048 KiB Gravity::solve_for_phi() 80 80 505 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 292 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 186 KiB 671 KiB Castro::estTimeStep() 21 21 2973 B 480 KiB VisMF::Write(FabArray) 656 656 3073 B 320 KiB Castro::normalize_species() 62 62 6667 B 320 KiB amrex::average_down 1067 1067 1165 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1031 B 257 KiB amrex::Dot() 1360 1360 3118 B 160 KiB FabArray::norminf() 907 907 2183 B 160 KiB check_for_negative_density() 10 10 275 B 160 KiB Castro::initData() 1 1 47 B 160 KiB MultiFab::max() 11 11 52 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3125 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 270 B 9648 B MLCellLinOp::applyBC() 8866 8866 201 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3862 B 6144 B StateData::FillBoundary(geom) 1992 1992 38 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 109 B 1472 B MLCellLinOp::defineBC() 66 66 329 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 544 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 36 KiB 8192 KiB VisMF::Write(FabArray) 744 744 464 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3125 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 270 B 9648 B MLCellLinOp::applyBC() 4433 4433 200 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3862 B 6144 B Gravity::get_new_grav_vector() 3 3 2907 B 3072 B StateData::FillBoundary(geom) 1992 1992 38 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 266 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 22 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-4-gf3598d2f7b6b) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-4-gf3598d2f7b6b) initialized Starting run at 08:37:17 UTC on 2023-09-06. Successfully read inputs file ... Castro git describe: 23.09 AMReX git describe: 23.09-4-gf3598d2f7 Microphysics git describe: 23.08-19-gbb8d2a2b reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.526343403 Restart time = 0.050033851 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.05284981 [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.050197227 [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.074187862 [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.078452545 [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.06184612 [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.029649627 seconds Ending run at 08:37:17 UTC on 2023-09-06. Run time = 0.398213232 Run time without initialization = 0.347601388 Average number of zones advanced per microsecond: 3.771 Average number of zones advanced per microsecond per rank: 3.771 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3982 ... 0.3982 ... 0.3982 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1279 0.1279 0.1279 32.12% VisMF::Read() 3 0.03847 0.03847 0.03847 9.66% MLCellLinOp::applyBC() 1946 0.0339 0.0339 0.0339 8.51% VisMF::Write(FabArray) 1 0.02827 0.02827 0.02827 7.10% MLPoisson::Fsmooth() 1440 0.01431 0.01431 0.01431 3.59% StateData::FillBoundary(geom) 160 0.01286 0.01286 0.01286 3.23% FillBoundary_nowait() 1766 0.01284 0.01284 0.01284 3.22% Castro::normalize_species() 30 0.009659 0.009659 0.009659 2.43% amrex::Dot() 484 0.009119 0.009119 0.009119 2.29% amrex::Copy() 463 0.007262 0.007262 0.007262 1.82% Castro::computeTemp() 30 0.00678 0.00678 0.00678 1.70% FabArray::setVal() 537 0.00657 0.00657 0.00657 1.65% Castro::enforce_min_density() 30 0.006467 0.006467 0.006467 1.62% FabArray::norminf() 326 0.006431 0.006431 0.006431 1.61% FabArray::ParallelCopy_nowait() 380 0.00611 0.00611 0.00611 1.53% Gravity::fill_multipole_BCs() 6 0.005657 0.005657 0.005657 1.42% MLCellLinOp::defineAuxData() 6 0.005623 0.005623 0.005623 1.41% Amr::restart() 1 0.004837 0.004837 0.004837 1.21% StateDataPhysBCFunct::() 20 0.004729 0.004729 0.004729 1.19% MLPoisson::Fapply() 500 0.004614 0.004614 0.004614 1.16% FabArray::Saxpy() 355 0.003786 0.003786 0.003786 0.95% FabArray::Xpay() 361 0.003622 0.003622 0.003622 0.91% Castro::estTimeStep() 10 0.003075 0.003075 0.003075 0.77% MLMG::addInterpCorrection() 180 0.00307 0.00307 0.00307 0.77% amrex::average_down 180 0.002738 0.002738 0.002738 0.69% FabArray::LinComb() 242 0.00228 0.00228 0.00228 0.57% BndryData::define() 6 0.00212 0.00212 0.00212 0.53% Castro::reset_internal_energy(MultiFab) 30 0.002031 0.002031 0.002031 0.51% amrex::Add() 72 0.001891 0.001891 0.001891 0.47% Castro::construct_new_gravity_source() 5 0.001787 0.001787 0.001787 0.45% Castro::construct_old_gravity_source() 5 0.001277 0.001277 0.001277 0.32% Amr::writePlotFile() 1 0.001199 0.001199 0.001199 0.30% Castro::enforce_speed_limit() 30 0.001165 0.001165 0.001165 0.29% MLCGSolver::bicgstab 36 0.0009765 0.0009765 0.0009765 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009692 0.0009692 0.0009692 0.24% check_for_negative_density() 5 0.0009283 0.0009283 0.0009283 0.23% Castro::reset_internal_energy(Fab) 240 0.000832 0.000832 0.000832 0.21% Gravity::actual_solve_with_mlmg() 6 0.000832 0.000832 0.000832 0.21% MLCellLinOp::setLevelBC() 6 0.0007969 0.0007969 0.0007969 0.20% MLCellLinOp::prepareForSolve() 6 0.0007086 0.0007086 0.0007086 0.18% FabArray::setDomainBndry() 20 0.0006983 0.0006983 0.0006983 0.18% FabArray::mult() 22 0.0006944 0.0006944 0.0006944 0.17% MultiFab::contains_nan() 10 0.000658 0.000658 0.000658 0.17% MLCellLinOp::compGrad() 6 0.0005822 0.0005822 0.0005822 0.15% MLMG::prepareForSolve() 6 0.0005311 0.0005311 0.0005311 0.13% MLCellLinOp::smooth() 720 0.000487 0.000487 0.000487 0.12% FabArrayBase::CPC::define() 244 0.0004243 0.0004243 0.0004243 0.11% Amr::InitAmr() 1 0.0003995 0.0003995 0.0003995 0.10% FabArrayBase::getCPC() 632 0.0003724 0.0003724 0.0003724 0.09% FabArray::FillBoundary() 1766 0.0003616 0.0003616 0.0003616 0.09% Gravity::get_old_grav_vector() 5 0.0003175 0.0003175 0.0003175 0.08% FabArrayBase::getFB() 1766 0.0002681 0.0002681 0.0002681 0.07% Gravity::get_new_grav_vector() 5 0.0002603 0.0002603 0.0002603 0.07% main() 1 0.0002499 0.0002499 0.0002499 0.06% MultiFab::max() 6 0.0002044 0.0002044 0.0002044 0.05% MLCellLinOp::apply() 500 0.0001971 0.0001971 0.0001971 0.05% Amr::coarseTimeStep() 5 0.0001798 0.0001798 0.0001798 0.05% AmrLevel::FillPatch() 20 0.0001613 0.0001613 0.0001613 0.04% MLCGSolver::ParallelAllReduce 659 0.0001222 0.0001222 0.0001222 0.03% FabArray::ParallelCopy() 380 0.0001178 0.0001178 0.0001178 0.03% MLCellLinOp::defineBC() 6 0.0001108 0.0001108 0.0001108 0.03% FillPatchIterator::Initialize 20 0.000104 0.000104 0.000104 0.03% Castro::create_source_corrector() 5 9.938e-05 9.938e-05 9.938e-05 0.02% MLCellLinOp::correctionResidual() 216 9.815e-05 9.815e-05 9.815e-05 0.02% Castro::subcycle_advance_ctu() 5 9.661e-05 9.661e-05 9.661e-05 0.02% MLMG::mgVcycle() 36 8.871e-05 8.871e-05 8.871e-05 0.02% MLLinOp::defineGrids() 6 8.426e-05 8.426e-05 8.426e-05 0.02% Amr::timeStep() 5 8.013e-05 8.013e-05 8.013e-05 0.02% Gravity::solve_for_phi() 5 7.654e-05 7.654e-05 7.654e-05 0.02% AmrLevel::restart() 1 7.552e-05 7.552e-05 7.552e-05 0.02% Castro::finalize_do_advance() 5 6.425e-05 6.425e-05 6.425e-05 0.02% Gravity::update_max_rhs() 6 6.36e-05 6.36e-05 6.36e-05 0.02% StateData::restartDoit() 4 6.156e-05 6.156e-05 6.156e-05 0.02% Castro::initialize_do_advance() 5 6.06e-05 6.06e-05 6.06e-05 0.02% FabArrayBase::FB::FB() 26 5.839e-05 5.839e-05 5.839e-05 0.01% Castro::advance() 5 5.202e-05 5.202e-05 5.202e-05 0.01% MLMG:computeResOfCorrection() 180 4.849e-05 4.849e-05 4.849e-05 0.01% Castro::construct_new_source() 25 4.464e-05 4.464e-05 4.464e-05 0.01% Castro::do_advance_ctu() 5 4.327e-05 4.327e-05 4.327e-05 0.01% Castro::clean_state() 30 4.315e-05 4.315e-05 4.315e-05 0.01% MLMG::actualBottomSolve() 36 4.314e-05 4.314e-05 4.314e-05 0.01% MLMG::mgVcycle_down::0 36 3.808e-05 3.808e-05 3.808e-05 0.01% Castro::initialize_advance() 5 3.67e-05 3.67e-05 3.67e-05 0.01% MLMG::mgVcycle_down::1 36 3.578e-05 3.578e-05 3.578e-05 0.01% MLMG::solve() 6 3.489e-05 3.489e-05 3.489e-05 0.01% MLMG::mgVcycle_down::2 36 3.392e-05 3.392e-05 3.392e-05 0.01% Castro::post_timestep() 5 3.296e-05 3.296e-05 3.296e-05 0.01% MLMG::mgVcycle_down::4 36 3.285e-05 3.285e-05 3.285e-05 0.01% MLMG::mgVcycle_down::3 36 3.193e-05 3.193e-05 3.193e-05 0.01% MLMG::mgVcycle_up::4 36 2.912e-05 2.912e-05 2.912e-05 0.01% Castro::finalize_advance() 5 2.873e-05 2.873e-05 2.873e-05 0.01% Amr::writeSmallPlotFile() 1 2.839e-05 2.839e-05 2.839e-05 0.01% Castro::do_new_sources() 5 2.808e-05 2.808e-05 2.808e-05 0.01% Castro::construct_old_source() 25 2.799e-05 2.799e-05 2.799e-05 0.01% Castro::post_restart() 1 2.753e-05 2.753e-05 2.753e-05 0.01% Castro::buildMetrics() 1 2.604e-05 2.604e-05 2.604e-05 0.01% Castro::swap_state_time_levels() 5 2.445e-05 2.445e-05 2.445e-05 0.01% Castro::initMFs() 1 2.422e-05 2.422e-05 2.422e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.376e-05 2.376e-05 2.376e-05 0.01% MLMG::mgVcycle_up::0 36 2.352e-05 2.352e-05 2.352e-05 0.01% MLCellLinOp::solutionResidual() 42 2.343e-05 2.343e-05 2.343e-05 0.01% MLMG::oneIter() 36 2.329e-05 2.329e-05 2.329e-05 0.01% MLMG::mgVcycle_up::3 36 2.283e-05 2.283e-05 2.283e-05 0.01% MLMG::mgVcycle_up::2 36 2.203e-05 2.203e-05 2.203e-05 0.01% MLMG::mgVcycle_up::1 36 2.078e-05 2.078e-05 2.078e-05 0.01% MLMG::ResNormInf() 42 1.648e-05 1.648e-05 1.648e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.59e-05 1.59e-05 1.59e-05 0.00% FillPatchSingleLevel 20 1.557e-05 1.557e-05 1.557e-05 0.00% MLMG::mgVcycle_bottom 36 1.464e-05 1.464e-05 1.464e-05 0.00% MLPoisson::define() 6 1.432e-05 1.432e-05 1.432e-05 0.00% MLMG::computeResidual() 36 1.379e-05 1.379e-05 1.379e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.379e-05 1.379e-05 1.379e-05 0.00% Castro::construct_new_gravity() 5 1.354e-05 1.354e-05 1.354e-05 0.00% makeSFC 30 1.341e-05 1.341e-05 1.341e-05 0.00% Castro::do_old_sources() 5 1.109e-05 1.109e-05 1.109e-05 0.00% MLLinOp::define() 6 9.808e-06 9.808e-06 9.808e-06 0.00% DistributionMapping::Distribute() 31 9.773e-06 9.773e-06 9.773e-06 0.00% Amr::initSubcycle() 1 9.717e-06 9.717e-06 9.717e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 9.384e-06 9.384e-06 9.384e-06 0.00% MLMG::getGradSolution() 6 8.557e-06 8.557e-06 8.557e-06 0.00% Gravity::actual_multilevel_solve() 1 8.114e-06 8.114e-06 8.114e-06 0.00% Castro::check_for_nan() 10 6.849e-06 6.849e-06 6.849e-06 0.00% Castro::construct_old_gravity() 5 6.144e-06 6.144e-06 6.144e-06 0.00% Castro::apply_source_to_state() 10 5.919e-06 5.919e-06 5.919e-06 0.00% Gravity::swapTimeLevels() 5 4.807e-06 4.807e-06 4.807e-06 0.00% MLMG::computeMLResidual() 6 3.992e-06 3.992e-06 3.992e-06 0.00% MLPoisson::prepareForSolve() 6 3.989e-06 3.989e-06 3.989e-06 0.00% Castro::computeNewDt() 5 3.785e-06 3.785e-06 3.785e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.955e-06 2.955e-06 2.955e-06 0.00% Castro::expand_state() 5 2.597e-06 2.597e-06 2.597e-06 0.00% Castro::retry_advance_ctu() 5 2.491e-06 2.491e-06 2.491e-06 0.00% MLMG::MLResNormInf() 6 2.339e-06 2.339e-06 2.339e-06 0.00% MLMG::MLRhsNormInf() 6 2.274e-06 2.274e-06 2.274e-06 0.00% Gravity::set_mass_offset() 6 2.037e-06 2.037e-06 2.037e-06 0.00% Castro::FluxRegCrseInit 5 1.488e-06 1.488e-06 1.488e-06 0.00% Castro::FluxRegFineAdd() 5 1.279e-06 1.279e-06 1.279e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.121e-06 1.121e-06 1.121e-06 0.00% Amr::init() 1 9.27e-07 9.27e-07 9.27e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3982 0.3982 0.3982 100.00% Amr::coarseTimeStep() 5 0.3177 0.3177 0.3177 79.78% Amr::timeStep() 5 0.3156 0.3156 0.3156 79.25% Castro::advance() 5 0.3104 0.3104 0.3104 77.94% Castro::subcycle_advance_ctu() 5 0.3029 0.3029 0.3029 76.06% Castro::do_advance_ctu() 5 0.3028 0.3028 0.3028 76.03% Castro::construct_ctu_hydro_source() 5 0.1334 0.1334 0.1334 33.50% Castro::construct_new_gravity() 5 0.1331 0.1331 0.1331 33.42% Gravity::solve_phi_with_mlmg() 6 0.1312 0.1312 0.1312 32.94% Gravity::solve_for_phi() 5 0.1255 0.1255 0.1255 31.52% Gravity::actual_solve_with_mlmg() 6 0.1253 0.1253 0.1253 31.46% MLMG::solve() 6 0.1134 0.1134 0.1134 28.48% MLMG::oneIter() 36 0.106 0.106 0.106 26.63% MLMG::mgVcycle() 36 0.1045 0.1045 0.1045 26.24% MLCellLinOp::smooth() 720 0.05062 0.05062 0.05062 12.71% Amr::init() 1 0.0501 0.0501 0.0501 12.58% Amr::restart() 1 0.0501 0.0501 0.0501 12.58% MLCellLinOp::applyBC() 1946 0.04742 0.04742 0.04742 11.91% AmrLevel::restart() 1 0.03882 0.03882 0.03882 9.75% StateData::restartDoit() 4 0.03873 0.03873 0.03873 9.73% VisMF::Read() 3 0.03847 0.03847 0.03847 9.66% MLMG::mgVcycle_bottom 36 0.03294 0.03294 0.03294 8.27% MLMG::actualBottomSolve() 36 0.03292 0.03292 0.03292 8.27% MLCGSolver::bicgstab 36 0.03261 0.03261 0.03261 8.19% Amr::writePlotFile() 1 0.02973 0.02973 0.02973 7.47% VisMF::Write(FabArray) 1 0.02827 0.02827 0.02827 7.10% Castro::clean_state() 30 0.02698 0.02698 0.02698 6.77% AmrLevel::FillPatch() 20 0.02251 0.02251 0.02251 5.65% FillPatchIterator::Initialize 20 0.02046 0.02046 0.02046 5.14% FillPatchIterator::FillFromLevel0() 20 0.01966 0.01966 0.01966 4.94% FillPatchSingleLevel 20 0.01963 0.01963 0.01963 4.93% StateDataPhysBCFunct::() 20 0.01759 0.01759 0.01759 4.42% MLCellLinOp::apply() 500 0.01614 0.01614 0.01614 4.05% MLMG::mgVcycle_down::0 36 0.01458 0.01458 0.01458 3.66% MLPoisson::Fsmooth() 1440 0.01431 0.01431 0.01431 3.59% FabArray::FillBoundary() 1766 0.01353 0.01353 0.01353 3.40% FillBoundary_nowait() 1766 0.01317 0.01317 0.01317 3.31% StateData::FillBoundary(geom) 160 0.01286 0.01286 0.01286 3.23% MLMG::mgVcycle_up::0 36 0.01084 0.01084 0.01084 2.72% Castro::initialize_do_advance() 5 0.01076 0.01076 0.01076 2.70% MLCellLinOp::correctionResidual() 216 0.00974 0.00974 0.00974 2.45% Castro::normalize_species() 30 0.009659 0.009659 0.009659 2.43% Castro::computeTemp() 30 0.009644 0.009644 0.009644 2.42% MLPoisson::define() 6 0.009366 0.009366 0.009366 2.35% amrex::Dot() 484 0.009119 0.009119 0.009119 2.29% Castro::do_old_sources() 5 0.008808 0.008808 0.008808 2.21% MLMG:computeResOfCorrection() 180 0.008553 0.008553 0.008553 2.15% Castro::construct_old_gravity() 5 0.007842 0.007842 0.007842 1.97% Gravity::get_old_grav_vector() 5 0.007835 0.007835 0.007835 1.97% Gravity::get_new_grav_vector() 5 0.007445 0.007445 0.007445 1.87% amrex::Copy() 463 0.007262 0.007262 0.007262 1.82% Castro::do_new_sources() 5 0.007164 0.007164 0.007164 1.80% Castro::initialize_advance() 5 0.007144 0.007144 0.007144 1.79% MLMG::mgVcycle_down::1 36 0.007067 0.007067 0.007067 1.77% FabArray::ParallelCopy() 380 0.006622 0.006622 0.006622 1.66% FabArray::setVal() 537 0.00657 0.00657 0.00657 1.65% FabArray::ParallelCopy_nowait() 380 0.006504 0.006504 0.006504 1.63% MLMG::mgVcycle_down::2 36 0.006488 0.006488 0.006488 1.63% Castro::enforce_min_density() 30 0.006467 0.006467 0.006467 1.62% FabArray::norminf() 326 0.006431 0.006431 0.006431 1.61% MLCellLinOp::defineAuxData() 6 0.006424 0.006424 0.006424 1.61% MLMG::mgVcycle_down::3 36 0.006327 0.006327 0.006327 1.59% Castro::post_restart() 1 0.006274 0.006274 0.006274 1.58% MLMG::mgVcycle_down::4 36 0.006245 0.006245 0.006245 1.57% Gravity::multilevel_solve_for_new_phi() 1 0.005907 0.005907 0.005907 1.48% Gravity::actual_multilevel_solve() 1 0.005891 0.005891 0.005891 1.48% Castro::expand_state() 5 0.005867 0.005867 0.005867 1.47% Gravity::fill_multipole_BCs() 6 0.00579 0.00579 0.00579 1.45% MLCGSolver::ParallelAllReduce 659 0.005497 0.005497 0.005497 1.38% MLMG::addInterpCorrection() 180 0.005344 0.005344 0.005344 1.34% Castro::post_timestep() 5 0.005123 0.005123 0.005123 1.29% MLMG::mgVcycle_up::4 36 0.005094 0.005094 0.005094 1.28% amrex::average_down 180 0.005058 0.005058 0.005058 1.27% MLMG::mgVcycle_up::1 36 0.005022 0.005022 0.005022 1.26% MLMG::mgVcycle_up::2 36 0.004949 0.004949 0.004949 1.24% MLMG::mgVcycle_up::3 36 0.004867 0.004867 0.004867 1.22% MLPoisson::Fapply() 500 0.004614 0.004614 0.004614 1.16% FabArray::Saxpy() 355 0.003786 0.003786 0.003786 0.95% FabArray::Xpay() 361 0.003622 0.003622 0.003622 0.91% MLCellLinOp::solutionResidual() 42 0.003462 0.003462 0.003462 0.87% Castro::estTimeStep() 10 0.003075 0.003075 0.003075 0.77% Castro::reset_internal_energy(MultiFab) 30 0.002863 0.002863 0.002863 0.72% MLCellLinOp::defineBC() 6 0.002802 0.002802 0.002802 0.70% MLMG::prepareForSolve() 6 0.002748 0.002748 0.002748 0.69% MLMG::computeResidual() 36 0.002712 0.002712 0.002712 0.68% BndryData::define() 6 0.002691 0.002691 0.002691 0.68% FabArray::LinComb() 242 0.00228 0.00228 0.00228 0.57% Castro::computeNewDt() 5 0.001935 0.001935 0.001935 0.49% amrex::Add() 72 0.001891 0.001891 0.001891 0.47% Castro::construct_new_source() 25 0.001832 0.001832 0.001832 0.46% Castro::construct_new_gravity_source() 5 0.001787 0.001787 0.001787 0.45% Castro::construct_old_source() 25 0.001305 0.001305 0.001305 0.33% Castro::construct_old_gravity_source() 5 0.001277 0.001277 0.001277 0.32% Castro::finalize_do_advance() 5 0.001207 0.001207 0.001207 0.30% Castro::enforce_speed_limit() 30 0.001165 0.001165 0.001165 0.29% MLMG::ResNormInf() 42 0.0009868 0.0009868 0.0009868 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009692 0.0009692 0.0009692 0.24% Castro::apply_source_to_state() 10 0.0009585 0.0009585 0.0009585 0.24% check_for_negative_density() 5 0.0009283 0.0009283 0.0009283 0.23% MLMG::getGradSolution() 6 0.0008642 0.0008642 0.0008642 0.22% MLCellLinOp::compGrad() 6 0.0008557 0.0008557 0.0008557 0.21% Castro::reset_internal_energy(Fab) 240 0.000832 0.000832 0.000832 0.21% MLCellLinOp::setLevelBC() 6 0.0007969 0.0007969 0.0007969 0.20% FabArrayBase::getCPC() 632 0.0007967 0.0007967 0.0007967 0.20% MLMG::computeMLResidual() 6 0.0007681 0.0007681 0.0007681 0.19% MLPoisson::prepareForSolve() 6 0.0007126 0.0007126 0.0007126 0.18% Gravity::update_max_rhs() 6 0.0007126 0.0007126 0.0007126 0.18% MLCellLinOp::prepareForSolve() 6 0.0007086 0.0007086 0.0007086 0.18% FabArray::setDomainBndry() 20 0.0006983 0.0006983 0.0006983 0.18% FabArray::mult() 22 0.0006944 0.0006944 0.0006944 0.17% Castro::check_for_nan() 10 0.0006648 0.0006648 0.0006648 0.17% MultiFab::contains_nan() 10 0.000658 0.000658 0.000658 0.17% FabArrayBase::CPC::define() 244 0.0004243 0.0004243 0.0004243 0.11% Amr::InitAmr() 1 0.0004092 0.0004092 0.0004092 0.10% FabArrayBase::getFB() 1766 0.0003264 0.0003264 0.0003264 0.08% Castro::finalize_advance() 5 0.0002967 0.0002967 0.0002967 0.07% Gravity::swapTimeLevels() 5 0.0002354 0.0002354 0.0002354 0.06% MultiFab::max() 6 0.0002044 0.0002044 0.0002044 0.05% MLMG::MLResNormInf() 6 0.0001867 0.0001867 0.0001867 0.05% Castro::buildMetrics() 1 0.0001469 0.0001469 0.0001469 0.04% MLLinOp::define() 6 0.0001259 0.0001259 0.0001259 0.03% MLMG::MLRhsNormInf() 6 0.0001188 0.0001188 0.0001188 0.03% MLLinOp::defineGrids() 6 0.0001161 0.0001161 0.0001161 0.03% Castro::create_source_corrector() 5 9.938e-05 9.938e-05 9.938e-05 0.02% FabArrayBase::FB::FB() 26 5.839e-05 5.839e-05 5.839e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.068e-05 3.068e-05 3.068e-05 0.01% Amr::writeSmallPlotFile() 1 2.839e-05 2.839e-05 2.839e-05 0.01% Castro::swap_state_time_levels() 5 2.445e-05 2.445e-05 2.445e-05 0.01% Castro::initMFs() 1 2.422e-05 2.422e-05 2.422e-05 0.01% makeSFC 30 2.129e-05 2.129e-05 2.129e-05 0.01% DistributionMapping::Distribute() 31 9.773e-06 9.773e-06 9.773e-06 0.00% Amr::initSubcycle() 1 9.717e-06 9.717e-06 9.717e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.844e-06 4.844e-06 4.844e-06 0.00% Castro::retry_advance_ctu() 5 2.491e-06 2.491e-06 2.491e-06 0.00% Gravity::set_mass_offset() 6 2.037e-06 2.037e-06 2.037e-06 0.00% Castro::FluxRegCrseInit 5 1.488e-06 1.488e-06 1.488e-06 0.00% Castro::FluxRegFineAdd() 5 1.279e-06 1.279e-06 1.279e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.121e-06 1.121e-06 1.121e-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 210 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 149 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1125 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2096 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6734 KiB 14 MiB MLMG::prepareForSolve() 361 361 3495 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 203 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 191 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6720 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3558 B 2048 KiB Gravity::solve_for_phi() 40 40 644 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 30 KiB 2048 KiB BndryData::define() 576 576 322 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 207 KiB 671 KiB Castro::estTimeStep() 10 10 3707 B 480 KiB VisMF::Write(FabArray) 112 112 1392 B 320 KiB Castro::normalize_species() 30 30 7893 B 320 KiB amrex::average_down 469 469 1257 B 257 KiB MLMG::addInterpCorrection() 468 468 1140 B 257 KiB amrex::Dot() 592 592 3369 B 160 KiB FabArray::norminf() 398 398 2380 B 160 KiB check_for_negative_density() 5 5 373 B 160 KiB MultiFab::max() 6 6 80 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3389 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 3892 3892 221 B 9344 B amrex::Copy() 56 56 5939 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 119 B 1472 B MLCellLinOp::defineBC() 36 36 361 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1241 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 89 KiB 8192 KiB VisMF::Write(FabArray) 120 120 205 KiB 3584 KiB VisMF::Read() 24 24 187 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3389 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 1946 1946 220 B 9328 B amrex::Copy() 56 56 5939 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2637 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 43 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 529 B 1296 B amrex::average_down 37 37 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-4-gf3598d2f7b6b) finalized