Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-49-g22908d8ad214) initialized Starting run at 07:32:22 UTC on 2023-08-29. Successfully read inputs file ... Castro git describe: 23.08-7-gf1b93be75 AMReX git describe: 23.08-49-g22908d8ad Microphysics git describe: 23.08-17-g5e610453 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.051013489 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028025227 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.051197486 [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.049516471 [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.073873022 [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.076904533 [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.069322404 [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.049974683 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.066861168 [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.072943331 [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.072485813 [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.050785914 [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.059556927 [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.049199163 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028373456 seconds Ending run at 07:32:23 UTC on 2023-08-29. Run time = 0.906039255 Run time without initialization = 0.771677237 Average number of zones advanced per microsecond: 3.397 Average number of zones advanced per microsecond per rank: 3.397 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9061 ... 0.9061 ... 0.9061 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2684 0.2684 0.2684 29.63% VisMF::Write(FabArray) 11 0.1994 0.1994 0.1994 22.01% MLCellLinOp::applyBC() 4433 0.07808 0.07808 0.07808 8.62% MLPoisson::Fsmooth() 3280 0.03302 0.03302 0.03302 3.64% FillBoundary_nowait() 4023 0.03122 0.03122 0.03122 3.45% StateData::FillBoundary(geom) 328 0.02629 0.02629 0.02629 2.90% amrex::Dot() 1114 0.02102 0.02102 0.02102 2.32% Castro::normalize_species() 62 0.02022 0.02022 0.02022 2.23% Castro::computeTemp() 63 0.01701 0.01701 0.01701 1.88% amrex::Copy() 1029 0.01515 0.01515 0.01515 1.67% FabArray::norminf() 743 0.0147 0.0147 0.0147 1.62% FabArray::ParallelCopy_nowait() 861 0.0136 0.0136 0.0136 1.50% FabArray::setVal() 1144 0.01344 0.01344 0.01344 1.48% Castro::enforce_min_density() 62 0.01206 0.01206 0.01206 1.33% StateDataPhysBCFunct::() 41 0.01073 0.01073 0.01073 1.18% MLPoisson::Fapply() 1142 0.01061 0.01061 0.01061 1.17% MLCellLinOp::defineAuxData() 11 0.01026 0.01026 0.01026 1.13% Gravity::fill_multipole_BCs() 11 0.009134 0.009134 0.009134 1.01% FabArray::Saxpy() 813 0.008425 0.008425 0.008425 0.93% FabArray::Xpay() 821 0.008308 0.008308 0.008308 0.92% MLMG::addInterpCorrection() 410 0.006909 0.006909 0.006909 0.76% Castro::estTimeStep() 21 0.006185 0.006185 0.006185 0.68% amrex::average_down 410 0.006163 0.006163 0.006163 0.68% Castro::reset_internal_energy(MultiFab) 63 0.004903 0.004903 0.004903 0.54% Amr::checkPoint() 3 0.004769 0.004769 0.004769 0.53% FabArray::LinComb() 557 0.004655 0.004655 0.004655 0.51% amrex::Add() 164 0.004439 0.004439 0.004439 0.49% BndryData::define() 11 0.00382 0.00382 0.00382 0.42% Castro::construct_new_gravity_source() 10 0.003347 0.003347 0.003347 0.37% Castro::enforce_speed_limit() 62 0.003015 0.003015 0.003015 0.33% Castro::construct_old_gravity_source() 10 0.002865 0.002865 0.002865 0.32% MLCGSolver::bicgstab 82 0.002261 0.002261 0.002261 0.25% Amr::writePlotFile() 2 0.001966 0.001966 0.001966 0.22% check_for_negative_density() 10 0.001811 0.001811 0.001811 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001755 0.001755 0.001755 0.19% Castro::reset_internal_energy(Fab) 504 0.001636 0.001636 0.001636 0.18% Castro::initData() 1 0.001558 0.001558 0.001558 0.17% Gravity::actual_solve_with_mlmg() 11 0.001514 0.001514 0.001514 0.17% MLCellLinOp::setLevelBC() 11 0.001453 0.001453 0.001453 0.16% FabArray::mult() 43 0.001359 0.001359 0.001359 0.15% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.15% MultiFab::contains_nan() 20 0.001278 0.001278 0.001278 0.14% MLCellLinOp::prepareForSolve() 11 0.001267 0.001267 0.001267 0.14% MLCellLinOp::smooth() 1640 0.00117 0.00117 0.00117 0.13% MLCellLinOp::compGrad() 11 0.001055 0.001055 0.001055 0.12% MLMG::prepareForSolve() 11 0.0009719 0.0009719 0.0009719 0.11% FabArray::FillBoundary() 4023 0.0008056 0.0008056 0.0008056 0.09% FabArrayBase::getCPC() 1323 0.0007735 0.0007735 0.0007735 0.09% FabArrayBase::CPC::define() 454 0.0006871 0.0006871 0.0006871 0.08% FabArrayBase::getFB() 4023 0.000617 0.000617 0.000617 0.07% Gravity::get_new_grav_vector() 11 0.0005972 0.0005972 0.0005972 0.07% Amr::InitAmr() 1 0.0005229 0.0005229 0.0005229 0.06% Gravity::get_old_grav_vector() 10 0.0004742 0.0004742 0.0004742 0.05% MLCellLinOp::apply() 1142 0.000474 0.000474 0.000474 0.05% Amr::coarseTimeStep() 10 0.0003513 0.0003513 0.0003513 0.04% AmrLevel::FillPatch() 41 0.0003363 0.0003363 0.0003363 0.04% MultiFab::max() 11 0.0003269 0.0003269 0.0003269 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003014 0.0003014 0.0003014 0.03% main() 1 0.0002701 0.0002701 0.0002701 0.03% FabArray::ParallelCopy() 861 0.0002679 0.0002679 0.0002679 0.03% Castro::subcycle_advance_ctu() 10 0.0002425 0.0002425 0.0002425 0.03% MLCellLinOp::correctionResidual() 492 0.0002341 0.0002341 0.0002341 0.03% MLCellLinOp::defineBC() 11 0.0002141 0.0002141 0.0002141 0.02% FillPatchIterator::Initialize 41 0.000214 0.000214 0.000214 0.02% MLMG::mgVcycle() 82 0.0001972 0.0001972 0.0001972 0.02% Gravity::solve_for_phi() 10 0.0001572 0.0001572 0.0001572 0.02% Castro::create_source_corrector() 10 0.0001553 0.0001553 0.0001553 0.02% Amr::timeStep() 10 0.0001511 0.0001511 0.0001511 0.02% MLLinOp::defineGrids() 11 0.0001455 0.0001455 0.0001455 0.02% Gravity::update_max_rhs() 11 0.0001261 0.0001261 0.0001261 0.01% MLMG:computeResOfCorrection() 410 0.0001201 0.0001201 0.0001201 0.01% Castro::advance() 10 0.000117 0.000117 0.000117 0.01% StateData::checkPoint() 12 0.0001161 0.0001161 0.0001161 0.01% Castro::Castro() 1 0.0001083 0.0001083 0.0001083 0.01% FabArrayBase::FB::FB() 56 9.755e-05 9.755e-05 9.755e-05 0.01% MLMG::actualBottomSolve() 82 9.483e-05 9.483e-05 9.483e-05 0.01% MLMG::mgVcycle_down::0 82 8.373e-05 8.373e-05 8.373e-05 0.01% MLMG::solve() 11 8.11e-05 8.11e-05 8.11e-05 0.01% Castro::initialize_advance() 10 7.679e-05 7.679e-05 7.679e-05 0.01% MLMG::mgVcycle_down::2 82 7.669e-05 7.669e-05 7.669e-05 0.01% MLMG::mgVcycle_down::1 82 7.574e-05 7.574e-05 7.574e-05 0.01% MLMG::mgVcycle_down::4 82 7.168e-05 7.168e-05 7.168e-05 0.01% Castro::clean_state() 62 7.164e-05 7.164e-05 7.164e-05 0.01% MLMG::mgVcycle_down::3 82 6.989e-05 6.989e-05 6.989e-05 0.01% Castro::enforce_consistent_e() 1 6.897e-05 6.897e-05 6.897e-05 0.01% AmrLevel::checkPoint() 3 6.621e-05 6.621e-05 6.621e-05 0.01% Castro::finalize_advance() 10 6.591e-05 6.591e-05 6.591e-05 0.01% Castro::initialize_do_advance() 10 6.587e-05 6.587e-05 6.587e-05 0.01% MLMG::mgVcycle_up::4 82 6.145e-05 6.145e-05 6.145e-05 0.01% MLMG::oneIter() 82 5.415e-05 5.415e-05 5.415e-05 0.01% Castro::do_new_sources() 10 5.314e-05 5.314e-05 5.314e-05 0.01% MLCellLinOp::solutionResidual() 93 5.143e-05 5.143e-05 5.143e-05 0.01% MLMG::mgVcycle_up::0 82 5.138e-05 5.138e-05 5.138e-05 0.01% MLMG::mgVcycle_up::3 82 5.072e-05 5.072e-05 5.072e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.852e-05 4.852e-05 4.852e-05 0.01% Castro::do_advance_ctu() 10 4.848e-05 4.848e-05 4.848e-05 0.01% MLMG::mgVcycle_up::2 82 4.774e-05 4.774e-05 4.774e-05 0.01% MLMG::mgVcycle_up::1 82 4.737e-05 4.737e-05 4.737e-05 0.01% Castro::finalize_do_advance() 10 4.417e-05 4.417e-05 4.417e-05 0.00% StateData::define() 4 3.941e-05 3.941e-05 3.941e-05 0.00% Castro::swap_state_time_levels() 10 3.539e-05 3.539e-05 3.539e-05 0.00% FillPatchSingleLevel 41 3.522e-05 3.522e-05 3.522e-05 0.00% MLMG::computeResidual() 82 3.513e-05 3.513e-05 3.513e-05 0.00% Amr::defBaseLevel() 1 3.426e-05 3.426e-05 3.426e-05 0.00% MLMG::ResNormInf() 93 3.409e-05 3.409e-05 3.409e-05 0.00% MLMG::mgVcycle_bottom 82 3.386e-05 3.386e-05 3.386e-05 0.00% Castro::initMFs() 1 3.154e-05 3.154e-05 3.154e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.973e-05 2.973e-05 2.973e-05 0.00% Amr::writeSmallPlotFile() 1 2.906e-05 2.906e-05 2.906e-05 0.00% Castro::buildMetrics() 1 2.554e-05 2.554e-05 2.554e-05 0.00% Castro::construct_new_gravity() 10 2.472e-05 2.472e-05 2.472e-05 0.00% Castro::do_old_sources() 10 2.297e-05 2.297e-05 2.297e-05 0.00% makeSFC 55 2.225e-05 2.225e-05 2.225e-05 0.00% Amr::FinalizeInit() 1 2.158e-05 2.158e-05 2.158e-05 0.00% MLPoisson::define() 11 2.082e-05 2.082e-05 2.082e-05 0.00% Castro::construct_old_source() 50 1.958e-05 1.958e-05 1.958e-05 0.00% Castro::construct_new_source() 50 1.792e-05 1.792e-05 1.792e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.702e-05 1.702e-05 1.702e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.695e-05 1.695e-05 1.695e-05 0.00% DistributionMapping::Distribute() 56 1.679e-05 1.679e-05 1.679e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.421e-05 1.421e-05 1.421e-05 0.00% MLLinOp::define() 11 1.387e-05 1.387e-05 1.387e-05 0.00% Castro::check_for_nan() 20 1.271e-05 1.271e-05 1.271e-05 0.00% Amr::initSubcycle() 1 1.27e-05 1.27e-05 1.27e-05 0.00% Castro::construct_old_gravity() 10 1.236e-05 1.236e-05 1.236e-05 0.00% Castro::apply_source_to_state() 20 1.145e-05 1.145e-05 1.145e-05 0.00% Gravity::swapTimeLevels() 10 9.318e-06 9.318e-06 9.318e-06 0.00% Castro::post_init() 1 8.98e-06 8.98e-06 8.98e-06 0.00% MLMG::computeMLResidual() 11 8.338e-06 8.338e-06 8.338e-06 0.00% Castro::post_timestep() 10 7.973e-06 7.973e-06 7.973e-06 0.00% Gravity::actual_multilevel_solve() 1 7.885e-06 7.885e-06 7.885e-06 0.00% MLPoisson::prepareForSolve() 11 7.43e-06 7.43e-06 7.43e-06 0.00% Castro::computeNewDt() 9 7.067e-06 7.067e-06 7.067e-06 0.00% MLMG::getGradSolution() 11 6.369e-06 6.369e-06 6.369e-06 0.00% Castro::expand_state() 10 6.004e-06 6.004e-06 6.004e-06 0.00% AmrLevel::checkPointPost() 3 5.299e-06 5.299e-06 5.299e-06 0.00% Castro::retry_advance_ctu() 10 5.2e-06 5.2e-06 5.2e-06 0.00% Amr::InitializeInit() 1 4.707e-06 4.707e-06 4.707e-06 0.00% MLMG::MLRhsNormInf() 11 4.322e-06 4.322e-06 4.322e-06 0.00% Gravity::set_mass_offset() 11 4.199e-06 4.199e-06 4.199e-06 0.00% MLMG::MLResNormInf() 11 3.909e-06 3.909e-06 3.909e-06 0.00% Castro::FluxRegCrseInit 10 3.233e-06 3.233e-06 3.233e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.92e-06 2.92e-06 2.92e-06 0.00% Castro::computeInitialDt() 2 2.914e-06 2.914e-06 2.914e-06 0.00% Amr::init() 1 2.887e-06 2.887e-06 2.887e-06 0.00% AmrLevel::checkPointPre() 3 2.267e-06 2.267e-06 2.267e-06 0.00% Castro::FluxRegFineAdd() 10 2.192e-06 2.192e-06 2.192e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.027e-06 2.027e-06 2.027e-06 0.00% Castro::post_regrid() 1 1.311e-06 1.311e-06 1.311e-06 0.00% Amr::initialInit() 1 1.067e-06 1.067e-06 1.067e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9061 0.9061 0.9061 100.00% Amr::coarseTimeStep() 10 0.7431 0.7431 0.7431 82.01% Amr::timeStep() 10 0.6399 0.6399 0.6399 70.63% Castro::advance() 10 0.6298 0.6298 0.6298 69.51% Castro::subcycle_advance_ctu() 10 0.6162 0.6162 0.6162 68.01% Castro::do_advance_ctu() 10 0.616 0.616 0.616 67.98% Gravity::solve_phi_with_mlmg() 11 0.2919 0.2919 0.2919 32.22% Gravity::actual_solve_with_mlmg() 11 0.2823 0.2823 0.2823 31.16% Castro::construct_ctu_hydro_source() 10 0.2793 0.2793 0.2793 30.83% Castro::construct_new_gravity() 10 0.2626 0.2626 0.2626 28.98% MLMG::solve() 11 0.2609 0.2609 0.2609 28.79% Gravity::solve_for_phi() 10 0.2468 0.2468 0.2468 27.23% MLMG::oneIter() 82 0.2458 0.2458 0.2458 27.13% MLMG::mgVcycle() 82 0.2421 0.2421 0.2421 26.72% VisMF::Write(FabArray) 11 0.1994 0.1994 0.1994 22.01% Amr::checkPoint() 3 0.1503 0.1503 0.1503 16.59% AmrLevel::checkPoint() 3 0.1456 0.1456 0.1456 16.06% StateData::checkPoint() 12 0.1455 0.1455 0.1455 16.06% Amr::init() 1 0.1337 0.1337 0.1337 14.76% MLCellLinOp::smooth() 1640 0.1185 0.1185 0.1185 13.08% MLCellLinOp::applyBC() 4433 0.1108 0.1108 0.1108 12.23% MLMG::mgVcycle_bottom 82 0.07557 0.07557 0.07557 8.34% MLMG::actualBottomSolve() 82 0.07553 0.07553 0.07553 8.34% MLCGSolver::bicgstab 82 0.07482 0.07482 0.07482 8.26% Castro::clean_state() 62 0.05796 0.05796 0.05796 6.40% Amr::writePlotFile() 2 0.05653 0.05653 0.05653 6.24% Amr::initialInit() 1 0.05456 0.05456 0.05456 6.02% Amr::FinalizeInit() 1 0.04947 0.04947 0.04947 5.46% Castro::post_init() 1 0.04799 0.04799 0.04799 5.30% AmrLevel::FillPatch() 41 0.04689 0.04689 0.04689 5.17% Gravity::multilevel_solve_for_new_phi() 1 0.04564 0.04564 0.04564 5.04% Gravity::actual_multilevel_solve() 1 0.04562 0.04562 0.04562 5.04% FillPatchIterator::Initialize 41 0.04268 0.04268 0.04268 4.71% FillPatchIterator::FillFromLevel0() 41 0.04113 0.04113 0.04113 4.54% FillPatchSingleLevel 41 0.04108 0.04108 0.04108 4.53% MLCellLinOp::apply() 1142 0.03712 0.03712 0.03712 4.10% StateDataPhysBCFunct::() 41 0.03702 0.03702 0.03702 4.09% MLMG::mgVcycle_down::0 82 0.03413 0.03413 0.03413 3.77% MLPoisson::Fsmooth() 3280 0.03302 0.03302 0.03302 3.64% FabArray::FillBoundary() 4023 0.03274 0.03274 0.03274 3.61% FillBoundary_nowait() 4023 0.03193 0.03193 0.03193 3.52% StateData::FillBoundary(geom) 328 0.02629 0.02629 0.02629 2.90% MLMG::mgVcycle_up::0 82 0.02586 0.02586 0.02586 2.85% Castro::computeTemp() 63 0.02355 0.02355 0.02355 2.60% MLCellLinOp::correctionResidual() 492 0.02257 0.02257 0.02257 2.49% Castro::initialize_do_advance() 10 0.02174 0.02174 0.02174 2.40% amrex::Dot() 1114 0.02102 0.02102 0.02102 2.32% Castro::normalize_species() 62 0.02022 0.02022 0.02022 2.23% MLMG:computeResOfCorrection() 410 0.01988 0.01988 0.01988 2.19% Castro::do_old_sources() 10 0.01965 0.01965 0.01965 2.17% Gravity::get_new_grav_vector() 11 0.01771 0.01771 0.01771 1.95% MLPoisson::define() 11 0.01695 0.01695 0.01695 1.87% MLMG::mgVcycle_down::1 82 0.01617 0.01617 0.01617 1.79% amrex::Copy() 1029 0.01515 0.01515 0.01515 1.67% Castro::construct_old_gravity() 10 0.01509 0.01509 0.01509 1.67% Gravity::get_old_grav_vector() 10 0.01508 0.01508 0.01508 1.66% MLMG::mgVcycle_down::2 82 0.01505 0.01505 0.01505 1.66% FabArray::norminf() 743 0.0147 0.0147 0.0147 1.62% MLMG::mgVcycle_down::3 82 0.01466 0.01466 0.01466 1.62% FabArray::ParallelCopy() 861 0.01466 0.01466 0.01466 1.62% MLMG::mgVcycle_down::4 82 0.01446 0.01446 0.01446 1.60% FabArray::ParallelCopy_nowait() 861 0.01439 0.01439 0.01439 1.59% Castro::do_new_sources() 10 0.01416 0.01416 0.01416 1.56% FabArray::setVal() 1144 0.01344 0.01344 0.01344 1.48% Castro::initialize_advance() 10 0.01292 0.01292 0.01292 1.43% MLCGSolver::ParallelAllReduce 1514 0.0126 0.0126 0.0126 1.39% MLMG::addInterpCorrection() 410 0.01218 0.01218 0.01218 1.34% Castro::enforce_min_density() 62 0.01206 0.01206 0.01206 1.33% MLMG::mgVcycle_up::4 82 0.0117 0.0117 0.0117 1.29% MLMG::mgVcycle_up::1 82 0.01169 0.01169 0.01169 1.29% MLCellLinOp::defineAuxData() 11 0.01168 0.01168 0.01168 1.29% amrex::average_down 410 0.01153 0.01153 0.01153 1.27% Castro::expand_state() 10 0.01146 0.01146 0.01146 1.26% MLMG::mgVcycle_up::2 82 0.01142 0.01142 0.01142 1.26% MLMG::mgVcycle_up::3 82 0.01121 0.01121 0.01121 1.24% MLPoisson::Fapply() 1142 0.01061 0.01061 0.01061 1.17% Castro::post_timestep() 10 0.009941 0.009941 0.009941 1.10% Gravity::fill_multipole_BCs() 11 0.009372 0.009372 0.009372 1.03% FabArray::Saxpy() 813 0.008425 0.008425 0.008425 0.93% FabArray::Xpay() 821 0.008308 0.008308 0.008308 0.92% MLCellLinOp::solutionResidual() 93 0.007553 0.007553 0.007553 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006539 0.006539 0.006539 0.72% MLMG::computeResidual() 82 0.006292 0.006292 0.006292 0.69% Castro::estTimeStep() 21 0.006185 0.006185 0.006185 0.68% Amr::InitializeInit() 1 0.005093 0.005093 0.005093 0.56% Amr::defBaseLevel() 1 0.005088 0.005088 0.005088 0.56% MLCellLinOp::defineBC() 11 0.005034 0.005034 0.005034 0.56% MLMG::prepareForSolve() 11 0.005015 0.005015 0.005015 0.55% BndryData::define() 11 0.00482 0.00482 0.00482 0.53% FabArray::LinComb() 557 0.004655 0.004655 0.004655 0.51% amrex::Add() 164 0.004439 0.004439 0.004439 0.49% Castro::initData() 1 0.004417 0.004417 0.004417 0.49% Castro::construct_new_source() 50 0.003365 0.003365 0.003365 0.37% Castro::construct_new_gravity_source() 10 0.003347 0.003347 0.003347 0.37% Castro::enforce_speed_limit() 62 0.003015 0.003015 0.003015 0.33% Castro::construct_old_source() 50 0.002885 0.002885 0.002885 0.32% Castro::construct_old_gravity_source() 10 0.002865 0.002865 0.002865 0.32% Castro::computeNewDt() 9 0.002724 0.002724 0.002724 0.30% Castro::finalize_do_advance() 10 0.00247 0.00247 0.00247 0.27% MLMG::ResNormInf() 93 0.002168 0.002168 0.002168 0.24% Castro::apply_source_to_state() 20 0.001855 0.001855 0.001855 0.20% check_for_negative_density() 10 0.001811 0.001811 0.001811 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001755 0.001755 0.001755 0.19% Castro::reset_internal_energy(Fab) 504 0.001636 0.001636 0.001636 0.18% MLMG::getGradSolution() 11 0.001543 0.001543 0.001543 0.17% MLCellLinOp::compGrad() 11 0.001536 0.001536 0.001536 0.17% FabArrayBase::getCPC() 1323 0.001461 0.001461 0.001461 0.16% MLCellLinOp::setLevelBC() 11 0.001453 0.001453 0.001453 0.16% FabArray::mult() 43 0.001359 0.001359 0.001359 0.15% FabArray::setDomainBndry() 41 0.001336 0.001336 0.001336 0.15% MLMG::computeMLResidual() 11 0.001305 0.001305 0.001305 0.14% Castro::check_for_nan() 20 0.001291 0.001291 0.001291 0.14% MultiFab::contains_nan() 20 0.001278 0.001278 0.001278 0.14% MLPoisson::prepareForSolve() 11 0.001274 0.001274 0.001274 0.14% MLCellLinOp::prepareForSolve() 11 0.001267 0.001267 0.001267 0.14% Castro::post_regrid() 1 0.00118 0.00118 0.00118 0.13% Castro::computeInitialDt() 2 0.001044 0.001044 0.001044 0.12% Gravity::update_max_rhs() 11 0.000982 0.000982 0.000982 0.11% FabArrayBase::getFB() 4023 0.0007146 0.0007146 0.0007146 0.08% FabArrayBase::CPC::define() 454 0.0006871 0.0006871 0.0006871 0.08% Castro::finalize_advance() 10 0.0005976 0.0005976 0.0005976 0.07% Castro::Castro() 1 0.0005759 0.0005759 0.0005759 0.06% Amr::InitAmr() 1 0.0005356 0.0005356 0.0005356 0.06% Gravity::swapTimeLevels() 10 0.0004404 0.0004404 0.0004404 0.05% MLMG::MLResNormInf() 11 0.0003298 0.0003298 0.0003298 0.04% MultiFab::max() 11 0.0003269 0.0003269 0.0003269 0.04% Castro::buildMetrics() 1 0.0002683 0.0002683 0.0002683 0.03% MLMG::MLRhsNormInf() 11 0.0002226 0.0002226 0.0002226 0.02% MLLinOp::define() 11 0.0002133 0.0002133 0.0002133 0.02% MLLinOp::defineGrids() 11 0.0001994 0.0001994 0.0001994 0.02% Castro::create_source_corrector() 10 0.0001553 0.0001553 0.0001553 0.02% FabArrayBase::FB::FB() 56 9.755e-05 9.755e-05 9.755e-05 0.01% Castro::enforce_consistent_e() 1 6.897e-05 6.897e-05 6.897e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.643e-05 5.643e-05 5.643e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.192e-05 5.192e-05 5.192e-05 0.01% StateData::define() 4 3.941e-05 3.941e-05 3.941e-05 0.00% makeSFC 55 3.771e-05 3.771e-05 3.771e-05 0.00% Castro::swap_state_time_levels() 10 3.539e-05 3.539e-05 3.539e-05 0.00% Castro::initMFs() 1 3.154e-05 3.154e-05 3.154e-05 0.00% Amr::writeSmallPlotFile() 1 2.906e-05 2.906e-05 2.906e-05 0.00% DistributionMapping::Distribute() 56 1.679e-05 1.679e-05 1.679e-05 0.00% Amr::initSubcycle() 1 1.27e-05 1.27e-05 1.27e-05 0.00% AmrLevel::checkPointPost() 3 5.299e-06 5.299e-06 5.299e-06 0.00% Castro::retry_advance_ctu() 10 5.2e-06 5.2e-06 5.2e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.258e-06 4.258e-06 4.258e-06 0.00% Gravity::set_mass_offset() 11 4.199e-06 4.199e-06 4.199e-06 0.00% Castro::FluxRegCrseInit 10 3.233e-06 3.233e-06 3.233e-06 0.00% AmrLevel::checkPointPre() 3 2.267e-06 2.267e-06 2.267e-06 0.00% Castro::FluxRegFineAdd() 10 2.192e-06 2.192e-06 2.192e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.027e-06 2.027e-06 2.027e-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 144 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 138 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 1001 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1756 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 3541 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 203 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 170 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 2102 B 2048 KiB Gravity::solve_for_phi() 80 80 557 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3330 B 480 KiB VisMF::Write(FabArray) 656 656 3405 B 320 KiB Castro::normalize_species() 62 62 7269 B 320 KiB amrex::average_down 1067 1067 1266 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1151 B 257 KiB amrex::Dot() 1360 1360 3408 B 160 KiB FabArray::norminf() 907 907 2393 B 160 KiB check_for_negative_density() 10 10 312 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3457 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 8866 8866 222 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B StateData::FillBoundary(geom) 1992 1992 39 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 120 B 1472 B MLCellLinOp::defineBC() 66 66 364 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 528 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 501 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3457 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 301 B 9648 B MLCellLinOp::applyBC() 4433 4433 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B Gravity::get_new_grav_vector() 3 3 2888 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 39 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 295 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-49-g22908d8ad214) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-49-g22908d8ad214) initialized Starting run at 07:32:24 UTC on 2023-08-29. Successfully read inputs file ... Castro git describe: 23.08-7-gf1b93be75 AMReX git describe: 23.08-49-g22908d8ad Microphysics git describe: 23.08-17-g5e610453 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.505205545 Restart time = 0.048269421 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.055421842 [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.04936552 [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.085115512 [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.082235448 [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.061396138 [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.02905699 seconds Ending run at 07:32:24 UTC on 2023-08-29. Run time = 0.411882132 Run time without initialization = 0.363002032 Average number of zones advanced per microsecond: 3.611 Average number of zones advanced per microsecond per rank: 3.611 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4119 ... 0.4119 ... 0.4119 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1455 0.1455 0.1455 35.31% VisMF::Read() 3 0.03687 0.03687 0.03687 8.95% MLCellLinOp::applyBC() 1946 0.03381 0.03381 0.03381 8.21% VisMF::Write(FabArray) 1 0.02772 0.02772 0.02772 6.73% MLPoisson::Fsmooth() 1440 0.0144 0.0144 0.0144 3.49% FillBoundary_nowait() 1766 0.01292 0.01292 0.01292 3.14% StateData::FillBoundary(geom) 160 0.0129 0.0129 0.0129 3.13% Castro::normalize_species() 30 0.01013 0.01013 0.01013 2.46% amrex::Dot() 484 0.009073 0.009073 0.009073 2.20% amrex::Copy() 463 0.007305 0.007305 0.007305 1.77% FabArray::setVal() 537 0.006597 0.006597 0.006597 1.60% FabArray::norminf() 326 0.006474 0.006474 0.006474 1.57% FabArray::ParallelCopy_nowait() 380 0.006189 0.006189 0.006189 1.50% Castro::computeTemp() 30 0.005947 0.005947 0.005947 1.44% Gravity::fill_multipole_BCs() 6 0.005653 0.005653 0.005653 1.37% MLCellLinOp::defineAuxData() 6 0.005431 0.005431 0.005431 1.32% StateDataPhysBCFunct::() 20 0.004779 0.004779 0.004779 1.16% Amr::restart() 1 0.004698 0.004698 0.004698 1.14% MLPoisson::Fapply() 500 0.004639 0.004639 0.004639 1.13% Castro::enforce_min_density() 30 0.004428 0.004428 0.004428 1.08% FabArray::Saxpy() 355 0.003788 0.003788 0.003788 0.92% FabArray::Xpay() 361 0.003653 0.003653 0.003653 0.89% MLMG::addInterpCorrection() 180 0.003089 0.003089 0.003089 0.75% Castro::estTimeStep() 10 0.003002 0.003002 0.003002 0.73% amrex::average_down 180 0.002737 0.002737 0.002737 0.66% FabArray::LinComb() 242 0.002316 0.002316 0.002316 0.56% BndryData::define() 6 0.00208 0.00208 0.00208 0.50% Castro::reset_internal_energy(MultiFab) 30 0.001951 0.001951 0.001951 0.47% amrex::Add() 72 0.001901 0.001901 0.001901 0.46% Castro::construct_new_gravity_source() 5 0.00174 0.00174 0.00174 0.42% Castro::construct_old_gravity_source() 5 0.001501 0.001501 0.001501 0.36% Castro::enforce_speed_limit() 30 0.001407 0.001407 0.001407 0.34% Amr::writePlotFile() 1 0.00118 0.00118 0.00118 0.29% MLCGSolver::bicgstab 36 0.0009878 0.0009878 0.0009878 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009555 0.0009555 0.0009555 0.23% check_for_negative_density() 5 0.000937 0.000937 0.000937 0.23% Castro::reset_internal_energy(Fab) 240 0.0008612 0.0008612 0.0008612 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008134 0.0008134 0.0008134 0.20% MLCellLinOp::setLevelBC() 6 0.0007981 0.0007981 0.0007981 0.19% MLCellLinOp::prepareForSolve() 6 0.0007272 0.0007272 0.0007272 0.18% FabArray::mult() 22 0.0006865 0.0006865 0.0006865 0.17% FabArray::setDomainBndry() 20 0.000683 0.000683 0.000683 0.17% MultiFab::contains_nan() 10 0.0006589 0.0006589 0.0006589 0.16% MLCellLinOp::compGrad() 6 0.0005877 0.0005877 0.0005877 0.14% MLMG::prepareForSolve() 6 0.0005482 0.0005482 0.0005482 0.13% MLCellLinOp::smooth() 720 0.000513 0.000513 0.000513 0.12% FabArrayBase::CPC::define() 244 0.0004384 0.0004384 0.0004384 0.11% Amr::InitAmr() 1 0.000433 0.000433 0.000433 0.11% FabArrayBase::getCPC() 632 0.0003671 0.0003671 0.0003671 0.09% Gravity::get_old_grav_vector() 5 0.0003599 0.0003599 0.0003599 0.09% FabArray::FillBoundary() 1766 0.0003511 0.0003511 0.0003511 0.09% Gravity::get_new_grav_vector() 5 0.0003152 0.0003152 0.0003152 0.08% FabArrayBase::getFB() 1766 0.0002661 0.0002661 0.0002661 0.06% main() 1 0.0002552 0.0002552 0.0002552 0.06% MultiFab::max() 6 0.0002057 0.0002057 0.0002057 0.05% MLCellLinOp::apply() 500 0.0002003 0.0002003 0.0002003 0.05% AmrLevel::FillPatch() 20 0.000159 0.000159 0.000159 0.04% Amr::coarseTimeStep() 5 0.0001509 0.0001509 0.0001509 0.04% Castro::construct_new_source() 25 0.0001395 0.0001395 0.0001395 0.03% MLCGSolver::ParallelAllReduce 659 0.0001271 0.0001271 0.0001271 0.03% FabArray::ParallelCopy() 380 0.0001188 0.0001188 0.0001188 0.03% MLCellLinOp::defineBC() 6 0.000111 0.000111 0.000111 0.03% FillPatchIterator::Initialize 20 0.0001037 0.0001037 0.0001037 0.03% Castro::create_source_corrector() 5 0.0001015 0.0001015 0.0001015 0.02% Castro::subcycle_advance_ctu() 5 9.929e-05 9.929e-05 9.929e-05 0.02% MLCellLinOp::correctionResidual() 216 9.771e-05 9.771e-05 9.771e-05 0.02% MLLinOp::defineGrids() 6 9.438e-05 9.438e-05 9.438e-05 0.02% Castro::finalize_do_advance() 5 9.286e-05 9.286e-05 9.286e-05 0.02% MLMG::mgVcycle() 36 8.648e-05 8.648e-05 8.648e-05 0.02% Amr::timeStep() 5 8.117e-05 8.117e-05 8.117e-05 0.02% Castro::advance() 5 7.642e-05 7.642e-05 7.642e-05 0.02% AmrLevel::restart() 1 7.559e-05 7.559e-05 7.559e-05 0.02% Castro::do_advance_ctu() 5 6.594e-05 6.594e-05 6.594e-05 0.02% Castro::initialize_do_advance() 5 6.295e-05 6.295e-05 6.295e-05 0.02% Gravity::update_max_rhs() 6 6.27e-05 6.27e-05 6.27e-05 0.02% Gravity::solve_for_phi() 5 6.202e-05 6.202e-05 6.202e-05 0.02% StateData::restartDoit() 4 5.969e-05 5.969e-05 5.969e-05 0.01% FabArrayBase::FB::FB() 26 5.924e-05 5.924e-05 5.924e-05 0.01% MLMG:computeResOfCorrection() 180 5.198e-05 5.198e-05 5.198e-05 0.01% Castro::construct_old_source() 25 4.701e-05 4.701e-05 4.701e-05 0.01% Castro::do_new_sources() 5 4.668e-05 4.668e-05 4.668e-05 0.01% MLMG::actualBottomSolve() 36 4.615e-05 4.615e-05 4.615e-05 0.01% Castro::initialize_advance() 5 4.45e-05 4.45e-05 4.45e-05 0.01% MLMG::mgVcycle_down::0 36 3.958e-05 3.958e-05 3.958e-05 0.01% MLMG::solve() 6 3.563e-05 3.563e-05 3.563e-05 0.01% Castro::clean_state() 30 3.462e-05 3.462e-05 3.462e-05 0.01% MLMG::mgVcycle_down::1 36 3.381e-05 3.381e-05 3.381e-05 0.01% Castro::do_old_sources() 5 3.17e-05 3.17e-05 3.17e-05 0.01% MLMG::mgVcycle_down::2 36 3.169e-05 3.169e-05 3.169e-05 0.01% MLMG::mgVcycle_down::4 36 3.083e-05 3.083e-05 3.083e-05 0.01% Castro::finalize_advance() 5 2.992e-05 2.992e-05 2.992e-05 0.01% MLMG::mgVcycle_down::3 36 2.98e-05 2.98e-05 2.98e-05 0.01% Amr::writeSmallPlotFile() 1 2.915e-05 2.915e-05 2.915e-05 0.01% MLMG::mgVcycle_up::4 36 2.861e-05 2.861e-05 2.861e-05 0.01% Castro::computeNewDt() 5 2.694e-05 2.694e-05 2.694e-05 0.01% Castro::buildMetrics() 1 2.662e-05 2.662e-05 2.662e-05 0.01% Castro::post_restart() 1 2.648e-05 2.648e-05 2.648e-05 0.01% Castro::initMFs() 1 2.432e-05 2.432e-05 2.432e-05 0.01% MLMG::oneIter() 36 2.395e-05 2.395e-05 2.395e-05 0.01% Castro::swap_state_time_levels() 5 2.388e-05 2.388e-05 2.388e-05 0.01% MLCellLinOp::solutionResidual() 42 2.366e-05 2.366e-05 2.366e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.246e-05 2.246e-05 2.246e-05 0.01% MLMG::mgVcycle_up::0 36 2.215e-05 2.215e-05 2.215e-05 0.01% MLMG::mgVcycle_up::3 36 2.165e-05 2.165e-05 2.165e-05 0.01% MLMG::mgVcycle_up::2 36 2.123e-05 2.123e-05 2.123e-05 0.01% MLMG::mgVcycle_up::1 36 2.032e-05 2.032e-05 2.032e-05 0.00% MLMG::ResNormInf() 42 1.781e-05 1.781e-05 1.781e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.682e-05 1.682e-05 1.682e-05 0.00% MLMG::mgVcycle_bottom 36 1.617e-05 1.617e-05 1.617e-05 0.00% FillPatchSingleLevel 20 1.471e-05 1.471e-05 1.471e-05 0.00% MLMG::computeResidual() 36 1.466e-05 1.466e-05 1.466e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.358e-05 1.358e-05 1.358e-05 0.00% MLPoisson::define() 6 1.298e-05 1.298e-05 1.298e-05 0.00% Castro::construct_new_gravity() 5 1.273e-05 1.273e-05 1.273e-05 0.00% makeSFC 30 1.231e-05 1.231e-05 1.231e-05 0.00% MLLinOp::define() 6 1.021e-05 1.021e-05 1.021e-05 0.00% Amr::initSubcycle() 1 1.005e-05 1.005e-05 1.005e-05 0.00% DistributionMapping::Distribute() 31 9.413e-06 9.413e-06 9.413e-06 0.00% MLMG::getGradSolution() 6 8.558e-06 8.558e-06 8.558e-06 0.00% Gravity::actual_multilevel_solve() 1 8.038e-06 8.038e-06 8.038e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.976e-06 7.976e-06 7.976e-06 0.00% Castro::apply_source_to_state() 10 6.242e-06 6.242e-06 6.242e-06 0.00% Castro::construct_old_gravity() 5 6.222e-06 6.222e-06 6.222e-06 0.00% Castro::check_for_nan() 10 5.768e-06 5.768e-06 5.768e-06 0.00% Castro::post_timestep() 5 4.706e-06 4.706e-06 4.706e-06 0.00% Gravity::swapTimeLevels() 5 4.328e-06 4.328e-06 4.328e-06 0.00% MLMG::computeMLResidual() 6 4.113e-06 4.113e-06 4.113e-06 0.00% MLPoisson::prepareForSolve() 6 3.997e-06 3.997e-06 3.997e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.018e-06 3.018e-06 3.018e-06 0.00% Castro::expand_state() 5 2.789e-06 2.789e-06 2.789e-06 0.00% MLMG::MLRhsNormInf() 6 2.406e-06 2.406e-06 2.406e-06 0.00% MLMG::MLResNormInf() 6 2.269e-06 2.269e-06 2.269e-06 0.00% Castro::retry_advance_ctu() 5 2.218e-06 2.218e-06 2.218e-06 0.00% Gravity::set_mass_offset() 6 2.099e-06 2.099e-06 2.099e-06 0.00% Castro::FluxRegCrseInit 5 1.682e-06 1.682e-06 1.682e-06 0.00% Castro::FluxRegFineAdd() 5 1.144e-06 1.144e-06 1.144e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.12e-06 1.12e-06 1.12e-06 0.00% Amr::init() 1 1.03e-06 1.03e-06 1.03e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4119 0.4119 0.4119 100.00% Amr::coarseTimeStep() 5 0.3337 0.3337 0.3337 81.01% Amr::timeStep() 5 0.3315 0.3315 0.3315 80.48% Castro::advance() 5 0.3271 0.3271 0.3271 79.42% Castro::subcycle_advance_ctu() 5 0.3196 0.3196 0.3196 77.59% Castro::do_advance_ctu() 5 0.3195 0.3195 0.3195 77.57% Castro::construct_ctu_hydro_source() 5 0.1507 0.1507 0.1507 36.60% Castro::construct_new_gravity() 5 0.1337 0.1337 0.1337 32.45% Gravity::solve_phi_with_mlmg() 6 0.1313 0.1313 0.1313 31.87% Gravity::solve_for_phi() 5 0.1256 0.1256 0.1256 30.50% Gravity::actual_solve_with_mlmg() 6 0.1254 0.1254 0.1254 30.44% MLMG::solve() 6 0.1137 0.1137 0.1137 27.61% MLMG::oneIter() 36 0.1063 0.1063 0.1063 25.81% MLMG::mgVcycle() 36 0.1047 0.1047 0.1047 25.43% MLCellLinOp::smooth() 720 0.05072 0.05072 0.05072 12.31% Amr::init() 1 0.04833 0.04833 0.04833 11.73% Amr::restart() 1 0.04833 0.04833 0.04833 11.73% MLCellLinOp::applyBC() 1946 0.0474 0.0474 0.0474 11.51% AmrLevel::restart() 1 0.03721 0.03721 0.03721 9.03% StateData::restartDoit() 4 0.03713 0.03713 0.03713 9.01% VisMF::Read() 3 0.03687 0.03687 0.03687 8.95% MLMG::mgVcycle_bottom 36 0.03297 0.03297 0.03297 8.01% MLMG::actualBottomSolve() 36 0.03296 0.03296 0.03296 8.00% MLCGSolver::bicgstab 36 0.03264 0.03264 0.03264 7.92% Amr::writePlotFile() 1 0.02915 0.02915 0.02915 7.08% VisMF::Write(FabArray) 1 0.02772 0.02772 0.02772 6.73% Castro::clean_state() 30 0.02475 0.02475 0.02475 6.01% AmrLevel::FillPatch() 20 0.0226 0.0226 0.0226 5.49% FillPatchIterator::Initialize 20 0.02054 0.02054 0.02054 4.99% FillPatchIterator::FillFromLevel0() 20 0.01975 0.01975 0.01975 4.80% FillPatchSingleLevel 20 0.01973 0.01973 0.01973 4.79% StateDataPhysBCFunct::() 20 0.01768 0.01768 0.01768 4.29% MLCellLinOp::apply() 500 0.01614 0.01614 0.01614 3.92% MLMG::mgVcycle_down::0 36 0.01458 0.01458 0.01458 3.54% MLPoisson::Fsmooth() 1440 0.0144 0.0144 0.0144 3.49% FabArray::FillBoundary() 1766 0.01359 0.01359 0.01359 3.30% FillBoundary_nowait() 1766 0.01324 0.01324 0.01324 3.21% StateData::FillBoundary(geom) 160 0.0129 0.0129 0.0129 3.13% MLMG::mgVcycle_up::0 36 0.0109 0.0109 0.0109 2.65% Castro::normalize_species() 30 0.01013 0.01013 0.01013 2.46% Castro::initialize_do_advance() 5 0.009981 0.009981 0.009981 2.42% MLCellLinOp::correctionResidual() 216 0.009755 0.009755 0.009755 2.37% MLPoisson::define() 6 0.009131 0.009131 0.009131 2.22% amrex::Dot() 484 0.009073 0.009073 0.009073 2.20% Castro::computeTemp() 30 0.008758 0.008758 0.008758 2.13% Castro::do_old_sources() 5 0.00862 0.00862 0.00862 2.09% MLMG:computeResOfCorrection() 180 0.008576 0.008576 0.008576 2.08% Gravity::get_new_grav_vector() 5 0.007927 0.007927 0.007927 1.92% Castro::construct_old_gravity() 5 0.007621 0.007621 0.007621 1.85% Gravity::get_old_grav_vector() 5 0.007615 0.007615 0.007615 1.85% amrex::Copy() 463 0.007305 0.007305 0.007305 1.77% Castro::do_new_sources() 5 0.007243 0.007243 0.007243 1.76% Castro::initialize_advance() 5 0.007146 0.007146 0.007146 1.73% MLMG::mgVcycle_down::1 36 0.007132 0.007132 0.007132 1.73% FabArray::ParallelCopy() 380 0.006707 0.006707 0.006707 1.63% FabArray::setVal() 537 0.006597 0.006597 0.006597 1.60% FabArray::ParallelCopy_nowait() 380 0.006588 0.006588 0.006588 1.60% MLMG::mgVcycle_down::2 36 0.006483 0.006483 0.006483 1.57% FabArray::norminf() 326 0.006474 0.006474 0.006474 1.57% MLMG::mgVcycle_down::3 36 0.006357 0.006357 0.006357 1.54% MLMG::mgVcycle_down::4 36 0.006275 0.006275 0.006275 1.52% Castro::post_restart() 1 0.006242 0.006242 0.006242 1.52% MLCellLinOp::defineAuxData() 6 0.006217 0.006217 0.006217 1.51% Gravity::multilevel_solve_for_new_phi() 1 0.005879 0.005879 0.005879 1.43% Gravity::actual_multilevel_solve() 1 0.005862 0.005862 0.005862 1.42% Castro::expand_state() 5 0.005847 0.005847 0.005847 1.42% Gravity::fill_multipole_BCs() 6 0.005777 0.005777 0.005777 1.40% MLCGSolver::ParallelAllReduce 659 0.005486 0.005486 0.005486 1.33% MLMG::addInterpCorrection() 180 0.005402 0.005402 0.005402 1.31% MLMG::mgVcycle_up::4 36 0.005116 0.005116 0.005116 1.24% amrex::average_down 180 0.005089 0.005089 0.005089 1.24% MLMG::mgVcycle_up::1 36 0.00506 0.00506 0.00506 1.23% MLMG::mgVcycle_up::2 36 0.004941 0.004941 0.004941 1.20% MLMG::mgVcycle_up::3 36 0.004843 0.004843 0.004843 1.18% MLPoisson::Fapply() 500 0.004639 0.004639 0.004639 1.13% Castro::enforce_min_density() 30 0.004428 0.004428 0.004428 1.08% Castro::post_timestep() 5 0.004265 0.004265 0.004265 1.04% FabArray::Saxpy() 355 0.003788 0.003788 0.003788 0.92% FabArray::Xpay() 361 0.003653 0.003653 0.003653 0.89% MLCellLinOp::solutionResidual() 42 0.00348 0.00348 0.00348 0.84% Castro::estTimeStep() 10 0.003002 0.003002 0.003002 0.73% Castro::reset_internal_energy(MultiFab) 30 0.002812 0.002812 0.002812 0.68% MLMG::prepareForSolve() 6 0.002787 0.002787 0.002787 0.68% MLCellLinOp::defineBC() 6 0.002767 0.002767 0.002767 0.67% MLMG::computeResidual() 36 0.002722 0.002722 0.002722 0.66% BndryData::define() 6 0.002656 0.002656 0.002656 0.64% FabArray::LinComb() 242 0.002316 0.002316 0.002316 0.56% Castro::computeNewDt() 5 0.002031 0.002031 0.002031 0.49% amrex::Add() 72 0.001901 0.001901 0.001901 0.46% Castro::construct_new_source() 25 0.001879 0.001879 0.001879 0.46% Castro::construct_new_gravity_source() 5 0.00174 0.00174 0.00174 0.42% Castro::construct_old_source() 25 0.001548 0.001548 0.001548 0.38% Castro::construct_old_gravity_source() 5 0.001501 0.001501 0.001501 0.36% Castro::enforce_speed_limit() 30 0.001407 0.001407 0.001407 0.34% Castro::finalize_do_advance() 5 0.001091 0.001091 0.001091 0.26% MLMG::ResNormInf() 42 0.001009 0.001009 0.001009 0.25% Castro::apply_source_to_state() 10 0.0009642 0.0009642 0.0009642 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009555 0.0009555 0.0009555 0.23% check_for_negative_density() 5 0.000937 0.000937 0.000937 0.23% MLMG::getGradSolution() 6 0.0008761 0.0008761 0.0008761 0.21% MLCellLinOp::compGrad() 6 0.0008676 0.0008676 0.0008676 0.21% Castro::reset_internal_energy(Fab) 240 0.0008612 0.0008612 0.0008612 0.21% FabArrayBase::getCPC() 632 0.0008056 0.0008056 0.0008056 0.20% MLCellLinOp::setLevelBC() 6 0.0007981 0.0007981 0.0007981 0.19% MLMG::computeMLResidual() 6 0.0007766 0.0007766 0.0007766 0.19% MLPoisson::prepareForSolve() 6 0.0007312 0.0007312 0.0007312 0.18% MLCellLinOp::prepareForSolve() 6 0.0007272 0.0007272 0.0007272 0.18% Gravity::update_max_rhs() 6 0.0007061 0.0007061 0.0007061 0.17% FabArray::mult() 22 0.0006865 0.0006865 0.0006865 0.17% FabArray::setDomainBndry() 20 0.000683 0.000683 0.000683 0.17% Castro::check_for_nan() 10 0.0006647 0.0006647 0.0006647 0.16% MultiFab::contains_nan() 10 0.0006589 0.0006589 0.0006589 0.16% Amr::InitAmr() 1 0.0004431 0.0004431 0.0004431 0.11% FabArrayBase::CPC::define() 244 0.0004384 0.0004384 0.0004384 0.11% FabArrayBase::getFB() 1766 0.0003253 0.0003253 0.0003253 0.08% Castro::finalize_advance() 5 0.0003089 0.0003089 0.0003089 0.07% Gravity::swapTimeLevels() 5 0.000232 0.000232 0.000232 0.06% MultiFab::max() 6 0.0002057 0.0002057 0.0002057 0.05% MLMG::MLResNormInf() 6 0.0001982 0.0001982 0.0001982 0.05% Castro::buildMetrics() 1 0.0001567 0.0001567 0.0001567 0.04% MLLinOp::define() 6 0.0001339 0.0001339 0.0001339 0.03% MLLinOp::defineGrids() 6 0.0001237 0.0001237 0.0001237 0.03% MLMG::MLRhsNormInf() 6 0.0001198 0.0001198 0.0001198 0.03% Castro::create_source_corrector() 5 0.0001015 0.0001015 0.0001015 0.02% FabArrayBase::FB::FB() 26 5.924e-05 5.924e-05 5.924e-05 0.01% Amr::writeSmallPlotFile() 1 2.915e-05 2.915e-05 2.915e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.815e-05 2.815e-05 2.815e-05 0.01% Castro::initMFs() 1 2.432e-05 2.432e-05 2.432e-05 0.01% Castro::swap_state_time_levels() 5 2.388e-05 2.388e-05 2.388e-05 0.01% makeSFC 30 2.018e-05 2.018e-05 2.018e-05 0.00% Amr::initSubcycle() 1 1.005e-05 1.005e-05 1.005e-05 0.00% DistributionMapping::Distribute() 31 9.413e-06 9.413e-06 9.413e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.565e-06 4.565e-06 4.565e-06 0.00% Castro::retry_advance_ctu() 5 2.218e-06 2.218e-06 2.218e-06 0.00% Gravity::set_mass_offset() 6 2.099e-06 2.099e-06 2.099e-06 0.00% Castro::FluxRegCrseInit 5 1.682e-06 1.682e-06 1.682e-06 0.00% Castro::FluxRegFineAdd() 5 1.144e-06 1.144e-06 1.144e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.12e-06 1.12e-06 1.12e-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 203 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 163 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 1087 KiB 39 MiB Castro::initialize_do_advance() 40 40 30 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1987 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 6793 KiB 14 MiB MLMG::prepareForSolve() 361 361 3389 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 191 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 196 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6780 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3409 B 2048 KiB Gravity::solve_for_phi() 40 40 623 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 312 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 3459 B 480 KiB VisMF::Write(FabArray) 112 112 1332 B 320 KiB Castro::normalize_species() 30 30 8002 B 320 KiB amrex::average_down 469 469 1203 B 257 KiB MLMG::addInterpCorrection() 468 468 1115 B 257 KiB amrex::Dot() 592 592 3245 B 160 KiB FabArray::norminf() 398 398 2319 B 160 KiB check_for_negative_density() 5 5 364 B 160 KiB MultiFab::max() 6 6 78 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3285 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 271 B 9648 B MLCellLinOp::applyBC() 3892 3892 213 B 9344 B amrex::Copy() 56 56 5971 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 115 B 1472 B MLCellLinOp::defineBC() 36 36 350 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1251 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 85 KiB 8192 KiB VisMF::Write(FabArray) 120 120 194 KiB 3584 KiB VisMF::Read() 24 24 176 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3285 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 272 B 9648 B MLCellLinOp::applyBC() 1946 1946 213 B 9328 B amrex::Copy() 56 56 5971 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2662 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 523 B 1296 B amrex::average_down 37 37 223 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): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.08-49-g22908d8ad214) finalized