Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-18-g2a555f86eb8a) initialized Starting run at 08:34:16 UTC on 2023-07-14. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-18-g2a555f86e Microphysics git describe: 23.07-25-ge5c0f75c 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.060117197 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034167834 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.048161433 [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.069450315 [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.076540304 [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.052515675 [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.051090041 [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.059062682 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.067164719 [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.080203747 [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.074609139 [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.052443533 [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.053101954 [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.059694436 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034570195 seconds Ending run at 08:34:17 UTC on 2023-07-14. Run time = 0.922152418 Run time without initialization = 0.779206594 Average number of zones advanced per microsecond: 3.364 Average number of zones advanced per microsecond per rank: 3.364 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9222 ... 0.9222 ... 0.9222 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2567 0.2567 0.2567 27.84% VisMF::Write(FabArray) 11 0.2408 0.2408 0.2408 26.11% MLCellLinOp::applyBC() 4433 0.07638 0.07638 0.07638 8.28% MLPoisson::Fsmooth() 3280 0.03217 0.03217 0.03217 3.49% FillBoundary_nowait() 4023 0.03067 0.03067 0.03067 3.33% StateData::FillBoundary(geom) 328 0.02512 0.02512 0.02512 2.72% Castro::normalize_species() 62 0.02076 0.02076 0.02076 2.25% amrex::Dot() 1114 0.0206 0.0206 0.0206 2.23% amrex::Copy() 1029 0.01487 0.01487 0.01487 1.61% FabArray::norminf() 743 0.0144 0.0144 0.0144 1.56% Castro::computeTemp() 63 0.01343 0.01343 0.01343 1.46% FabArray::ParallelCopy_nowait() 861 0.01326 0.01326 0.01326 1.44% FabArray::setVal() 1144 0.0131 0.0131 0.0131 1.42% StateDataPhysBCFunct::() 41 0.01196 0.01196 0.01196 1.30% Castro::enforce_min_density() 62 0.01157 0.01157 0.01157 1.25% MLPoisson::Fapply() 1142 0.01034 0.01034 0.01034 1.12% MLCellLinOp::defineAuxData() 11 0.009674 0.009674 0.009674 1.05% FabArray::Saxpy() 813 0.008204 0.008204 0.008204 0.89% FabArray::Xpay() 821 0.008041 0.008041 0.008041 0.87% Gravity::fill_multipole_BCs() 11 0.006835 0.006835 0.006835 0.74% MLMG::addInterpCorrection() 410 0.006623 0.006623 0.006623 0.72% amrex::average_down 410 0.005954 0.005954 0.005954 0.65% Castro::estTimeStep() 21 0.00584 0.00584 0.00584 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005124 0.005124 0.005124 0.56% FabArray::LinComb() 557 0.004478 0.004478 0.004478 0.49% Castro::enforce_speed_limit() 62 0.004415 0.004415 0.004415 0.48% amrex::Add() 164 0.004402 0.004402 0.004402 0.48% Amr::checkPoint() 3 0.003913 0.003913 0.003913 0.42% BndryData::define() 11 0.003739 0.003739 0.003739 0.41% Castro::construct_new_gravity_source() 10 0.003188 0.003188 0.003188 0.35% Castro::construct_old_gravity_source() 10 0.002733 0.002733 0.002733 0.30% Amr::writePlotFile() 2 0.002399 0.002399 0.002399 0.26% MLCGSolver::bicgstab 82 0.002125 0.002125 0.002125 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001662 0.001662 0.001662 0.18% Castro::reset_internal_energy(Fab) 504 0.00165 0.00165 0.00165 0.18% check_for_negative_density() 10 0.001611 0.001611 0.001611 0.17% Gravity::actual_solve_with_mlmg() 11 0.001458 0.001458 0.001458 0.16% MLCellLinOp::setLevelBC() 11 0.00139 0.00139 0.00139 0.15% Castro::initData() 1 0.001336 0.001336 0.001336 0.14% FabArray::setDomainBndry() 41 0.001314 0.001314 0.001314 0.14% FabArray::mult() 43 0.00131 0.00131 0.00131 0.14% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.13% MLCellLinOp::prepareForSolve() 11 0.001111 0.001111 0.001111 0.12% MLCellLinOp::smooth() 1640 0.001082 0.001082 0.001082 0.12% MLCellLinOp::compGrad() 11 0.0009162 0.0009162 0.0009162 0.10% MLMG::prepareForSolve() 11 0.0008764 0.0008764 0.0008764 0.10% FabArray::FillBoundary() 4023 0.000821 0.000821 0.000821 0.09% FabArrayBase::getCPC() 1323 0.0007346 0.0007346 0.0007346 0.08% FabArrayBase::CPC::define() 454 0.0006687 0.0006687 0.0006687 0.07% FabArrayBase::getFB() 4023 0.000613 0.000613 0.000613 0.07% Gravity::get_new_grav_vector() 11 0.0005414 0.0005414 0.0005414 0.06% Amr::InitAmr() 1 0.0004786 0.0004786 0.0004786 0.05% Gravity::get_old_grav_vector() 10 0.0004738 0.0004738 0.0004738 0.05% MLCellLinOp::apply() 1142 0.0004456 0.0004456 0.0004456 0.05% MLMG::mgVcycle() 82 0.0003896 0.0003896 0.0003896 0.04% MLLinOp::defineGrids() 11 0.0003426 0.0003426 0.0003426 0.04% Amr::coarseTimeStep() 10 0.0003243 0.0003243 0.0003243 0.04% AmrLevel::FillPatch() 41 0.0003218 0.0003218 0.0003218 0.03% main() 1 0.000301 0.000301 0.000301 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002894 0.0002894 0.0002894 0.03% MultiFab::max() 11 0.0002556 0.0002556 0.0002556 0.03% FabArray::ParallelCopy() 861 0.0002389 0.0002389 0.0002389 0.03% Castro::subcycle_advance_ctu() 10 0.0002303 0.0002303 0.0002303 0.02% FillPatchIterator::Initialize 41 0.0002148 0.0002148 0.0002148 0.02% MLCellLinOp::correctionResidual() 492 0.0002148 0.0002148 0.0002148 0.02% MLCellLinOp::defineBC() 11 0.0002076 0.0002076 0.0002076 0.02% Castro::create_source_corrector() 10 0.0001773 0.0001773 0.0001773 0.02% Amr::timeStep() 10 0.0001581 0.0001581 0.0001581 0.02% StateData::checkPoint() 12 0.0001329 0.0001329 0.0001329 0.01% Gravity::update_max_rhs() 11 0.0001205 0.0001205 0.0001205 0.01% MLMG:computeResOfCorrection() 410 0.0001152 0.0001152 0.0001152 0.01% Gravity::solve_for_phi() 10 0.0001052 0.0001052 0.0001052 0.01% Castro::advance() 10 9.73e-05 9.73e-05 9.73e-05 0.01% MLMG::actualBottomSolve() 82 9.062e-05 9.062e-05 9.062e-05 0.01% FabArrayBase::FB::FB() 56 8.92e-05 8.92e-05 8.92e-05 0.01% Castro::Castro() 1 8.64e-05 8.64e-05 8.64e-05 0.01% MLMG::mgVcycle_down::1 82 8.329e-05 8.329e-05 8.329e-05 0.01% MLMG::mgVcycle_down::0 82 8.072e-05 8.072e-05 8.072e-05 0.01% Castro::clean_state() 62 8.07e-05 8.07e-05 8.07e-05 0.01% MLMG::mgVcycle_down::4 82 8.008e-05 8.008e-05 8.008e-05 0.01% MLMG::mgVcycle_down::2 82 7.861e-05 7.861e-05 7.861e-05 0.01% MLMG::solve() 11 7.781e-05 7.781e-05 7.781e-05 0.01% MLMG::mgVcycle_down::3 82 7.43e-05 7.43e-05 7.43e-05 0.01% Castro::initialize_advance() 10 7.326e-05 7.326e-05 7.326e-05 0.01% AmrLevel::checkPoint() 3 7.188e-05 7.188e-05 7.188e-05 0.01% MLMG::mgVcycle_up::4 82 6.094e-05 6.094e-05 6.094e-05 0.01% Castro::finalize_advance() 10 5.995e-05 5.995e-05 5.995e-05 0.01% Castro::initialize_do_advance() 10 5.832e-05 5.832e-05 5.832e-05 0.01% Castro::do_new_sources() 10 5.284e-05 5.284e-05 5.284e-05 0.01% MLMG::oneIter() 82 5.201e-05 5.201e-05 5.201e-05 0.01% Castro::finalize_do_advance() 10 4.996e-05 4.996e-05 4.996e-05 0.01% MLMG::mgVcycle_up::1 82 4.96e-05 4.96e-05 4.96e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.926e-05 4.926e-05 4.926e-05 0.01% MLMG::mgVcycle_up::0 82 4.912e-05 4.912e-05 4.912e-05 0.01% MLMG::mgVcycle_up::3 82 4.91e-05 4.91e-05 4.91e-05 0.01% MLCellLinOp::solutionResidual() 93 4.878e-05 4.878e-05 4.878e-05 0.01% MLMG::mgVcycle_up::2 82 4.839e-05 4.839e-05 4.839e-05 0.01% Castro::do_advance_ctu() 10 4.584e-05 4.584e-05 4.584e-05 0.00% Castro::construct_new_source() 50 4.465e-05 4.465e-05 4.465e-05 0.00% Castro::post_timestep() 10 3.882e-05 3.882e-05 3.882e-05 0.00% Castro::swap_state_time_levels() 10 3.605e-05 3.605e-05 3.605e-05 0.00% StateData::define() 4 3.538e-05 3.538e-05 3.538e-05 0.00% MLMG::mgVcycle_bottom 82 3.45e-05 3.45e-05 3.45e-05 0.00% Castro::enforce_consistent_e() 1 3.388e-05 3.388e-05 3.388e-05 0.00% MLMG::ResNormInf() 93 3.309e-05 3.309e-05 3.309e-05 0.00% MLMG::computeResidual() 82 3.125e-05 3.125e-05 3.125e-05 0.00% FillPatchSingleLevel 41 3.102e-05 3.102e-05 3.102e-05 0.00% MLPoisson::define() 11 2.546e-05 2.546e-05 2.546e-05 0.00% Castro::initMFs() 1 2.517e-05 2.517e-05 2.517e-05 0.00% Amr::writeSmallPlotFile() 1 2.461e-05 2.461e-05 2.461e-05 0.00% makeSFC 55 2.371e-05 2.371e-05 2.371e-05 0.00% Castro::construct_new_gravity() 10 2.335e-05 2.335e-05 2.335e-05 0.00% Amr::FinalizeInit() 1 2.15e-05 2.15e-05 2.15e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.115e-05 2.115e-05 2.115e-05 0.00% Castro::do_old_sources() 10 2.101e-05 2.101e-05 2.101e-05 0.00% Castro::buildMetrics() 1 1.802e-05 1.802e-05 1.802e-05 0.00% Castro::construct_old_source() 50 1.753e-05 1.753e-05 1.753e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.681e-05 1.681e-05 1.681e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.655e-05 1.655e-05 1.655e-05 0.00% MLLinOp::define() 11 1.598e-05 1.598e-05 1.598e-05 0.00% Amr::defBaseLevel() 1 1.564e-05 1.564e-05 1.564e-05 0.00% DistributionMapping::Distribute() 56 1.48e-05 1.48e-05 1.48e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.424e-05 1.424e-05 1.424e-05 0.00% Castro::check_for_nan() 20 1.073e-05 1.073e-05 1.073e-05 0.00% Castro::apply_source_to_state() 20 1.07e-05 1.07e-05 1.07e-05 0.00% Castro::construct_old_gravity() 10 1.012e-05 1.012e-05 1.012e-05 0.00% Gravity::swapTimeLevels() 10 9.134e-06 9.134e-06 9.134e-06 0.00% Amr::initSubcycle() 1 9.014e-06 9.014e-06 9.014e-06 0.00% Gravity::actual_multilevel_solve() 1 8.744e-06 8.744e-06 8.744e-06 0.00% MLPoisson::prepareForSolve() 11 7.958e-06 7.958e-06 7.958e-06 0.00% MLMG::computeMLResidual() 11 7.808e-06 7.808e-06 7.808e-06 0.00% MLMG::getGradSolution() 11 5.754e-06 5.754e-06 5.754e-06 0.00% Castro::computeNewDt() 9 5.581e-06 5.581e-06 5.581e-06 0.00% Castro::expand_state() 10 5.547e-06 5.547e-06 5.547e-06 0.00% AmrLevel::checkPointPost() 3 4.902e-06 4.902e-06 4.902e-06 0.00% Amr::InitializeInit() 1 4.57e-06 4.57e-06 4.57e-06 0.00% Castro::post_init() 1 4.531e-06 4.531e-06 4.531e-06 0.00% MLMG::MLRhsNormInf() 11 4.189e-06 4.189e-06 4.189e-06 0.00% Castro::retry_advance_ctu() 10 4.152e-06 4.152e-06 4.152e-06 0.00% MLMG::MLResNormInf() 11 3.56e-06 3.56e-06 3.56e-06 0.00% Amr::init() 1 3.527e-06 3.527e-06 3.527e-06 0.00% Gravity::set_mass_offset() 11 3.462e-06 3.462e-06 3.462e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.369e-06 3.369e-06 3.369e-06 0.00% Castro::FluxRegCrseInit 10 2.696e-06 2.696e-06 2.696e-06 0.00% Castro::computeInitialDt() 2 2.578e-06 2.578e-06 2.578e-06 0.00% Castro::FluxRegFineAdd() 10 1.997e-06 1.997e-06 1.997e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.783e-06 1.783e-06 1.783e-06 0.00% AmrLevel::checkPointPre() 3 1.548e-06 1.548e-06 1.548e-06 0.00% Amr::initialInit() 1 1.472e-06 1.472e-06 1.472e-06 0.00% Castro::post_regrid() 1 9.66e-07 9.66e-07 9.66e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9222 0.9222 0.9222 100.00% Amr::coarseTimeStep() 10 0.7444 0.7444 0.7444 80.72% Amr::timeStep() 10 0.6219 0.6219 0.6219 67.44% Castro::advance() 10 0.6104 0.6104 0.6104 66.19% Castro::subcycle_advance_ctu() 10 0.5953 0.5953 0.5953 64.55% Castro::do_advance_ctu() 10 0.595 0.595 0.595 64.53% Gravity::solve_phi_with_mlmg() 11 0.2824 0.2824 0.2824 30.62% Gravity::actual_solve_with_mlmg() 11 0.2751 0.2751 0.2751 29.83% Castro::construct_ctu_hydro_source() 10 0.2674 0.2674 0.2674 28.99% Castro::construct_new_gravity() 10 0.2581 0.2581 0.2581 27.99% MLMG::solve() 11 0.2545 0.2545 0.2545 27.60% Gravity::solve_for_phi() 10 0.2424 0.2424 0.2424 26.29% VisMF::Write(FabArray) 11 0.2408 0.2408 0.2408 26.11% MLMG::oneIter() 82 0.2402 0.2402 0.2402 26.05% MLMG::mgVcycle() 82 0.2365 0.2365 0.2365 25.65% Amr::checkPoint() 3 0.179 0.179 0.179 19.41% AmrLevel::checkPoint() 3 0.1751 0.1751 0.1751 18.99% StateData::checkPoint() 12 0.175 0.175 0.175 18.98% Amr::init() 1 0.1423 0.1423 0.1423 15.43% MLCellLinOp::smooth() 1640 0.1161 0.1161 0.1161 12.59% MLCellLinOp::applyBC() 4433 0.1086 0.1086 0.1086 11.77% MLMG::mgVcycle_bottom 82 0.07356 0.07356 0.07356 7.98% MLMG::actualBottomSolve() 82 0.07352 0.07352 0.07352 7.97% MLCGSolver::bicgstab 82 0.07282 0.07282 0.07282 7.90% Amr::writePlotFile() 2 0.06886 0.06886 0.06886 7.47% Castro::clean_state() 62 0.05615 0.05615 0.05615 6.09% Amr::initialInit() 1 0.0479 0.0479 0.0479 5.19% AmrLevel::FillPatch() 41 0.04684 0.04684 0.04684 5.08% Amr::FinalizeInit() 1 0.04353 0.04353 0.04353 4.72% FillPatchIterator::Initialize 41 0.0427 0.0427 0.0427 4.63% Castro::post_init() 1 0.04225 0.04225 0.04225 4.58% FillPatchIterator::FillFromLevel0() 41 0.04117 0.04117 0.04117 4.46% FillPatchSingleLevel 41 0.04112 0.04112 0.04112 4.46% Gravity::multilevel_solve_for_new_phi() 1 0.04036 0.04036 0.04036 4.38% Gravity::actual_multilevel_solve() 1 0.04034 0.04034 0.04034 4.37% StateDataPhysBCFunct::() 41 0.03709 0.03709 0.03709 4.02% MLCellLinOp::apply() 1142 0.03608 0.03608 0.03608 3.91% MLMG::mgVcycle_down::0 82 0.03351 0.03351 0.03351 3.63% FabArray::FillBoundary() 4023 0.03219 0.03219 0.03219 3.49% MLPoisson::Fsmooth() 3280 0.03217 0.03217 0.03217 3.49% FillBoundary_nowait() 4023 0.03137 0.03137 0.03137 3.40% MLMG::mgVcycle_up::0 82 0.02531 0.02531 0.02531 2.74% StateData::FillBoundary(geom) 328 0.02512 0.02512 0.02512 2.72% MLCellLinOp::correctionResidual() 492 0.02206 0.02206 0.02206 2.39% Castro::normalize_species() 62 0.02076 0.02076 0.02076 2.25% amrex::Dot() 1114 0.0206 0.0206 0.0206 2.23% Castro::initialize_do_advance() 10 0.02036 0.02036 0.02036 2.21% Castro::computeTemp() 63 0.02021 0.02021 0.02021 2.19% MLMG:computeResOfCorrection() 410 0.01943 0.01943 0.01943 2.11% Castro::do_old_sources() 10 0.01794 0.01794 0.01794 1.95% Gravity::get_new_grav_vector() 11 0.01723 0.01723 0.01723 1.87% MLPoisson::define() 11 0.01633 0.01633 0.01633 1.77% MLMG::mgVcycle_down::1 82 0.01577 0.01577 0.01577 1.71% Castro::construct_old_gravity() 10 0.01525 0.01525 0.01525 1.65% Gravity::get_old_grav_vector() 10 0.01523 0.01523 0.01523 1.65% amrex::Copy() 1029 0.01487 0.01487 0.01487 1.61% MLMG::mgVcycle_down::2 82 0.01471 0.01471 0.01471 1.59% Castro::initialize_advance() 10 0.01442 0.01442 0.01442 1.56% FabArray::norminf() 743 0.0144 0.0144 0.0144 1.56% MLMG::mgVcycle_down::3 82 0.01433 0.01433 0.01433 1.55% FabArray::ParallelCopy() 861 0.01429 0.01429 0.01429 1.55% MLMG::mgVcycle_down::4 82 0.01412 0.01412 0.01412 1.53% FabArray::ParallelCopy_nowait() 861 0.01405 0.01405 0.01405 1.52% FabArray::setVal() 1144 0.0131 0.0131 0.0131 1.42% Castro::do_new_sources() 10 0.01267 0.01267 0.01267 1.37% MLCGSolver::ParallelAllReduce 1514 0.01234 0.01234 0.01234 1.34% MLMG::addInterpCorrection() 410 0.01174 0.01174 0.01174 1.27% Castro::enforce_min_density() 62 0.01157 0.01157 0.01157 1.25% MLMG::mgVcycle_up::1 82 0.01145 0.01145 0.01145 1.24% Castro::expand_state() 10 0.01142 0.01142 0.01142 1.24% Castro::post_timestep() 10 0.01139 0.01139 0.01139 1.24% MLMG::mgVcycle_up::4 82 0.01128 0.01128 0.01128 1.22% MLMG::mgVcycle_up::2 82 0.01118 0.01118 0.01118 1.21% amrex::average_down 410 0.01112 0.01112 0.01112 1.21% MLCellLinOp::defineAuxData() 11 0.01098 0.01098 0.01098 1.19% MLMG::mgVcycle_up::3 82 0.01093 0.01093 0.01093 1.19% MLPoisson::Fapply() 1142 0.01034 0.01034 0.01034 1.12% FabArray::Saxpy() 813 0.008204 0.008204 0.008204 0.89% FabArray::Xpay() 821 0.008041 0.008041 0.008041 0.87% MLCellLinOp::solutionResidual() 93 0.007114 0.007114 0.007114 0.77% Gravity::fill_multipole_BCs() 11 0.007114 0.007114 0.007114 0.77% Castro::reset_internal_energy(MultiFab) 63 0.006774 0.006774 0.006774 0.73% MLMG::computeResidual() 82 0.006131 0.006131 0.006131 0.66% Castro::estTimeStep() 21 0.00584 0.00584 0.00584 0.63% MLCellLinOp::defineBC() 11 0.004914 0.004914 0.004914 0.53% BndryData::define() 11 0.004706 0.004706 0.004706 0.51% MLMG::prepareForSolve() 11 0.004668 0.004668 0.004668 0.51% FabArray::LinComb() 557 0.004478 0.004478 0.004478 0.49% Castro::enforce_speed_limit() 62 0.004415 0.004415 0.004415 0.48% amrex::Add() 164 0.004402 0.004402 0.004402 0.48% Amr::InitializeInit() 1 0.004372 0.004372 0.004372 0.47% Amr::defBaseLevel() 1 0.004367 0.004367 0.004367 0.47% Castro::initData() 1 0.003865 0.003865 0.003865 0.42% Castro::construct_new_source() 50 0.003232 0.003232 0.003232 0.35% Castro::construct_new_gravity_source() 10 0.003188 0.003188 0.003188 0.35% Castro::construct_old_source() 50 0.00275 0.00275 0.00275 0.30% Castro::construct_old_gravity_source() 10 0.002733 0.002733 0.002733 0.30% Castro::computeNewDt() 9 0.002646 0.002646 0.002646 0.29% Castro::finalize_do_advance() 10 0.002403 0.002403 0.002403 0.26% MLMG::ResNormInf() 93 0.002139 0.002139 0.002139 0.23% Castro::apply_source_to_state() 20 0.001833 0.001833 0.001833 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001662 0.001662 0.001662 0.18% Castro::reset_internal_energy(Fab) 504 0.00165 0.00165 0.00165 0.18% check_for_negative_density() 10 0.001611 0.001611 0.001611 0.17% FabArrayBase::getCPC() 1323 0.001403 0.001403 0.001403 0.15% MLCellLinOp::setLevelBC() 11 0.00139 0.00139 0.00139 0.15% MLMG::getGradSolution() 11 0.001386 0.001386 0.001386 0.15% MLCellLinOp::compGrad() 11 0.00138 0.00138 0.00138 0.15% FabArray::setDomainBndry() 41 0.001314 0.001314 0.001314 0.14% FabArray::mult() 43 0.00131 0.00131 0.00131 0.14% Castro::check_for_nan() 20 0.001207 0.001207 0.001207 0.13% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.13% MLPoisson::prepareForSolve() 11 0.001119 0.001119 0.001119 0.12% MLCellLinOp::prepareForSolve() 11 0.001111 0.001111 0.001111 0.12% Castro::post_regrid() 1 0.001108 0.001108 0.001108 0.12% MLMG::computeMLResidual() 11 0.001022 0.001022 0.001022 0.11% Castro::computeInitialDt() 2 0.0008491 0.0008491 0.0008491 0.09% Gravity::update_max_rhs() 11 0.0008197 0.0008197 0.0008197 0.09% FabArrayBase::getFB() 4023 0.0007022 0.0007022 0.0007022 0.08% FabArrayBase::CPC::define() 454 0.0006687 0.0006687 0.0006687 0.07% Castro::finalize_advance() 10 0.0005824 0.0005824 0.0005824 0.06% Amr::InitAmr() 1 0.0004876 0.0004876 0.0004876 0.05% Gravity::swapTimeLevels() 10 0.0004374 0.0004374 0.0004374 0.05% Castro::Castro() 1 0.0004306 0.0004306 0.0004306 0.05% MLLinOp::define() 11 0.0004119 0.0004119 0.0004119 0.04% MLLinOp::defineGrids() 11 0.0003959 0.0003959 0.0003959 0.04% MLMG::MLResNormInf() 11 0.000285 0.000285 0.000285 0.03% MultiFab::max() 11 0.0002556 0.0002556 0.0002556 0.03% MLMG::MLRhsNormInf() 11 0.0002201 0.0002201 0.0002201 0.02% Castro::create_source_corrector() 10 0.0001773 0.0001773 0.0001773 0.02% Castro::buildMetrics() 1 0.0001542 0.0001542 0.0001542 0.02% FabArrayBase::FB::FB() 56 8.92e-05 8.92e-05 8.92e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.193e-05 5.193e-05 5.193e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.154e-05 5.154e-05 5.154e-05 0.01% makeSFC 55 3.73e-05 3.73e-05 3.73e-05 0.00% Castro::swap_state_time_levels() 10 3.605e-05 3.605e-05 3.605e-05 0.00% StateData::define() 4 3.538e-05 3.538e-05 3.538e-05 0.00% Castro::enforce_consistent_e() 1 3.388e-05 3.388e-05 3.388e-05 0.00% Castro::initMFs() 1 2.517e-05 2.517e-05 2.517e-05 0.00% Amr::writeSmallPlotFile() 1 2.461e-05 2.461e-05 2.461e-05 0.00% DistributionMapping::Distribute() 56 1.48e-05 1.48e-05 1.48e-05 0.00% Amr::initSubcycle() 1 9.014e-06 9.014e-06 9.014e-06 0.00% AmrLevel::checkPointPost() 3 4.902e-06 4.902e-06 4.902e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.578e-06 4.578e-06 4.578e-06 0.00% Castro::retry_advance_ctu() 10 4.152e-06 4.152e-06 4.152e-06 0.00% Gravity::set_mass_offset() 11 3.462e-06 3.462e-06 3.462e-06 0.00% Castro::FluxRegCrseInit 10 2.696e-06 2.696e-06 2.696e-06 0.00% Castro::FluxRegFineAdd() 10 1.997e-06 1.997e-06 1.997e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.783e-06 1.783e-06 1.783e-06 0.00% AmrLevel::checkPointPre() 3 1.548e-06 1.548e-06 1.548e-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::construct_ctu_hydro_source() 2880 2880 130 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 986 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2098 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7612 KiB 14 MiB MLMG::prepareForSolve() 660 660 3395 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 194 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7526 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1709 B 2048 KiB Gravity::solve_for_phi() 80 80 537 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 89 KiB 2048 KiB BndryData::define() 1056 1056 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 197 KiB 671 KiB Castro::estTimeStep() 21 21 3091 B 480 KiB VisMF::Write(FabArray) 656 656 3230 B 320 KiB Castro::normalize_species() 62 62 7338 B 320 KiB amrex::average_down 1067 1067 1212 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1103 B 257 KiB amrex::Dot() 1360 1360 3293 B 160 KiB FabArray::norminf() 907 907 2308 B 160 KiB check_for_negative_density() 10 10 277 B 160 KiB Castro::initData() 1 1 27 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3319 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 8866 8866 213 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3846 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 2880 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 114 B 1472 B MLCellLinOp::defineBC() 66 66 403 B 1440 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 47 KiB 8192 KiB VisMF::Write(FabArray) 744 744 608 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3319 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 291 B 9648 B MLCellLinOp::applyBC() 4433 4433 212 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3846 B 6144 B Gravity::get_new_grav_vector() 3 3 2913 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 2880 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 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 282 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 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): 2422 [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.07-18-g2a555f86eb8a) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-18-g2a555f86eb8a) initialized Starting run at 08:34:18 UTC on 2023-07-14. Successfully read inputs file ... Castro git describe: 23.07-14-g10cafd240 AMReX git describe: 23.07-18-g2a555f86e Microphysics git describe: 23.07-25-ge5c0f75c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.499741859 Restart time = 0.045308463 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.052881603 [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.049941745 [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.080612621 [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.080780623 [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.055252074 [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.033488397 seconds Ending run at 08:34:18 UTC on 2023-07-14. Run time = 0.399289624 Run time without initialization = 0.353389549 Average number of zones advanced per microsecond: 3.709 Average number of zones advanced per microsecond per rank: 3.709 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3993 ... 0.3993 ... 0.3993 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1320 0.1320 0.1320 33.06% VisMF::Read() 3 0.03901 0.03901 0.03901 9.77% MLCellLinOp::applyBC() 1946 0.03339 0.03339 0.03339 8.36% VisMF::Write(FabArray) 1 0.03183 0.03183 0.03183 7.97% MLPoisson::Fsmooth() 1440 0.01399 0.01399 0.01399 3.50% FillBoundary_nowait() 1766 0.01273 0.01273 0.01273 3.19% StateData::FillBoundary(geom) 160 0.01238 0.01238 0.01238 3.10% Castro::normalize_species() 30 0.01058 0.01058 0.01058 2.65% amrex::Dot() 484 0.008849 0.008849 0.008849 2.22% Castro::computeTemp() 30 0.007018 0.007018 0.007018 1.76% amrex::Copy() 463 0.007003 0.007003 0.007003 1.75% FabArray::setVal() 537 0.006268 0.006268 0.006268 1.57% FabArray::norminf() 326 0.006239 0.006239 0.006239 1.56% FabArray::ParallelCopy_nowait() 380 0.006023 0.006023 0.006023 1.51% Castro::enforce_min_density() 30 0.005721 0.005721 0.005721 1.43% MLCellLinOp::defineAuxData() 6 0.005312 0.005312 0.005312 1.33% MLPoisson::Fapply() 500 0.004479 0.004479 0.004479 1.12% StateDataPhysBCFunct::() 20 0.004458 0.004458 0.004458 1.12% Castro::estTimeStep() 10 0.003913 0.003913 0.003913 0.98% FabArray::Saxpy() 355 0.003636 0.003636 0.003636 0.91% FabArray::Xpay() 361 0.003513 0.003513 0.003513 0.88% Gravity::fill_multipole_BCs() 6 0.00344 0.00344 0.00344 0.86% MLMG::addInterpCorrection() 180 0.002878 0.002878 0.002878 0.72% amrex::average_down 180 0.002618 0.002618 0.002618 0.66% Amr::restart() 1 0.002601 0.002601 0.002601 0.65% Castro::reset_internal_energy(MultiFab) 30 0.002132 0.002132 0.002132 0.53% BndryData::define() 6 0.002065 0.002065 0.002065 0.52% FabArray::LinComb() 242 0.001941 0.001941 0.001941 0.49% amrex::Add() 72 0.001856 0.001856 0.001856 0.46% Castro::construct_new_gravity_source() 5 0.001614 0.001614 0.001614 0.40% Amr::writePlotFile() 1 0.001469 0.001469 0.001469 0.37% Castro::construct_old_gravity_source() 5 0.001392 0.001392 0.001392 0.35% MLCGSolver::bicgstab 36 0.0009555 0.0009555 0.0009555 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009101 0.0009101 0.0009101 0.23% Castro::reset_internal_energy(Fab) 240 0.0008503 0.0008503 0.0008503 0.21% Castro::initialize_do_advance() 5 0.0008189 0.0008189 0.0008189 0.21% check_for_negative_density() 5 0.0008008 0.0008008 0.0008008 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007649 0.0007649 0.0007649 0.19% MLCellLinOp::setLevelBC() 6 0.0007526 0.0007526 0.0007526 0.19% Castro::subcycle_advance_ctu() 5 0.0006577 0.0006577 0.0006577 0.16% FabArray::setDomainBndry() 20 0.0006523 0.0006523 0.0006523 0.16% FabArray::mult() 22 0.0006442 0.0006442 0.0006442 0.16% MLCellLinOp::prepareForSolve() 6 0.0006037 0.0006037 0.0006037 0.15% MultiFab::contains_nan() 10 0.0005971 0.0005971 0.0005971 0.15% MLCellLinOp::compGrad() 6 0.0004873 0.0004873 0.0004873 0.12% MLCellLinOp::smooth() 720 0.0004796 0.0004796 0.0004796 0.12% MLMG::prepareForSolve() 6 0.0004725 0.0004725 0.0004725 0.12% Castro::enforce_speed_limit() 30 0.0004374 0.0004374 0.0004374 0.11% FabArrayBase::CPC::define() 244 0.0004165 0.0004165 0.0004165 0.10% Amr::InitAmr() 1 0.0004058 0.0004058 0.0004058 0.10% FabArrayBase::getCPC() 632 0.0003594 0.0003594 0.0003594 0.09% FabArray::FillBoundary() 1766 0.0003564 0.0003564 0.0003564 0.09% Gravity::get_old_grav_vector() 5 0.000282 0.000282 0.000282 0.07% main() 1 0.0002742 0.0002742 0.0002742 0.07% FabArrayBase::getFB() 1766 0.0002611 0.0002611 0.0002611 0.07% Gravity::get_new_grav_vector() 5 0.0002324 0.0002324 0.0002324 0.06% Amr::coarseTimeStep() 5 0.0001962 0.0001962 0.0001962 0.05% MLCellLinOp::apply() 500 0.0001926 0.0001926 0.0001926 0.05% MLLinOp::defineGrids() 6 0.000187 0.000187 0.000187 0.05% MLMG::mgVcycle() 36 0.0001784 0.0001784 0.0001784 0.04% AmrLevel::FillPatch() 20 0.0001702 0.0001702 0.0001702 0.04% MultiFab::max() 6 0.0001352 0.0001352 0.0001352 0.03% MLCGSolver::ParallelAllReduce 659 0.0001274 0.0001274 0.0001274 0.03% MLCellLinOp::defineBC() 6 0.0001139 0.0001139 0.0001139 0.03% FabArray::ParallelCopy() 380 0.00011 0.00011 0.00011 0.03% FillPatchIterator::Initialize 20 9.99e-05 9.99e-05 9.99e-05 0.03% Castro::construct_new_source() 25 9.471e-05 9.471e-05 9.471e-05 0.02% MLCellLinOp::correctionResidual() 216 9.171e-05 9.171e-05 9.171e-05 0.02% Castro::do_new_sources() 5 9.099e-05 9.099e-05 9.099e-05 0.02% Castro::finalize_do_advance() 5 8.447e-05 8.447e-05 8.447e-05 0.02% Castro::create_source_corrector() 5 8.292e-05 8.292e-05 8.292e-05 0.02% Amr::timeStep() 5 8.217e-05 8.217e-05 8.217e-05 0.02% AmrLevel::restart() 1 7.636e-05 7.636e-05 7.636e-05 0.02% Gravity::update_max_rhs() 6 6.433e-05 6.433e-05 6.433e-05 0.02% StateData::restartDoit() 4 6.266e-05 6.266e-05 6.266e-05 0.02% FabArrayBase::FB::FB() 26 6.045e-05 6.045e-05 6.045e-05 0.02% Castro::advance() 5 5.556e-05 5.556e-05 5.556e-05 0.01% MLMG:computeResOfCorrection() 180 5.289e-05 5.289e-05 5.289e-05 0.01% Gravity::solve_for_phi() 5 5.2e-05 5.2e-05 5.2e-05 0.01% MLMG::actualBottomSolve() 36 4.003e-05 4.003e-05 4.003e-05 0.01% MLMG::solve() 6 3.88e-05 3.88e-05 3.88e-05 0.01% MLMG::mgVcycle_down::0 36 3.693e-05 3.693e-05 3.693e-05 0.01% MLMG::mgVcycle_down::1 36 3.558e-05 3.558e-05 3.558e-05 0.01% Castro::initialize_advance() 5 3.453e-05 3.453e-05 3.453e-05 0.01% MLMG::mgVcycle_down::4 36 3.393e-05 3.393e-05 3.393e-05 0.01% MLMG::mgVcycle_down::2 36 3.351e-05 3.351e-05 3.351e-05 0.01% Castro::finalize_advance() 5 3.351e-05 3.351e-05 3.351e-05 0.01% Castro::clean_state() 30 3.318e-05 3.318e-05 3.318e-05 0.01% MLMG::mgVcycle_down::3 36 3.307e-05 3.307e-05 3.307e-05 0.01% Castro::do_old_sources() 5 3.27e-05 3.27e-05 3.27e-05 0.01% Castro::construct_old_source() 25 3.205e-05 3.205e-05 3.205e-05 0.01% Castro::post_timestep() 5 3.141e-05 3.141e-05 3.141e-05 0.01% MLMG::mgVcycle_up::4 36 2.9e-05 2.9e-05 2.9e-05 0.01% Castro::initMFs() 1 2.653e-05 2.653e-05 2.653e-05 0.01% Castro::buildMetrics() 1 2.631e-05 2.631e-05 2.631e-05 0.01% Amr::writeSmallPlotFile() 1 2.549e-05 2.549e-05 2.549e-05 0.01% Castro::swap_state_time_levels() 5 2.417e-05 2.417e-05 2.417e-05 0.01% Castro::do_advance_ctu() 5 2.398e-05 2.398e-05 2.398e-05 0.01% MLMG::oneIter() 36 2.396e-05 2.396e-05 2.396e-05 0.01% MLMG::mgVcycle_up::3 36 2.255e-05 2.255e-05 2.255e-05 0.01% MLMG::mgVcycle_up::0 36 2.248e-05 2.248e-05 2.248e-05 0.01% MLMG::mgVcycle_up::2 36 2.229e-05 2.229e-05 2.229e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.188e-05 2.188e-05 2.188e-05 0.01% MLCellLinOp::solutionResidual() 42 2.148e-05 2.148e-05 2.148e-05 0.01% MLMG::mgVcycle_up::1 36 2.113e-05 2.113e-05 2.113e-05 0.01% Castro::post_restart() 1 1.859e-05 1.859e-05 1.859e-05 0.00% MLMG::ResNormInf() 42 1.778e-05 1.778e-05 1.778e-05 0.00% MLPoisson::define() 6 1.751e-05 1.751e-05 1.751e-05 0.00% MLMG::mgVcycle_bottom 36 1.576e-05 1.576e-05 1.576e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.563e-05 1.563e-05 1.563e-05 0.00% FillPatchSingleLevel 20 1.429e-05 1.429e-05 1.429e-05 0.00% MLMG::computeResidual() 36 1.384e-05 1.384e-05 1.384e-05 0.00% makeSFC 30 1.307e-05 1.307e-05 1.307e-05 0.00% Castro::construct_new_gravity() 5 1.172e-05 1.172e-05 1.172e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.112e-05 1.112e-05 1.112e-05 0.00% MLLinOp::define() 6 9.885e-06 9.885e-06 9.885e-06 0.00% Amr::initSubcycle() 1 9.605e-06 9.605e-06 9.605e-06 0.00% DistributionMapping::Distribute() 31 8.729e-06 8.729e-06 8.729e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.651e-06 7.651e-06 7.651e-06 0.00% Gravity::actual_multilevel_solve() 1 7.406e-06 7.406e-06 7.406e-06 0.00% Castro::check_for_nan() 10 6.045e-06 6.045e-06 6.045e-06 0.00% Castro::construct_old_gravity() 5 5.84e-06 5.84e-06 5.84e-06 0.00% Castro::apply_source_to_state() 10 5.578e-06 5.578e-06 5.578e-06 0.00% MLPoisson::prepareForSolve() 6 4.854e-06 4.854e-06 4.854e-06 0.00% Gravity::swapTimeLevels() 5 4.235e-06 4.235e-06 4.235e-06 0.00% MLMG::computeMLResidual() 6 3.681e-06 3.681e-06 3.681e-06 0.00% Castro::computeNewDt() 5 3.402e-06 3.402e-06 3.402e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.358e-06 3.358e-06 3.358e-06 0.00% MLMG::getGradSolution() 6 2.752e-06 2.752e-06 2.752e-06 0.00% Castro::expand_state() 5 2.55e-06 2.55e-06 2.55e-06 0.00% MLMG::MLResNormInf() 6 2.411e-06 2.411e-06 2.411e-06 0.00% MLMG::MLRhsNormInf() 6 2.351e-06 2.351e-06 2.351e-06 0.00% Castro::retry_advance_ctu() 5 1.973e-06 1.973e-06 1.973e-06 0.00% Gravity::set_mass_offset() 6 1.918e-06 1.918e-06 1.918e-06 0.00% Castro::FluxRegCrseInit 5 1.497e-06 1.497e-06 1.497e-06 0.00% Castro::FluxRegFineAdd() 5 1.244e-06 1.244e-06 1.244e-06 0.00% Amr::init() 1 1.109e-06 1.109e-06 1.109e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.009e-06 1.009e-06 1.009e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3993 0.3993 0.3993 100.00% Amr::coarseTimeStep() 5 0.3197 0.3197 0.3197 80.05% Amr::timeStep() 5 0.3176 0.3176 0.3176 79.53% Castro::advance() 5 0.3136 0.3136 0.3136 78.52% Castro::subcycle_advance_ctu() 5 0.3057 0.3057 0.3057 76.55% Castro::do_advance_ctu() 5 0.305 0.305 0.305 76.39% Castro::construct_ctu_hydro_source() 5 0.138 0.138 0.138 34.56% Castro::construct_new_gravity() 5 0.1304 0.1304 0.1304 32.65% Gravity::solve_phi_with_mlmg() 6 0.1255 0.1255 0.1255 31.44% Gravity::solve_for_phi() 5 0.1225 0.1225 0.1225 30.68% Gravity::actual_solve_with_mlmg() 6 0.1219 0.1219 0.1219 30.52% MLMG::solve() 6 0.1106 0.1106 0.1106 27.69% MLMG::oneIter() 36 0.1037 0.1037 0.1037 25.96% MLMG::mgVcycle() 36 0.1021 0.1021 0.1021 25.57% MLCellLinOp::smooth() 720 0.04998 0.04998 0.04998 12.52% MLCellLinOp::applyBC() 1946 0.04679 0.04679 0.04679 11.72% Amr::init() 1 0.04535 0.04535 0.04535 11.36% Amr::restart() 1 0.04535 0.04535 0.04535 11.36% AmrLevel::restart() 1 0.03921 0.03921 0.03921 9.82% StateData::restartDoit() 4 0.03913 0.03913 0.03913 9.80% VisMF::Read() 3 0.03901 0.03901 0.03901 9.77% Amr::writePlotFile() 1 0.03358 0.03358 0.03358 8.41% VisMF::Write(FabArray) 1 0.03183 0.03183 0.03183 7.97% MLMG::mgVcycle_bottom 36 0.03173 0.03173 0.03173 7.95% MLMG::actualBottomSolve() 36 0.03172 0.03172 0.03172 7.94% MLCGSolver::bicgstab 36 0.03141 0.03141 0.03141 7.87% Castro::clean_state() 30 0.02677 0.02677 0.02677 6.70% AmrLevel::FillPatch() 20 0.02171 0.02171 0.02171 5.44% FillPatchIterator::Initialize 20 0.01965 0.01965 0.01965 4.92% FillPatchIterator::FillFromLevel0() 20 0.0189 0.0189 0.0189 4.73% FillPatchSingleLevel 20 0.01887 0.01887 0.01887 4.73% StateDataPhysBCFunct::() 20 0.01683 0.01683 0.01683 4.22% MLCellLinOp::apply() 500 0.01569 0.01569 0.01569 3.93% MLMG::mgVcycle_down::0 36 0.01428 0.01428 0.01428 3.58% MLPoisson::Fsmooth() 1440 0.01399 0.01399 0.01399 3.50% FabArray::FillBoundary() 1766 0.0134 0.0134 0.0134 3.36% FillBoundary_nowait() 1766 0.01305 0.01305 0.01305 3.27% StateData::FillBoundary(geom) 160 0.01238 0.01238 0.01238 3.10% Castro::initialize_do_advance() 5 0.01091 0.01091 0.01091 2.73% MLMG::mgVcycle_up::0 36 0.0108 0.0108 0.0108 2.70% Castro::normalize_species() 30 0.01058 0.01058 0.01058 2.65% Castro::computeTemp() 30 0.01 0.01 0.01 2.50% MLCellLinOp::correctionResidual() 216 0.009521 0.009521 0.009521 2.38% MLPoisson::define() 6 0.009037 0.009037 0.009037 2.26% amrex::Dot() 484 0.008849 0.008849 0.008849 2.22% Castro::do_old_sources() 5 0.008805 0.008805 0.008805 2.20% MLMG:computeResOfCorrection() 180 0.008372 0.008372 0.008372 2.10% Gravity::get_new_grav_vector() 5 0.007755 0.007755 0.007755 1.94% Castro::initialize_advance() 5 0.007513 0.007513 0.007513 1.88% Castro::construct_old_gravity() 5 0.00736 0.00736 0.00736 1.84% Gravity::get_old_grav_vector() 5 0.007354 0.007354 0.007354 1.84% amrex::Copy() 463 0.007003 0.007003 0.007003 1.75% Castro::do_new_sources() 5 0.006983 0.006983 0.006983 1.75% MLMG::mgVcycle_down::1 36 0.00684 0.00684 0.00684 1.71% FabArray::ParallelCopy() 380 0.006517 0.006517 0.006517 1.63% FabArray::ParallelCopy_nowait() 380 0.006407 0.006407 0.006407 1.60% MLMG::mgVcycle_down::2 36 0.006396 0.006396 0.006396 1.60% MLMG::mgVcycle_down::3 36 0.006274 0.006274 0.006274 1.57% FabArray::setVal() 537 0.006268 0.006268 0.006268 1.57% FabArray::norminf() 326 0.006239 0.006239 0.006239 1.56% MLMG::mgVcycle_down::4 36 0.006152 0.006152 0.006152 1.54% MLCellLinOp::defineAuxData() 6 0.006051 0.006051 0.006051 1.52% Castro::enforce_min_density() 30 0.005721 0.005721 0.005721 1.43% MLCGSolver::ParallelAllReduce 659 0.005341 0.005341 0.005341 1.34% Castro::expand_state() 5 0.005156 0.005156 0.005156 1.29% MLMG::addInterpCorrection() 180 0.005103 0.005103 0.005103 1.28% MLMG::mgVcycle_up::1 36 0.004972 0.004972 0.004972 1.25% MLMG::mgVcycle_up::4 36 0.004906 0.004906 0.004906 1.23% amrex::average_down 180 0.004885 0.004885 0.004885 1.22% MLMG::mgVcycle_up::2 36 0.004839 0.004839 0.004839 1.21% MLMG::mgVcycle_up::3 36 0.004745 0.004745 0.004745 1.19% MLPoisson::Fapply() 500 0.004479 0.004479 0.004479 1.12% Castro::post_timestep() 5 0.003936 0.003936 0.003936 0.99% Castro::estTimeStep() 10 0.003913 0.003913 0.003913 0.98% FabArray::Saxpy() 355 0.003636 0.003636 0.003636 0.91% Gravity::fill_multipole_BCs() 6 0.003561 0.003561 0.003561 0.89% FabArray::Xpay() 361 0.003513 0.003513 0.003513 0.88% Castro::post_restart() 1 0.003372 0.003372 0.003372 0.84% Gravity::multilevel_solve_for_new_phi() 1 0.00326 0.00326 0.00326 0.82% Gravity::actual_multilevel_solve() 1 0.003244 0.003244 0.003244 0.81% MLCellLinOp::solutionResidual() 42 0.003224 0.003224 0.003224 0.81% Castro::reset_internal_energy(MultiFab) 30 0.002982 0.002982 0.002982 0.75% MLCellLinOp::defineBC() 6 0.002742 0.002742 0.002742 0.69% MLMG::computeResidual() 36 0.002674 0.002674 0.002674 0.67% BndryData::define() 6 0.002628 0.002628 0.002628 0.66% MLMG::prepareForSolve() 6 0.002526 0.002526 0.002526 0.63% Castro::finalize_do_advance() 5 0.002114 0.002114 0.002114 0.53% FabArray::LinComb() 242 0.001941 0.001941 0.001941 0.49% Castro::computeNewDt() 5 0.001887 0.001887 0.001887 0.47% amrex::Add() 72 0.001856 0.001856 0.001856 0.46% Castro::construct_new_source() 25 0.001708 0.001708 0.001708 0.43% Castro::construct_new_gravity_source() 5 0.001614 0.001614 0.001614 0.40% Castro::construct_old_source() 25 0.001424 0.001424 0.001424 0.36% Castro::construct_old_gravity_source() 5 0.001392 0.001392 0.001392 0.35% MLMG::ResNormInf() 42 0.0009492 0.0009492 0.0009492 0.24% Castro::apply_source_to_state() 10 0.0009207 0.0009207 0.0009207 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009101 0.0009101 0.0009101 0.23% Castro::reset_internal_energy(Fab) 240 0.0008503 0.0008503 0.0008503 0.21% check_for_negative_density() 5 0.0008008 0.0008008 0.0008008 0.20% FabArrayBase::getCPC() 632 0.0007759 0.0007759 0.0007759 0.19% MLCellLinOp::setLevelBC() 6 0.0007526 0.0007526 0.0007526 0.19% MLMG::getGradSolution() 6 0.0007463 0.0007463 0.0007463 0.19% MLCellLinOp::compGrad() 6 0.0007436 0.0007436 0.0007436 0.19% FabArray::setDomainBndry() 20 0.0006523 0.0006523 0.0006523 0.16% FabArray::mult() 22 0.0006442 0.0006442 0.0006442 0.16% MLPoisson::prepareForSolve() 6 0.0006086 0.0006086 0.0006086 0.15% MLCellLinOp::prepareForSolve() 6 0.0006037 0.0006037 0.0006037 0.15% Castro::check_for_nan() 10 0.0006031 0.0006031 0.0006031 0.15% MultiFab::contains_nan() 10 0.0005971 0.0005971 0.0005971 0.15% MLMG::computeMLResidual() 6 0.0005674 0.0005674 0.0005674 0.14% Gravity::update_max_rhs() 6 0.0004493 0.0004493 0.0004493 0.11% Castro::enforce_speed_limit() 30 0.0004374 0.0004374 0.0004374 0.11% FabArrayBase::CPC::define() 244 0.0004165 0.0004165 0.0004165 0.10% Amr::InitAmr() 1 0.0004154 0.0004154 0.0004154 0.10% FabArrayBase::getFB() 1766 0.0003215 0.0003215 0.0003215 0.08% Castro::finalize_advance() 5 0.0002927 0.0002927 0.0002927 0.07% Gravity::swapTimeLevels() 5 0.0002302 0.0002302 0.0002302 0.06% MLLinOp::define() 6 0.0002261 0.0002261 0.0002261 0.06% MLLinOp::defineGrids() 6 0.0002162 0.0002162 0.0002162 0.05% MLMG::MLResNormInf() 6 0.0001527 0.0001527 0.0001527 0.04% Castro::buildMetrics() 1 0.0001445 0.0001445 0.0001445 0.04% MultiFab::max() 6 0.0001352 0.0001352 0.0001352 0.03% MLMG::MLRhsNormInf() 6 0.0001222 0.0001222 0.0001222 0.03% Castro::create_source_corrector() 5 8.292e-05 8.292e-05 8.292e-05 0.02% FabArrayBase::FB::FB() 26 6.045e-05 6.045e-05 6.045e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.819e-05 2.819e-05 2.819e-05 0.01% Castro::initMFs() 1 2.653e-05 2.653e-05 2.653e-05 0.01% Amr::writeSmallPlotFile() 1 2.549e-05 2.549e-05 2.549e-05 0.01% Castro::swap_state_time_levels() 5 2.417e-05 2.417e-05 2.417e-05 0.01% makeSFC 30 2.054e-05 2.054e-05 2.054e-05 0.01% Amr::initSubcycle() 1 9.605e-06 9.605e-06 9.605e-06 0.00% DistributionMapping::Distribute() 31 8.729e-06 8.729e-06 8.729e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.614e-06 4.614e-06 4.614e-06 0.00% Castro::retry_advance_ctu() 5 1.973e-06 1.973e-06 1.973e-06 0.00% Gravity::set_mass_offset() 6 1.918e-06 1.918e-06 1.918e-06 0.00% Castro::FluxRegCrseInit 5 1.497e-06 1.497e-06 1.497e-06 0.00% Castro::FluxRegFineAdd() 5 1.244e-06 1.244e-06 1.244e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.009e-06 1.009e-06 1.009e-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 201 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 147 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1049 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2352 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 6766 KiB 14 MiB MLMG::prepareForSolve() 361 361 3399 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 191 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 198 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6762 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2178 B 2048 KiB Gravity::solve_for_phi() 40 40 626 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 312 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 4673 B 480 KiB VisMF::Write(FabArray) 112 112 1230 B 320 KiB Castro::normalize_species() 30 30 8629 B 320 KiB amrex::average_down 469 469 1187 B 257 KiB MLMG::addInterpCorrection() 468 468 1108 B 257 KiB amrex::Dot() 592 592 3257 B 160 KiB FabArray::norminf() 398 398 2303 B 160 KiB check_for_negative_density() 5 5 318 B 160 KiB MultiFab::max() 6 6 52 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3306 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 3892 3892 216 B 9344 B amrex::Copy() 56 56 5985 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 43 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 114 B 1472 B MLCellLinOp::defineBC() 36 36 405 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1305 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 109 KiB 8192 KiB VisMF::Write(FabArray) 120 120 246 KiB 3584 KiB VisMF::Read() 24 24 189 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3306 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 276 B 9648 B MLCellLinOp::applyBC() 1946 1946 215 B 9328 B amrex::Copy() 56 56 5985 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2675 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 44 B 2736 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 524 B 1296 B amrex::average_down 37 37 225 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [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.07-18-g2a555f86eb8a) finalized