Initializing AMReX (24.02-34-g3525b4a3f27e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-34-g3525b4a3f27e) initialized Starting run at 10:15:35 UTC on 2024-03-04. Successfully read inputs file ... Castro git describe: 24.02-27-g465a83f5a AMReX git describe: 24.02-34-g3525b4a3f Microphysics git describe: 24.03-1-gce331bc8 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.046072847 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025244998 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.065070356 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.051150356 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.083618463 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.077662649 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.050442229 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.045758274 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.050880743 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.077269175 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.075327214 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.067023925 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.069172106 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.043813138 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025322461 seconds Ending run at 10:15:36 UTC on 2024-03-04. Run time = 0.907028016 Run time without initialization = 0.783217244 Average number of zones advanced per microsecond: 3.347 Average number of zones advanced per microsecond per rank: 3.347 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9071 ... 0.9071 ... 0.9071 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2853 0.2853 0.2853 31.45% VisMF::Write(FabArray) 11 0.1777 0.1777 0.1777 19.60% MLCellLinOp::applyBC() 4298 0.08049 0.08049 0.08049 8.87% MLPoisson::Fsmooth() 3240 0.03346 0.03346 0.03346 3.69% FillBoundary_nowait() 3893 0.03068 0.03068 0.03068 3.38% StateData::FillBoundary(geom) 328 0.02669 0.02669 0.02669 2.94% Castro::normalize_species() 62 0.02188 0.02188 0.02188 2.41% amrex::Dot() 1100 0.02127 0.02127 0.02127 2.34% FabArray::norminf() 1048 0.01987 0.01987 0.01987 2.19% Castro::computeTemp() 63 0.01515 0.01515 0.01515 1.67% FabArray::ParallelCopy_nowait() 851 0.01372 0.01372 0.01372 1.51% FabArray::setVal() 1054 0.01354 0.01354 0.01354 1.49% FabArray::Saxpy() 1353 0.01318 0.01318 0.01318 1.45% StateDataPhysBCFunct::() 41 0.01158 0.01158 0.01158 1.28% amrex::Copy() 469 0.0109 0.0109 0.0109 1.20% MLCellLinOp::defineAuxData() 11 0.0106 0.0106 0.0106 1.17% Castro::enforce_min_density() 62 0.01048 0.01048 0.01048 1.16% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 1.14% Gravity::fill_multipole_BCs() 11 0.00928 0.00928 0.00928 1.02% FabArray::Xpay() 730 0.007894 0.007894 0.007894 0.87% MLMG::addInterpCorrection() 405 0.007108 0.007108 0.007108 0.78% amrex::average_down 405 0.006278 0.006278 0.006278 0.69% Amr::checkPoint() 3 0.005903 0.005903 0.005903 0.65% Castro::estTimeStep() 21 0.005338 0.005338 0.005338 0.59% Castro::reset_internal_energy(MultiFab) 63 0.00523 0.00523 0.00523 0.58% Castro::enforce_speed_limit() 62 0.004707 0.004707 0.004707 0.52% BndryData::define() 11 0.004109 0.004109 0.004109 0.45% amrex::Add() 81 0.003594 0.003594 0.003594 0.40% Castro::construct_new_gravity_source() 10 0.003483 0.003483 0.003483 0.38% Castro::construct_old_gravity_source() 10 0.002969 0.002969 0.002969 0.33% Amr::writePlotFile() 2 0.002064 0.002064 0.002064 0.23% check_for_negative_density() 10 0.001867 0.001867 0.001867 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00185 0.00185 0.00185 0.20% Castro::reset_internal_energy(Fab) 504 0.001668 0.001668 0.001668 0.18% MLCellLinOp::setLevelBC() 11 0.00161 0.00161 0.00161 0.18% Gravity::actual_solve_with_mlmg() 11 0.001602 0.001602 0.001602 0.18% MLCGSolver::bicgstab 81 0.001593 0.001593 0.001593 0.18% Castro::initData() 1 0.001558 0.001558 0.001558 0.17% FabArray::setDomainBndry() 41 0.001411 0.001411 0.001411 0.16% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLCellLinOp::prepareForSolve() 11 0.001371 0.001371 0.001371 0.15% MultiFab::contains_nan() 20 0.001297 0.001297 0.001297 0.14% MLCellLinOp::compGrad() 11 0.001106 0.001106 0.001106 0.12% MLCellLinOp::smooth() 1620 0.001074 0.001074 0.001074 0.12% MLMG::prepareForSolve() 11 0.001029 0.001029 0.001029 0.11% FabArray::FillBoundary() 3893 0.0008177 0.0008177 0.0008177 0.09% FabArrayBase::getCPC() 1313 0.000814 0.000814 0.000814 0.09% FabArrayBase::CPC::define() 454 0.0006869 0.0006869 0.0006869 0.08% FabArrayBase::getFB() 3893 0.0006536 0.0006536 0.0006536 0.07% Gravity::get_new_grav_vector() 11 0.00062 0.00062 0.00062 0.07% Amr::InitAmr() 1 0.0005559 0.0005559 0.0005559 0.06% Gravity::get_old_grav_vector() 10 0.0004888 0.0004888 0.0004888 0.05% MLCellLinOp::apply() 1047 0.0004385 0.0004385 0.0004385 0.05% AmrLevel::FillPatch() 41 0.0004074 0.0004074 0.0004074 0.04% Amr::coarseTimeStep() 10 0.0003872 0.0003872 0.0003872 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003537 0.0003537 0.0003537 0.04% MultiFab::max() 11 0.0003343 0.0003343 0.0003343 0.04% main() 1 0.0003252 0.0003252 0.0003252 0.04% MLCellLinOp::defineBC() 11 0.0002878 0.0002878 0.0002878 0.03% FabArray::ParallelCopy() 851 0.0002554 0.0002554 0.0002554 0.03% FillPatchIterator::Initialize 41 0.0002174 0.0002174 0.0002174 0.02% MLMG::mgVcycle() 81 0.000189 0.000189 0.000189 0.02% Castro::create_source_corrector() 10 0.0001794 0.0001794 0.0001794 0.02% MLLinOp::defineGrids() 11 0.0001736 0.0001736 0.0001736 0.02% Amr::timeStep() 10 0.0001698 0.0001698 0.0001698 0.02% Castro::subcycle_advance_ctu() 10 0.0001667 0.0001667 0.0001667 0.02% MLCellLinOp::correctionResidual() 405 0.0001662 0.0001662 0.0001662 0.02% StateData::checkPoint() 12 0.0001376 0.0001376 0.0001376 0.02% Gravity::update_max_rhs() 11 0.0001292 0.0001292 0.0001292 0.01% Gravity::solve_for_phi() 10 0.0001238 0.0001238 0.0001238 0.01% MLMG:computeResOfCorrection() 405 0.000122 0.000122 0.000122 0.01% Castro::construct_new_source() 50 9.911e-05 9.911e-05 9.911e-05 0.01% FabArrayBase::FB::FB() 56 9.347e-05 9.347e-05 9.347e-05 0.01% Castro::Castro() 1 9.279e-05 9.279e-05 9.279e-05 0.01% MLMG::actualBottomSolve() 81 9.035e-05 9.035e-05 9.035e-05 0.01% MLMG::mgVcycle_down::0 81 8.373e-05 8.373e-05 8.373e-05 0.01% Castro::clean_state() 62 8.224e-05 8.224e-05 8.224e-05 0.01% MLMG::mgVcycle_down::1 81 8.003e-05 8.003e-05 8.003e-05 0.01% MLMG::mgVcycle_down::2 81 7.707e-05 7.707e-05 7.707e-05 0.01% Castro::initialize_advance() 10 7.663e-05 7.663e-05 7.663e-05 0.01% AmrLevel::checkPoint() 3 7.641e-05 7.641e-05 7.641e-05 0.01% MLMG::mgVcycle_down::4 81 7.509e-05 7.509e-05 7.509e-05 0.01% MLMG::mgVcycle_down::3 81 7.182e-05 7.182e-05 7.182e-05 0.01% MLMG::solve() 11 7.136e-05 7.136e-05 7.136e-05 0.01% Castro::enforce_consistent_e() 1 6.775e-05 6.775e-05 6.775e-05 0.01% Castro::advance() 10 6.683e-05 6.683e-05 6.683e-05 0.01% Castro::finalize_advance() 10 6.625e-05 6.625e-05 6.625e-05 0.01% Castro::initialize_do_advance() 10 6.287e-05 6.287e-05 6.287e-05 0.01% MLMG::mgVcycle_up::4 81 5.703e-05 5.703e-05 5.703e-05 0.01% Castro::do_advance_ctu() 10 5.224e-05 5.224e-05 5.224e-05 0.01% MLMG::oneIter() 81 5.117e-05 5.117e-05 5.117e-05 0.01% MLMG::mgVcycle_up::3 81 4.94e-05 4.94e-05 4.94e-05 0.01% MLMG::mgVcycle_up::0 81 4.936e-05 4.936e-05 4.936e-05 0.01% MLCellLinOp::solutionResidual() 92 4.861e-05 4.861e-05 4.861e-05 0.01% MLMG::mgVcycle_up::1 81 4.768e-05 4.768e-05 4.768e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.712e-05 4.712e-05 4.712e-05 0.01% MLMG::mgVcycle_up::2 81 4.683e-05 4.683e-05 4.683e-05 0.01% Castro::finalize_do_advance() 10 4.489e-05 4.489e-05 4.489e-05 0.00% Castro::do_new_sources() 10 4.387e-05 4.387e-05 4.387e-05 0.00% Castro::swap_state_time_levels() 10 4.159e-05 4.159e-05 4.159e-05 0.00% Castro::post_timestep() 10 3.847e-05 3.847e-05 3.847e-05 0.00% StateData::define() 4 3.834e-05 3.834e-05 3.834e-05 0.00% Castro::initMFs() 1 3.601e-05 3.601e-05 3.601e-05 0.00% MLMG::ResNormInf() 92 3.563e-05 3.563e-05 3.563e-05 0.00% MLMG::computeResidual() 81 3.483e-05 3.483e-05 3.483e-05 0.00% FillPatchSingleLevel 41 3.413e-05 3.413e-05 3.413e-05 0.00% MLMG::mgVcycle_bottom 81 3.299e-05 3.299e-05 3.299e-05 0.00% Amr::writeSmallPlotFile() 1 3.252e-05 3.252e-05 3.252e-05 0.00% Castro::construct_new_gravity() 10 2.893e-05 2.893e-05 2.893e-05 0.00% makeSFC 55 2.702e-05 2.702e-05 2.702e-05 0.00% Castro::buildMetrics() 1 2.488e-05 2.488e-05 2.488e-05 0.00% Amr::defBaseLevel() 1 2.37e-05 2.37e-05 2.37e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.315e-05 2.315e-05 2.315e-05 0.00% Castro::do_old_sources() 10 2.219e-05 2.219e-05 2.219e-05 0.00% MLPoisson::define() 11 2.047e-05 2.047e-05 2.047e-05 0.00% Amr::FinalizeInit() 1 2.027e-05 2.027e-05 2.027e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.928e-05 1.928e-05 1.928e-05 0.00% Castro::construct_old_source() 50 1.914e-05 1.914e-05 1.914e-05 0.00% DistributionMapping::Distribute() 56 1.676e-05 1.676e-05 1.676e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.535e-05 1.535e-05 1.535e-05 0.00% MLLinOp::define() 11 1.494e-05 1.494e-05 1.494e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.467e-05 1.467e-05 1.467e-05 0.00% MLPoisson::prepareForSolve() 11 1.456e-05 1.456e-05 1.456e-05 0.00% Castro::construct_old_gravity() 10 1.272e-05 1.272e-05 1.272e-05 0.00% Castro::check_for_nan() 20 1.204e-05 1.204e-05 1.204e-05 0.00% Castro::apply_source_to_state() 20 1.174e-05 1.174e-05 1.174e-05 0.00% Amr::initSubcycle() 1 1.121e-05 1.121e-05 1.121e-05 0.00% MLMG::computeMLResidual() 11 1.041e-05 1.041e-05 1.041e-05 0.00% Castro::post_init() 1 9.148e-06 9.148e-06 9.148e-06 0.00% Gravity::swapTimeLevels() 10 8.734e-06 8.734e-06 8.734e-06 0.00% Gravity::actual_multilevel_solve() 1 8.131e-06 8.131e-06 8.131e-06 0.00% Castro::FluxRegFineAdd() 10 6.735e-06 6.735e-06 6.735e-06 0.00% MLMG::getGradSolution() 11 6.497e-06 6.497e-06 6.497e-06 0.00% Castro::computeNewDt() 9 6.463e-06 6.463e-06 6.463e-06 0.00% Castro::expand_state() 10 5.968e-06 5.968e-06 5.968e-06 0.00% AmrLevel::checkPointPost() 3 4.761e-06 4.761e-06 4.761e-06 0.00% Castro::retry_advance_ctu() 10 4.523e-06 4.523e-06 4.523e-06 0.00% Amr::InitializeInit() 1 4.384e-06 4.384e-06 4.384e-06 0.00% MLMG::MLResNormInf() 11 4.222e-06 4.222e-06 4.222e-06 0.00% MLMG::MLRhsNormInf() 11 4.072e-06 4.072e-06 4.072e-06 0.00% Gravity::set_mass_offset() 11 4.017e-06 4.017e-06 4.017e-06 0.00% Castro::FluxRegCrseInit 10 3.196e-06 3.196e-06 3.196e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.193e-06 3.193e-06 3.193e-06 0.00% Castro::computeInitialDt() 2 2.944e-06 2.944e-06 2.944e-06 0.00% AmrLevel::checkPointPre() 3 2.881e-06 2.881e-06 2.881e-06 0.00% Amr::init() 1 2.361e-06 2.361e-06 2.361e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.073e-06 2.073e-06 2.073e-06 0.00% Castro::post_regrid() 1 1.236e-06 1.236e-06 1.236e-06 0.00% Amr::initialInit() 1 1.047e-06 1.047e-06 1.047e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.907 0.907 0.907 100.00% Amr::coarseTimeStep() 10 0.7577 0.7577 0.7577 83.53% Amr::timeStep() 10 0.6644 0.6644 0.6644 73.25% Castro::advance() 10 0.6526 0.6526 0.6526 71.95% Castro::subcycle_advance_ctu() 10 0.6387 0.6387 0.6387 70.41% Castro::do_advance_ctu() 10 0.6385 0.6385 0.6385 70.39% Castro::construct_ctu_hydro_source() 10 0.2961 0.2961 0.2961 32.64% Gravity::solve_phi_with_mlmg() 11 0.2948 0.2948 0.2948 32.50% Gravity::actual_solve_with_mlmg() 11 0.2851 0.2851 0.2851 31.43% Castro::construct_new_gravity() 10 0.2688 0.2688 0.2688 29.63% MLMG::solve() 11 0.2624 0.2624 0.2624 28.93% Gravity::solve_for_phi() 10 0.2525 0.2525 0.2525 27.84% MLMG::oneIter() 81 0.2467 0.2467 0.2467 27.20% MLMG::mgVcycle() 81 0.2431 0.2431 0.2431 26.80% VisMF::Write(FabArray) 11 0.1777 0.1777 0.1777 19.60% Amr::checkPoint() 3 0.1358 0.1358 0.1358 14.97% AmrLevel::checkPoint() 3 0.1299 0.1299 0.1299 14.32% StateData::checkPoint() 12 0.1298 0.1298 0.1298 14.31% Amr::init() 1 0.1231 0.1231 0.1231 13.57% MLCellLinOp::smooth() 1620 0.1212 0.1212 0.1212 13.36% MLCellLinOp::applyBC() 4298 0.1127 0.1127 0.1127 12.43% MLMG::mgVcycle_bottom 81 0.07265 0.07265 0.07265 8.01% MLMG::actualBottomSolve() 81 0.07262 0.07262 0.07262 8.01% MLCGSolver::bicgstab 81 0.07178 0.07178 0.07178 7.91% Castro::clean_state() 62 0.05822 0.05822 0.05822 6.42% Amr::initialInit() 1 0.05166 0.05166 0.05166 5.70% Amr::writePlotFile() 2 0.05069 0.05069 0.05069 5.59% AmrLevel::FillPatch() 41 0.04837 0.04837 0.04837 5.33% Amr::FinalizeInit() 1 0.04652 0.04652 0.04652 5.13% Castro::post_init() 1 0.04502 0.04502 0.04502 4.96% FillPatchIterator::Initialize 41 0.04408 0.04408 0.04408 4.86% Gravity::multilevel_solve_for_new_phi() 1 0.04276 0.04276 0.04276 4.71% Gravity::actual_multilevel_solve() 1 0.04274 0.04274 0.04274 4.71% FillPatchIterator::FillFromLevel0() 41 0.04246 0.04246 0.04246 4.68% FillPatchSingleLevel 41 0.04241 0.04241 0.04241 4.68% StateDataPhysBCFunct::() 41 0.03828 0.03828 0.03828 4.22% MLCellLinOp::apply() 1047 0.03634 0.03634 0.03634 4.01% MLMG::mgVcycle_down::0 81 0.03454 0.03454 0.03454 3.81% MLPoisson::Fsmooth() 3240 0.03346 0.03346 0.03346 3.69% FabArray::FillBoundary() 3893 0.03224 0.03224 0.03224 3.55% FillBoundary_nowait() 3893 0.03142 0.03142 0.03142 3.46% StateData::FillBoundary(geom) 328 0.02669 0.02669 0.02669 2.94% MLMG::mgVcycle_up::0 81 0.02611 0.02611 0.02611 2.88% Castro::initialize_do_advance() 10 0.02243 0.02243 0.02243 2.47% Castro::computeTemp() 63 0.02205 0.02205 0.02205 2.43% Castro::normalize_species() 62 0.02188 0.02188 0.02188 2.41% amrex::Dot() 1100 0.02127 0.02127 0.02127 2.34% Castro::do_old_sources() 10 0.02073 0.02073 0.02073 2.29% MLMG:computeResOfCorrection() 405 0.02054 0.02054 0.02054 2.26% MLCellLinOp::correctionResidual() 405 0.02041 0.02041 0.02041 2.25% FabArray::norminf() 1048 0.01987 0.01987 0.01987 2.19% Gravity::get_new_grav_vector() 11 0.01809 0.01809 0.01809 1.99% MLPoisson::define() 11 0.01782 0.01782 0.01782 1.96% MLMG::mgVcycle_down::1 81 0.01674 0.01674 0.01674 1.85% MLMG::mgVcycle_down::2 81 0.01555 0.01555 0.01555 1.71% Castro::construct_old_gravity() 10 0.01518 0.01518 0.01518 1.67% Gravity::get_old_grav_vector() 10 0.01517 0.01517 0.01517 1.67% MLMG::mgVcycle_down::3 81 0.01511 0.01511 0.01511 1.67% MLMG::mgVcycle_down::4 81 0.01494 0.01494 0.01494 1.65% FabArray::ParallelCopy() 851 0.01477 0.01477 0.01477 1.63% FabArray::ParallelCopy_nowait() 851 0.01451 0.01451 0.01451 1.60% FabArray::setVal() 1054 0.01354 0.01354 0.01354 1.49% Castro::initialize_advance() 10 0.01326 0.01326 0.01326 1.46% FabArray::Saxpy() 1353 0.01318 0.01318 0.01318 1.45% MLCGSolver::ParallelAllReduce 1809 0.01281 0.01281 0.01281 1.41% Castro::do_new_sources() 10 0.01243 0.01243 0.01243 1.37% MLMG::addInterpCorrection() 405 0.0124 0.0124 0.0124 1.37% Castro::expand_state() 10 0.0122 0.0122 0.0122 1.34% MLCellLinOp::defineAuxData() 11 0.0121 0.0121 0.0121 1.33% MLMG::mgVcycle_up::1 81 0.01204 0.01204 0.01204 1.33% MLMG::mgVcycle_up::4 81 0.01195 0.01195 0.01195 1.32% MLMG::mgVcycle_up::2 81 0.01175 0.01175 0.01175 1.30% amrex::average_down 405 0.01166 0.01166 0.01166 1.29% Castro::post_timestep() 10 0.0116 0.0116 0.0116 1.28% MLMG::mgVcycle_up::3 81 0.01153 0.01153 0.01153 1.27% amrex::Copy() 469 0.0109 0.0109 0.0109 1.20% Castro::enforce_min_density() 62 0.01048 0.01048 0.01048 1.16% MLPoisson::Fapply() 1047 0.01031 0.01031 0.01031 1.14% Gravity::fill_multipole_BCs() 11 0.009512 0.009512 0.009512 1.05% FabArray::Xpay() 730 0.007894 0.007894 0.007894 0.87% MLCellLinOp::solutionResidual() 92 0.007774 0.007774 0.007774 0.86% Castro::reset_internal_energy(MultiFab) 63 0.006899 0.006899 0.006899 0.76% MLMG::computeResidual() 81 0.006428 0.006428 0.006428 0.71% MLCellLinOp::defineBC() 11 0.005457 0.005457 0.005457 0.60% MLMG::prepareForSolve() 11 0.00534 0.00534 0.00534 0.59% Castro::estTimeStep() 21 0.005338 0.005338 0.005338 0.59% BndryData::define() 11 0.005169 0.005169 0.005169 0.57% Amr::InitializeInit() 1 0.005138 0.005138 0.005138 0.57% Amr::defBaseLevel() 1 0.005134 0.005134 0.005134 0.57% Castro::enforce_speed_limit() 62 0.004707 0.004707 0.004707 0.52% Castro::initData() 1 0.004447 0.004447 0.004447 0.49% amrex::Add() 81 0.003594 0.003594 0.003594 0.40% Castro::construct_new_source() 50 0.003582 0.003582 0.003582 0.39% Castro::construct_new_gravity_source() 10 0.003483 0.003483 0.003483 0.38% Castro::construct_old_source() 50 0.002988 0.002988 0.002988 0.33% Castro::construct_old_gravity_source() 10 0.002969 0.002969 0.002969 0.33% Castro::computeNewDt() 9 0.002403 0.002403 0.002403 0.26% MLMG::ResNormInf() 92 0.002194 0.002194 0.002194 0.24% Castro::finalize_do_advance() 10 0.001895 0.001895 0.001895 0.21% Castro::apply_source_to_state() 20 0.001882 0.001882 0.001882 0.21% check_for_negative_density() 10 0.001867 0.001867 0.001867 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00185 0.00185 0.00185 0.20% Castro::reset_internal_energy(Fab) 504 0.001668 0.001668 0.001668 0.18% MLMG::getGradSolution() 11 0.001614 0.001614 0.001614 0.18% MLCellLinOp::setLevelBC() 11 0.00161 0.00161 0.00161 0.18% MLCellLinOp::compGrad() 11 0.001607 0.001607 0.001607 0.18% FabArrayBase::getCPC() 1313 0.001501 0.001501 0.001501 0.17% FabArray::setDomainBndry() 41 0.001411 0.001411 0.001411 0.16% MLMG::computeMLResidual() 11 0.001392 0.001392 0.001392 0.15% MLPoisson::prepareForSolve() 11 0.001385 0.001385 0.001385 0.15% FabArray::mult() 43 0.001384 0.001384 0.001384 0.15% MLCellLinOp::prepareForSolve() 11 0.001371 0.001371 0.001371 0.15% Castro::check_for_nan() 20 0.001309 0.001309 0.001309 0.14% MultiFab::contains_nan() 20 0.001297 0.001297 0.001297 0.14% Castro::post_regrid() 1 0.001204 0.001204 0.001204 0.13% Castro::computeInitialDt() 2 0.001095 0.001095 0.001095 0.12% Gravity::update_max_rhs() 11 0.001007 0.001007 0.001007 0.11% FabArrayBase::getFB() 3893 0.0007471 0.0007471 0.0007471 0.08% FabArrayBase::CPC::define() 454 0.0006869 0.0006869 0.0006869 0.08% Castro::finalize_advance() 10 0.000616 0.000616 0.000616 0.07% Castro::Castro() 1 0.0006049 0.0006049 0.0006049 0.07% Amr::InitAmr() 1 0.0005671 0.0005671 0.0005671 0.06% Gravity::swapTimeLevels() 10 0.0004703 0.0004703 0.0004703 0.05% MLMG::MLResNormInf() 11 0.0003416 0.0003416 0.0003416 0.04% MultiFab::max() 11 0.0003343 0.0003343 0.0003343 0.04% Castro::buildMetrics() 1 0.0003008 0.0003008 0.0003008 0.03% MLLinOp::define() 11 0.0002478 0.0002478 0.0002478 0.03% MLMG::MLRhsNormInf() 11 0.0002341 0.0002341 0.0002341 0.03% MLLinOp::defineGrids() 11 0.0002329 0.0002329 0.0002329 0.03% Castro::create_source_corrector() 10 0.0001794 0.0001794 0.0001794 0.02% FabArrayBase::FB::FB() 56 9.347e-05 9.347e-05 9.347e-05 0.01% Castro::enforce_consistent_e() 1 6.775e-05 6.775e-05 6.775e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.722e-05 5.722e-05 5.722e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.369e-05 5.369e-05 5.369e-05 0.01% makeSFC 55 4.255e-05 4.255e-05 4.255e-05 0.00% Castro::swap_state_time_levels() 10 4.159e-05 4.159e-05 4.159e-05 0.00% StateData::define() 4 3.834e-05 3.834e-05 3.834e-05 0.00% Castro::initMFs() 1 3.601e-05 3.601e-05 3.601e-05 0.00% Amr::writeSmallPlotFile() 1 3.252e-05 3.252e-05 3.252e-05 0.00% DistributionMapping::Distribute() 56 1.676e-05 1.676e-05 1.676e-05 0.00% Amr::initSubcycle() 1 1.121e-05 1.121e-05 1.121e-05 0.00% Castro::FluxRegFineAdd() 10 6.735e-06 6.735e-06 6.735e-06 0.00% AmrLevel::checkPointPost() 3 4.761e-06 4.761e-06 4.761e-06 0.00% Castro::retry_advance_ctu() 10 4.523e-06 4.523e-06 4.523e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.42e-06 4.42e-06 4.42e-06 0.00% Gravity::set_mass_offset() 11 4.017e-06 4.017e-06 4.017e-06 0.00% Castro::FluxRegCrseInit 10 3.196e-06 3.196e-06 3.196e-06 0.00% AmrLevel::checkPointPre() 3 2.881e-06 2.881e-06 2.881e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.073e-06 2.073e-06 2.073e-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 87 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1045 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1561 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3557 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 207 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 171 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7515 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2153 B 2048 KiB Gravity::solve_for_phi() 80 80 569 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 96 KiB 2048 KiB BndryData::define() 1056 1056 325 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 207 KiB 671 KiB Castro::estTimeStep() 21 21 2863 B 480 KiB VisMF::Write(FabArray) 656 656 3404 B 320 KiB Castro::normalize_species() 62 62 7859 B 320 KiB amrex::average_down 1054 1054 1609 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1173 B 257 KiB amrex::Dot() 1343 1343 3466 B 160 KiB FabArray::norminf() 1129 1129 3383 B 160 KiB check_for_negative_density() 10 10 324 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3470 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 295 B 9648 B MLCellLinOp::applyBC() 8596 8596 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3939 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 366 B 1248 B MLCGSolver::bicgstab 405 405 95 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 563 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 428 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3470 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 44 B 10 KiB FillBoundary_nowait() 751 751 295 B 9648 B MLCellLinOp::applyBC() 4298 4298 220 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3939 B 6144 B Gravity::get_new_grav_vector() 3 3 2898 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 296 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 25 B 400 B FabArray::norminf() 1129 1129 9 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-34-g3525b4a3f27e) finalized Initializing AMReX (24.02-34-g3525b4a3f27e)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-34-g3525b4a3f27e) initialized Starting run at 10:15:37 UTC on 2024-03-04. Successfully read inputs file ... Castro git describe: 24.02-27-g465a83f5a AMReX git describe: 24.02-34-g3525b4a3f Microphysics git describe: 24.03-1-gce331bc8 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.497539525 Restart time = 0.073727714 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.071154633 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.06134002 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.074255133 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.074090369 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.0585079 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.029037156 seconds Ending run at 10:15:37 UTC on 2024-03-04. Run time = 0.443295841 Run time without initialization = 0.368894284 Average number of zones advanced per microsecond: 3.553 Average number of zones advanced per microsecond per rank: 3.553 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4433 ... 0.4433 ... 0.4433 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1441 0.1441 0.1441 32.49% VisMF::Read() 3 0.06185 0.06185 0.06185 13.95% MLCellLinOp::applyBC() 1910 0.0356 0.0356 0.0356 8.03% VisMF::Write(FabArray) 1 0.02637 0.02637 0.02637 5.95% MLPoisson::Fsmooth() 1440 0.01478 0.01478 0.01478 3.33% StateData::FillBoundary(geom) 160 0.01312 0.01312 0.01312 2.96% FillBoundary_nowait() 1730 0.01312 0.01312 0.01312 2.96% amrex::Dot() 484 0.009358 0.009358 0.009358 2.11% Castro::normalize_species() 30 0.009331 0.009331 0.009331 2.10% FabArray::norminf() 465 0.008751 0.008751 0.008751 1.97% Castro::computeTemp() 30 0.007337 0.007337 0.007337 1.66% Castro::enforce_min_density() 30 0.006721 0.006721 0.006721 1.52% FabArray::setVal() 501 0.006614 0.006614 0.006614 1.49% FabArray::ParallelCopy_nowait() 380 0.00622 0.00622 0.00622 1.40% FabArray::Saxpy() 597 0.005906 0.005906 0.005906 1.33% MLCellLinOp::defineAuxData() 6 0.005698 0.005698 0.005698 1.29% Gravity::fill_multipole_BCs() 6 0.00562 0.00562 0.00562 1.27% amrex::Copy() 221 0.005475 0.005475 0.005475 1.23% StateDataPhysBCFunct::() 20 0.005043 0.005043 0.005043 1.14% Amr::restart() 1 0.004905 0.004905 0.004905 1.11% MLPoisson::Fapply() 464 0.004565 0.004565 0.004565 1.03% FabArray::Xpay() 325 0.003508 0.003508 0.003508 0.79% MLMG::addInterpCorrection() 180 0.003218 0.003218 0.003218 0.73% Castro::estTimeStep() 10 0.003125 0.003125 0.003125 0.70% amrex::average_down 180 0.003017 0.003017 0.003017 0.68% Amr::writePlotFile() 1 0.002517 0.002517 0.002517 0.57% BndryData::define() 6 0.002231 0.002231 0.002231 0.50% Castro::reset_internal_energy(MultiFab) 30 0.002174 0.002174 0.002174 0.49% Castro::enforce_speed_limit() 30 0.001859 0.001859 0.001859 0.42% Castro::construct_new_gravity_source() 5 0.001836 0.001836 0.001836 0.41% amrex::Add() 36 0.001549 0.001549 0.001549 0.35% Castro::construct_old_gravity_source() 5 0.00153 0.00153 0.00153 0.35% check_for_negative_density() 5 0.001003 0.001003 0.001003 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009842 0.0009842 0.0009842 0.22% MLCellLinOp::setLevelBC() 6 0.0008845 0.0008845 0.0008845 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008682 0.0008682 0.0008682 0.20% Castro::reset_internal_energy(Fab) 240 0.0007874 0.0007874 0.0007874 0.18% MLCellLinOp::prepareForSolve() 6 0.0007615 0.0007615 0.0007615 0.17% MLCGSolver::bicgstab 36 0.0007396 0.0007396 0.0007396 0.17% FabArray::setDomainBndry() 20 0.000714 0.000714 0.000714 0.16% FabArray::mult() 22 0.0006984 0.0006984 0.0006984 0.16% MultiFab::contains_nan() 10 0.0006714 0.0006714 0.0006714 0.15% MLCellLinOp::compGrad() 6 0.0006106 0.0006106 0.0006106 0.14% MLMG::prepareForSolve() 6 0.0005709 0.0005709 0.0005709 0.13% MLCellLinOp::smooth() 720 0.0005181 0.0005181 0.0005181 0.12% Amr::InitAmr() 1 0.0004824 0.0004824 0.0004824 0.11% FabArrayBase::CPC::define() 244 0.0004197 0.0004197 0.0004197 0.09% FabArrayBase::getCPC() 632 0.0003812 0.0003812 0.0003812 0.09% FabArray::FillBoundary() 1730 0.0003593 0.0003593 0.0003593 0.08% Gravity::get_old_grav_vector() 5 0.000323 0.000323 0.000323 0.07% main() 1 0.0002842 0.0002842 0.0002842 0.06% Gravity::get_new_grav_vector() 5 0.0002759 0.0002759 0.0002759 0.06% FabArrayBase::getFB() 1730 0.0002747 0.0002747 0.0002747 0.06% Amr::coarseTimeStep() 5 0.0002159 0.0002159 0.0002159 0.05% MultiFab::max() 6 0.0002106 0.0002106 0.0002106 0.05% AmrLevel::FillPatch() 20 0.0002065 0.0002065 0.0002065 0.05% MLCellLinOp::apply() 464 0.000198 0.000198 0.000198 0.04% MLCGSolver::ParallelAllReduce 798 0.0001635 0.0001635 0.0001635 0.04% MLCellLinOp::defineBC() 6 0.0001462 0.0001462 0.0001462 0.03% FabArray::ParallelCopy() 380 0.0001145 0.0001145 0.0001145 0.03% Castro::create_source_corrector() 5 0.0001073 0.0001073 0.0001073 0.02% FillPatchIterator::Initialize 20 0.0001051 0.0001051 0.0001051 0.02% MLLinOp::defineGrids() 6 0.0001002 0.0001002 0.0001002 0.02% Castro::subcycle_advance_ctu() 5 9.292e-05 9.292e-05 9.292e-05 0.02% Amr::timeStep() 5 9.167e-05 9.167e-05 9.167e-05 0.02% MLMG::mgVcycle() 36 8.332e-05 8.332e-05 8.332e-05 0.02% Castro::do_advance_ctu() 5 8.244e-05 8.244e-05 8.244e-05 0.02% AmrLevel::restart() 1 7.857e-05 7.857e-05 7.857e-05 0.02% MLCellLinOp::correctionResidual() 180 7.526e-05 7.526e-05 7.526e-05 0.02% Castro::construct_new_source() 25 7.021e-05 7.021e-05 7.021e-05 0.02% Gravity::update_max_rhs() 6 6.686e-05 6.686e-05 6.686e-05 0.02% Castro::initialize_do_advance() 5 6.64e-05 6.64e-05 6.64e-05 0.01% StateData::restartDoit() 4 6.47e-05 6.47e-05 6.47e-05 0.01% Castro::post_timestep() 5 6.248e-05 6.248e-05 6.248e-05 0.01% Gravity::solve_for_phi() 5 6.147e-05 6.147e-05 6.147e-05 0.01% FabArrayBase::FB::FB() 26 5.92e-05 5.92e-05 5.92e-05 0.01% MLMG:computeResOfCorrection() 180 5.322e-05 5.322e-05 5.322e-05 0.01% Castro::finalize_do_advance() 5 4.325e-05 4.325e-05 4.325e-05 0.01% MLMG::actualBottomSolve() 36 4.252e-05 4.252e-05 4.252e-05 0.01% Castro::initMFs() 1 4.145e-05 4.145e-05 4.145e-05 0.01% MLMG::mgVcycle_down::0 36 3.983e-05 3.983e-05 3.983e-05 0.01% MLMG::mgVcycle_down::1 36 3.852e-05 3.852e-05 3.852e-05 0.01% Castro::clean_state() 30 3.766e-05 3.766e-05 3.766e-05 0.01% Castro::initialize_advance() 5 3.623e-05 3.623e-05 3.623e-05 0.01% MLMG::solve() 6 3.588e-05 3.588e-05 3.588e-05 0.01% MLMG::mgVcycle_down::2 36 3.501e-05 3.501e-05 3.501e-05 0.01% Castro::advance() 5 3.453e-05 3.453e-05 3.453e-05 0.01% MLMG::mgVcycle_down::4 36 3.359e-05 3.359e-05 3.359e-05 0.01% Castro::buildMetrics() 1 3.341e-05 3.341e-05 3.341e-05 0.01% MLMG::mgVcycle_down::3 36 3.246e-05 3.246e-05 3.246e-05 0.01% Castro::finalize_advance() 5 3.209e-05 3.209e-05 3.209e-05 0.01% Castro::post_restart() 1 3.174e-05 3.174e-05 3.174e-05 0.01% Amr::writeSmallPlotFile() 1 3.109e-05 3.109e-05 3.109e-05 0.01% Castro::construct_old_source() 25 2.985e-05 2.985e-05 2.985e-05 0.01% Castro::do_new_sources() 5 2.854e-05 2.854e-05 2.854e-05 0.01% MLMG::mgVcycle_up::4 36 2.726e-05 2.726e-05 2.726e-05 0.01% MLMG::oneIter() 36 2.583e-05 2.583e-05 2.583e-05 0.01% Castro::swap_state_time_levels() 5 2.46e-05 2.46e-05 2.46e-05 0.01% MLCellLinOp::solutionResidual() 42 2.437e-05 2.437e-05 2.437e-05 0.01% MLMG::mgVcycle_up::3 36 2.312e-05 2.312e-05 2.312e-05 0.01% MLMG::mgVcycle_up::0 36 2.274e-05 2.274e-05 2.274e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.13e-05 2.13e-05 2.13e-05 0.00% MLMG::mgVcycle_up::2 36 2.126e-05 2.126e-05 2.126e-05 0.00% MLMG::mgVcycle_up::1 36 1.975e-05 1.975e-05 1.975e-05 0.00% MLMG::ResNormInf() 42 1.867e-05 1.867e-05 1.867e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.849e-05 1.849e-05 1.849e-05 0.00% Castro::construct_new_gravity() 5 1.835e-05 1.835e-05 1.835e-05 0.00% MLMG::mgVcycle_bottom 36 1.56e-05 1.56e-05 1.56e-05 0.00% MLMG::computeResidual() 36 1.522e-05 1.522e-05 1.522e-05 0.00% MLPoisson::define() 6 1.507e-05 1.507e-05 1.507e-05 0.00% FillPatchSingleLevel 20 1.459e-05 1.459e-05 1.459e-05 0.00% makeSFC 30 1.419e-05 1.419e-05 1.419e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.377e-05 1.377e-05 1.377e-05 0.00% Castro::do_old_sources() 5 1.162e-05 1.162e-05 1.162e-05 0.00% MLLinOp::define() 6 1.152e-05 1.152e-05 1.152e-05 0.00% Amr::initSubcycle() 1 1.099e-05 1.099e-05 1.099e-05 0.00% MLPoisson::prepareForSolve() 6 1.091e-05 1.091e-05 1.091e-05 0.00% DistributionMapping::Distribute() 31 9.825e-06 9.825e-06 9.825e-06 0.00% Gravity::actual_multilevel_solve() 1 9.16e-06 9.16e-06 9.16e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.27e-06 7.27e-06 7.27e-06 0.00% Castro::check_for_nan() 10 6.95e-06 6.95e-06 6.95e-06 0.00% Castro::construct_old_gravity() 5 6.599e-06 6.599e-06 6.599e-06 0.00% Castro::apply_source_to_state() 10 6.165e-06 6.165e-06 6.165e-06 0.00% Gravity::swapTimeLevels() 5 4.646e-06 4.646e-06 4.646e-06 0.00% MLMG::computeMLResidual() 6 4.067e-06 4.067e-06 4.067e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.936e-06 3.936e-06 3.936e-06 0.00% MLMG::getGradSolution() 6 3.491e-06 3.491e-06 3.491e-06 0.00% Castro::computeNewDt() 5 3.258e-06 3.258e-06 3.258e-06 0.00% Castro::expand_state() 5 2.763e-06 2.763e-06 2.763e-06 0.00% MLMG::MLResNormInf() 6 2.57e-06 2.57e-06 2.57e-06 0.00% Gravity::set_mass_offset() 6 2.259e-06 2.259e-06 2.259e-06 0.00% MLMG::MLRhsNormInf() 6 2.227e-06 2.227e-06 2.227e-06 0.00% Castro::retry_advance_ctu() 5 2.058e-06 2.058e-06 2.058e-06 0.00% Castro::FluxRegCrseInit 5 1.736e-06 1.736e-06 1.736e-06 0.00% Castro::FluxRegFineAdd() 5 1.295e-06 1.295e-06 1.295e-06 0.00% Amr::init() 1 1.198e-06 1.198e-06 1.198e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.137e-06 1.137e-06 1.137e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4433 0.4433 0.4433 100.00% Amr::coarseTimeStep() 5 0.3396 0.3396 0.3396 76.59% Amr::timeStep() 5 0.3374 0.3374 0.3374 76.11% Castro::advance() 5 0.3311 0.3311 0.3311 74.68% Castro::subcycle_advance_ctu() 5 0.3234 0.3234 0.3234 72.94% Castro::do_advance_ctu() 5 0.3233 0.3233 0.3233 72.92% Castro::construct_ctu_hydro_source() 5 0.1495 0.1495 0.1495 33.73% Castro::construct_new_gravity() 5 0.1369 0.1369 0.1369 30.89% Gravity::solve_phi_with_mlmg() 6 0.1345 0.1345 0.1345 30.34% Gravity::solve_for_phi() 5 0.1287 0.1287 0.1287 29.02% Gravity::actual_solve_with_mlmg() 6 0.1286 0.1286 0.1286 29.01% MLMG::solve() 6 0.1163 0.1163 0.1163 26.24% MLMG::oneIter() 36 0.1086 0.1086 0.1086 24.49% MLMG::mgVcycle() 36 0.107 0.107 0.107 24.14% Amr::init() 1 0.07379 0.07379 0.07379 16.64% Amr::restart() 1 0.07379 0.07379 0.07379 16.64% AmrLevel::restart() 1 0.06222 0.06222 0.06222 14.03% StateData::restartDoit() 4 0.06213 0.06213 0.06213 14.02% VisMF::Read() 3 0.06185 0.06185 0.06185 13.95% MLCellLinOp::smooth() 720 0.05303 0.05303 0.05303 11.96% MLCellLinOp::applyBC() 1910 0.04941 0.04941 0.04941 11.15% MLMG::mgVcycle_bottom 36 0.03198 0.03198 0.03198 7.21% MLMG::actualBottomSolve() 36 0.03197 0.03197 0.03197 7.21% MLCGSolver::bicgstab 36 0.03159 0.03159 0.03159 7.13% Amr::writePlotFile() 1 0.02915 0.02915 0.02915 6.58% Castro::clean_state() 30 0.02825 0.02825 0.02825 6.37% VisMF::Write(FabArray) 1 0.02637 0.02637 0.02637 5.95% AmrLevel::FillPatch() 20 0.02317 0.02317 0.02317 5.23% FillPatchIterator::Initialize 20 0.02107 0.02107 0.02107 4.75% FillPatchIterator::FillFromLevel0() 20 0.02025 0.02025 0.02025 4.57% FillPatchSingleLevel 20 0.02023 0.02023 0.02023 4.56% StateDataPhysBCFunct::() 20 0.01816 0.01816 0.01816 4.10% MLCellLinOp::apply() 464 0.01615 0.01615 0.01615 3.64% MLMG::mgVcycle_down::0 36 0.0153 0.0153 0.0153 3.45% MLPoisson::Fsmooth() 1440 0.01478 0.01478 0.01478 3.33% FabArray::FillBoundary() 1730 0.01381 0.01381 0.01381 3.12% FillBoundary_nowait() 1730 0.01345 0.01345 0.01345 3.03% StateData::FillBoundary(geom) 160 0.01312 0.01312 0.01312 2.96% MLMG::mgVcycle_up::0 36 0.01135 0.01135 0.01135 2.56% Castro::initialize_do_advance() 5 0.01125 0.01125 0.01125 2.54% Castro::computeTemp() 30 0.0103 0.0103 0.0103 2.32% Castro::do_old_sources() 5 0.009629 0.009629 0.009629 2.17% MLPoisson::define() 6 0.009616 0.009616 0.009616 2.17% amrex::Dot() 484 0.009358 0.009358 0.009358 2.11% Castro::normalize_species() 30 0.009331 0.009331 0.009331 2.10% MLMG:computeResOfCorrection() 180 0.00898 0.00898 0.00898 2.03% MLCellLinOp::correctionResidual() 180 0.008926 0.008926 0.008926 2.01% FabArray::norminf() 465 0.008751 0.008751 0.008751 1.97% Gravity::get_new_grav_vector() 5 0.00812 0.00812 0.00812 1.83% Castro::construct_old_gravity() 5 0.007638 0.007638 0.007638 1.72% Gravity::get_old_grav_vector() 5 0.007631 0.007631 0.007631 1.72% MLMG::mgVcycle_down::1 36 0.007461 0.007461 0.007461 1.68% Castro::initialize_advance() 5 0.007343 0.007343 0.007343 1.66% MLMG::mgVcycle_down::2 36 0.006799 0.006799 0.006799 1.53% FabArray::ParallelCopy() 380 0.006737 0.006737 0.006737 1.52% Castro::enforce_min_density() 30 0.006721 0.006721 0.006721 1.52% FabArray::ParallelCopy_nowait() 380 0.006622 0.006622 0.006622 1.49% MLMG::mgVcycle_down::3 36 0.006615 0.006615 0.006615 1.49% FabArray::setVal() 501 0.006614 0.006614 0.006614 1.49% MLMG::mgVcycle_down::4 36 0.006593 0.006593 0.006593 1.49% Castro::do_new_sources() 5 0.006504 0.006504 0.006504 1.47% MLCellLinOp::defineAuxData() 6 0.006494 0.006494 0.006494 1.46% Castro::post_restart() 1 0.006463 0.006463 0.006463 1.46% Castro::post_timestep() 5 0.006273 0.006273 0.006273 1.41% Gravity::multilevel_solve_for_new_phi() 1 0.006067 0.006067 0.006067 1.37% Castro::expand_state() 5 0.006062 0.006062 0.006062 1.37% Gravity::actual_multilevel_solve() 1 0.006049 0.006049 0.006049 1.36% FabArray::Saxpy() 597 0.005906 0.005906 0.005906 1.33% Gravity::fill_multipole_BCs() 6 0.005745 0.005745 0.005745 1.30% MLCGSolver::ParallelAllReduce 798 0.005709 0.005709 0.005709 1.29% MLMG::addInterpCorrection() 180 0.005542 0.005542 0.005542 1.25% amrex::Copy() 221 0.005475 0.005475 0.005475 1.23% amrex::average_down 180 0.005383 0.005383 0.005383 1.21% MLMG::mgVcycle_up::4 36 0.00532 0.00532 0.00532 1.20% MLMG::mgVcycle_up::1 36 0.005283 0.005283 0.005283 1.19% MLMG::mgVcycle_up::2 36 0.005159 0.005159 0.005159 1.16% MLMG::mgVcycle_up::3 36 0.005053 0.005053 0.005053 1.14% MLPoisson::Fapply() 464 0.004565 0.004565 0.004565 1.03% MLCellLinOp::solutionResidual() 42 0.003663 0.003663 0.003663 0.83% FabArray::Xpay() 325 0.003508 0.003508 0.003508 0.79% Castro::estTimeStep() 10 0.003125 0.003125 0.003125 0.70% MLCellLinOp::defineBC() 6 0.002965 0.002965 0.002965 0.67% Castro::reset_internal_energy(MultiFab) 30 0.002962 0.002962 0.002962 0.67% MLMG::prepareForSolve() 6 0.002934 0.002934 0.002934 0.66% MLMG::computeResidual() 36 0.002842 0.002842 0.002842 0.64% BndryData::define() 6 0.002819 0.002819 0.002819 0.64% Castro::computeNewDt() 5 0.001917 0.001917 0.001917 0.43% Castro::construct_new_source() 25 0.001907 0.001907 0.001907 0.43% Castro::enforce_speed_limit() 30 0.001859 0.001859 0.001859 0.42% Castro::construct_new_gravity_source() 5 0.001836 0.001836 0.001836 0.41% Castro::construct_old_source() 25 0.00156 0.00156 0.00156 0.35% amrex::Add() 36 0.001549 0.001549 0.001549 0.35% Castro::construct_old_gravity_source() 5 0.00153 0.00153 0.00153 0.35% Castro::finalize_do_advance() 5 0.001254 0.001254 0.001254 0.28% check_for_negative_density() 5 0.001003 0.001003 0.001003 0.23% MLMG::ResNormInf() 42 0.0009942 0.0009942 0.0009942 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009842 0.0009842 0.0009842 0.22% Castro::apply_source_to_state() 10 0.000967 0.000967 0.000967 0.22% MLMG::getGradSolution() 6 0.0008969 0.0008969 0.0008969 0.20% MLCellLinOp::compGrad() 6 0.0008934 0.0008934 0.0008934 0.20% MLCellLinOp::setLevelBC() 6 0.0008845 0.0008845 0.0008845 0.20% MLMG::computeMLResidual() 6 0.00084 0.00084 0.00084 0.19% FabArrayBase::getCPC() 632 0.0008009 0.0008009 0.0008009 0.18% Castro::reset_internal_energy(Fab) 240 0.0007874 0.0007874 0.0007874 0.18% MLPoisson::prepareForSolve() 6 0.0007724 0.0007724 0.0007724 0.17% MLCellLinOp::prepareForSolve() 6 0.0007615 0.0007615 0.0007615 0.17% Gravity::update_max_rhs() 6 0.0007359 0.0007359 0.0007359 0.17% FabArray::setDomainBndry() 20 0.000714 0.000714 0.000714 0.16% FabArray::mult() 22 0.0006984 0.0006984 0.0006984 0.16% Castro::check_for_nan() 10 0.0006784 0.0006784 0.0006784 0.15% MultiFab::contains_nan() 10 0.0006714 0.0006714 0.0006714 0.15% Amr::InitAmr() 1 0.0004934 0.0004934 0.0004934 0.11% FabArrayBase::CPC::define() 244 0.0004197 0.0004197 0.0004197 0.09% FabArrayBase::getFB() 1730 0.0003339 0.0003339 0.0003339 0.08% Castro::finalize_advance() 5 0.0003005 0.0003005 0.0003005 0.07% Gravity::swapTimeLevels() 5 0.0002443 0.0002443 0.0002443 0.06% MultiFab::max() 6 0.0002106 0.0002106 0.0002106 0.05% MLMG::MLResNormInf() 6 0.0001937 0.0001937 0.0001937 0.04% Castro::buildMetrics() 1 0.0001632 0.0001632 0.0001632 0.04% MLLinOp::define() 6 0.0001427 0.0001427 0.0001427 0.03% MLLinOp::defineGrids() 6 0.0001312 0.0001312 0.0001312 0.03% MLMG::MLRhsNormInf() 6 0.0001227 0.0001227 0.0001227 0.03% Castro::create_source_corrector() 5 0.0001073 0.0001073 0.0001073 0.02% FabArrayBase::FB::FB() 26 5.92e-05 5.92e-05 5.92e-05 0.01% Castro::initMFs() 1 4.145e-05 4.145e-05 4.145e-05 0.01% Amr::writeSmallPlotFile() 1 3.109e-05 3.109e-05 3.109e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.981e-05 2.981e-05 2.981e-05 0.01% Castro::swap_state_time_levels() 5 2.46e-05 2.46e-05 2.46e-05 0.01% makeSFC 30 2.253e-05 2.253e-05 2.253e-05 0.01% Amr::initSubcycle() 1 1.099e-05 1.099e-05 1.099e-05 0.00% DistributionMapping::Distribute() 31 9.825e-06 9.825e-06 9.825e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.415e-06 5.415e-06 5.415e-06 0.00% Gravity::set_mass_offset() 6 2.259e-06 2.259e-06 2.259e-06 0.00% Castro::retry_advance_ctu() 5 2.058e-06 2.058e-06 2.058e-06 0.00% Castro::FluxRegCrseInit 5 1.736e-06 1.736e-06 1.736e-06 0.00% Castro::FluxRegFineAdd() 5 1.295e-06 1.295e-06 1.295e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.137e-06 1.137e-06 1.137e-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 179 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1038 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1755 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 6418 KiB 14 MiB MLMG::prepareForSolve() 361 361 3221 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 178 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 187 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6405 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3298 B 2048 KiB Gravity::solve_for_phi() 40 40 593 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 190 KiB 671 KiB Castro::estTimeStep() 10 10 3346 B 480 KiB VisMF::Write(FabArray) 112 112 2281 B 320 KiB Castro::normalize_species() 30 30 6840 B 320 KiB amrex::average_down 469 469 1506 B 257 KiB MLMG::addInterpCorrection() 468 468 1066 B 257 KiB amrex::Dot() 592 592 3118 B 160 KiB FabArray::norminf() 501 501 3041 B 160 KiB check_for_negative_density() 5 5 357 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3120 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 3820 3820 202 B 9344 B amrex::Copy() 56 56 5831 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 333 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1369 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 156 KiB 3584 KiB VisMF::Read() 24 24 210 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3120 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 257 B 9648 B MLCellLinOp::applyBC() 1910 1910 200 B 9328 B amrex::Copy() 56 56 5831 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2514 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 41 B 2832 B MLMG::prepareForSolve() 7 7 789 B 1648 B amrex::average_down 37 37 460 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 501 501 8 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-34-g3525b4a3f27e) finalized