Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-54-g5141e75e5b29) initialized Starting run at 07:41:00 UTC on 2023-08-01. Successfully read inputs file ... Castro git describe: 23.07-20-g4174f17eb AMReX git describe: 23.07-54-g5141e75e5 Microphysics git describe: 23.07-48-g588beb9c 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.057215279 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.032886244 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.046980297 [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.050950937 [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.072946479 [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.075946941 [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.059469552 [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.056813795 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.068248589 [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.080143438 [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.07389576 [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.057579402 [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.06392858 [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.056626743 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032787081 seconds Ending run at 07:41:01 UTC on 2023-08-01. Run time = 0.935200103 Run time without initialization = 0.796942157 Average number of zones advanced per microsecond: 3.289 Average number of zones advanced per microsecond per rank: 3.289 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9352 ... 0.9352 ... 0.9352 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2743 0.2743 0.2743 29.33% VisMF::Write(FabArray) 11 0.2295 0.2295 0.2295 24.54% MLCellLinOp::applyBC() 4433 0.07476 0.07476 0.07476 7.99% StateDataPhysBCFunct::() 41 0.03185 0.03185 0.03185 3.41% FillBoundary_nowait() 4023 0.03158 0.03158 0.03158 3.38% MLPoisson::Fsmooth() 3280 0.03137 0.03137 0.03137 3.35% StateData::FillBoundary(geom) 328 0.02161 0.02161 0.02161 2.31% amrex::Dot() 1114 0.01989 0.01989 0.01989 2.13% Castro::normalize_species() 62 0.01895 0.01895 0.01895 2.03% amrex::Copy() 1029 0.01455 0.01455 0.01455 1.56% Castro::computeTemp() 63 0.01422 0.01422 0.01422 1.52% FabArray::norminf() 743 0.01395 0.01395 0.01395 1.49% FabArray::ParallelCopy_nowait() 861 0.01321 0.01321 0.01321 1.41% FabArray::setVal() 1144 0.01274 0.01274 0.01274 1.36% MLPoisson::Fapply() 1142 0.01004 0.01004 0.01004 1.07% Castro::enforce_min_density() 62 0.00983 0.00983 0.00983 1.05% MLCellLinOp::defineAuxData() 11 0.009217 0.009217 0.009217 0.99% FabArray::Saxpy() 813 0.007893 0.007893 0.007893 0.84% FabArray::Xpay() 821 0.007862 0.007862 0.007862 0.84% MLMG::addInterpCorrection() 410 0.006578 0.006578 0.006578 0.70% Gravity::fill_multipole_BCs() 11 0.006563 0.006563 0.006563 0.70% Castro::estTimeStep() 21 0.006004 0.006004 0.006004 0.64% amrex::average_down 410 0.005824 0.005824 0.005824 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005201 0.005201 0.005201 0.56% FabArray::LinComb() 557 0.004371 0.004371 0.004371 0.47% amrex::Add() 164 0.004304 0.004304 0.004304 0.46% Amr::checkPoint() 3 0.003975 0.003975 0.003975 0.43% BndryData::define() 11 0.003489 0.003489 0.003489 0.37% Castro::enforce_speed_limit() 62 0.003298 0.003298 0.003298 0.35% Castro::construct_new_gravity_source() 10 0.003171 0.003171 0.003171 0.34% Castro::construct_old_gravity_source() 10 0.002726 0.002726 0.002726 0.29% Amr::writePlotFile() 2 0.00234 0.00234 0.00234 0.25% MLCGSolver::bicgstab 82 0.00213 0.00213 0.00213 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001623 0.001623 0.001623 0.17% Gravity::actual_solve_with_mlmg() 11 0.001489 0.001489 0.001489 0.16% Castro::reset_internal_energy(Fab) 504 0.001468 0.001468 0.001468 0.16% check_for_negative_density() 10 0.001463 0.001463 0.001463 0.16% MLCellLinOp::setLevelBC() 11 0.001345 0.001345 0.001345 0.14% FabArray::mult() 43 0.001312 0.001312 0.001312 0.14% FabArray::setDomainBndry() 41 0.001277 0.001277 0.001277 0.14% Castro::initData() 1 0.001247 0.001247 0.001247 0.13% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.13% MLCellLinOp::smooth() 1640 0.001129 0.001129 0.001129 0.12% MLCellLinOp::prepareForSolve() 11 0.001081 0.001081 0.001081 0.12% MLCellLinOp::compGrad() 11 0.0008941 0.0008941 0.0008941 0.10% FabArray::FillBoundary() 4023 0.0008601 0.0008601 0.0008601 0.09% MLMG::prepareForSolve() 11 0.0008521 0.0008521 0.0008521 0.09% FabArrayBase::getCPC() 1323 0.0007517 0.0007517 0.0007517 0.08% FabArrayBase::CPC::define() 454 0.0006637 0.0006637 0.0006637 0.07% FabArrayBase::getFB() 4023 0.0006505 0.0006505 0.0006505 0.07% Gravity::get_new_grav_vector() 11 0.0005395 0.0005395 0.0005395 0.06% Gravity::get_old_grav_vector() 10 0.0004804 0.0004804 0.0004804 0.05% MLCellLinOp::apply() 1142 0.0004649 0.0004649 0.0004649 0.05% Amr::InitAmr() 1 0.0004611 0.0004611 0.0004611 0.05% MLLinOp::defineGrids() 11 0.0003831 0.0003831 0.0003831 0.04% Amr::coarseTimeStep() 10 0.000346 0.000346 0.000346 0.04% MLMG::mgVcycle() 82 0.0003416 0.0003416 0.0003416 0.04% AmrLevel::FillPatch() 41 0.0003242 0.0003242 0.0003242 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002924 0.0002924 0.0002924 0.03% main() 1 0.0002854 0.0002854 0.0002854 0.03% MultiFab::max() 11 0.000256 0.000256 0.000256 0.03% FabArray::ParallelCopy() 861 0.0002341 0.0002341 0.0002341 0.03% Castro::subcycle_advance_ctu() 10 0.000221 0.000221 0.000221 0.02% MLCellLinOp::correctionResidual() 492 0.0002182 0.0002182 0.0002182 0.02% MLCellLinOp::defineBC() 11 0.0002076 0.0002076 0.0002076 0.02% FillPatchIterator::Initialize 41 0.0002072 0.0002072 0.0002072 0.02% Castro::create_source_corrector() 10 0.0001732 0.0001732 0.0001732 0.02% Amr::timeStep() 10 0.0001632 0.0001632 0.0001632 0.02% StateData::checkPoint() 12 0.0001341 0.0001341 0.0001341 0.01% MLMG:computeResOfCorrection() 410 0.0001286 0.0001286 0.0001286 0.01% Gravity::update_max_rhs() 11 0.0001253 0.0001253 0.0001253 0.01% Castro::advance() 10 0.0001191 0.0001191 0.0001191 0.01% Gravity::solve_for_phi() 10 0.0001089 0.0001089 0.0001089 0.01% MLMG::mgVcycle_down::0 82 8.774e-05 8.774e-05 8.774e-05 0.01% MLMG::actualBottomSolve() 82 8.637e-05 8.637e-05 8.637e-05 0.01% FabArrayBase::FB::FB() 56 8.63e-05 8.63e-05 8.63e-05 0.01% MLMG::mgVcycle_down::1 82 8.571e-05 8.571e-05 8.571e-05 0.01% Castro::Castro() 1 8.547e-05 8.547e-05 8.547e-05 0.01% MLMG::mgVcycle_down::2 82 8.483e-05 8.483e-05 8.483e-05 0.01% MLMG::mgVcycle_down::4 82 8.238e-05 8.238e-05 8.238e-05 0.01% MLMG::mgVcycle_down::3 82 8.041e-05 8.041e-05 8.041e-05 0.01% AmrLevel::checkPoint() 3 7.455e-05 7.455e-05 7.455e-05 0.01% MLMG::solve() 11 7.396e-05 7.396e-05 7.396e-05 0.01% Castro::finalize_advance() 10 7.148e-05 7.148e-05 7.148e-05 0.01% Castro::initialize_advance() 10 7.131e-05 7.131e-05 7.131e-05 0.01% Castro::clean_state() 62 6.259e-05 6.259e-05 6.259e-05 0.01% MLMG::mgVcycle_up::4 82 6.253e-05 6.253e-05 6.253e-05 0.01% Castro::initialize_do_advance() 10 5.708e-05 5.708e-05 5.708e-05 0.01% MLMG::mgVcycle_up::0 82 5.421e-05 5.421e-05 5.421e-05 0.01% Castro::do_advance_ctu() 10 5.382e-05 5.382e-05 5.382e-05 0.01% Castro::do_new_sources() 10 5.38e-05 5.38e-05 5.38e-05 0.01% MLMG::oneIter() 82 5.317e-05 5.317e-05 5.317e-05 0.01% MLMG::mgVcycle_up::1 82 5.216e-05 5.216e-05 5.216e-05 0.01% MLMG::mgVcycle_up::3 82 5.184e-05 5.184e-05 5.184e-05 0.01% MLMG::mgVcycle_up::2 82 5.011e-05 5.011e-05 5.011e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.791e-05 4.791e-05 4.791e-05 0.01% MLCellLinOp::solutionResidual() 93 4.633e-05 4.633e-05 4.633e-05 0.00% Castro::finalize_do_advance() 10 4.449e-05 4.449e-05 4.449e-05 0.00% Castro::construct_new_source() 50 4.314e-05 4.314e-05 4.314e-05 0.00% Castro::swap_state_time_levels() 10 3.891e-05 3.891e-05 3.891e-05 0.00% Castro::enforce_consistent_e() 1 3.625e-05 3.625e-05 3.625e-05 0.00% StateData::define() 4 3.348e-05 3.348e-05 3.348e-05 0.00% MLMG::computeResidual() 82 3.267e-05 3.267e-05 3.267e-05 0.00% MLMG::mgVcycle_bottom 82 3.173e-05 3.173e-05 3.173e-05 0.00% MLMG::ResNormInf() 93 3.153e-05 3.153e-05 3.153e-05 0.00% FillPatchSingleLevel 41 3.135e-05 3.135e-05 3.135e-05 0.00% MLPoisson::define() 11 2.773e-05 2.773e-05 2.773e-05 0.00% Amr::writeSmallPlotFile() 1 2.489e-05 2.489e-05 2.489e-05 0.00% Castro::construct_new_gravity() 10 2.445e-05 2.445e-05 2.445e-05 0.00% Castro::initMFs() 1 2.402e-05 2.402e-05 2.402e-05 0.00% makeSFC 55 2.379e-05 2.379e-05 2.379e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.154e-05 2.154e-05 2.154e-05 0.00% Castro::do_old_sources() 10 2.103e-05 2.103e-05 2.103e-05 0.00% Amr::FinalizeInit() 1 2.075e-05 2.075e-05 2.075e-05 0.00% Castro::construct_old_source() 50 1.974e-05 1.974e-05 1.974e-05 0.00% MLLinOp::define() 11 1.674e-05 1.674e-05 1.674e-05 0.00% Castro::buildMetrics() 1 1.658e-05 1.658e-05 1.658e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.645e-05 1.645e-05 1.645e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.593e-05 1.593e-05 1.593e-05 0.00% DistributionMapping::Distribute() 56 1.435e-05 1.435e-05 1.435e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.416e-05 1.416e-05 1.416e-05 0.00% Amr::defBaseLevel() 1 1.209e-05 1.209e-05 1.209e-05 0.00% Castro::check_for_nan() 20 1.101e-05 1.101e-05 1.101e-05 0.00% Castro::construct_old_gravity() 10 1.041e-05 1.041e-05 1.041e-05 0.00% Castro::apply_source_to_state() 20 9.425e-06 9.425e-06 9.425e-06 0.00% Amr::initSubcycle() 1 8.763e-06 8.763e-06 8.763e-06 0.00% Gravity::swapTimeLevels() 10 8.684e-06 8.684e-06 8.684e-06 0.00% MLPoisson::prepareForSolve() 11 8.211e-06 8.211e-06 8.211e-06 0.00% MLMG::computeMLResidual() 11 7.76e-06 7.76e-06 7.76e-06 0.00% Gravity::actual_multilevel_solve() 1 7.744e-06 7.744e-06 7.744e-06 0.00% Castro::post_timestep() 10 7.616e-06 7.616e-06 7.616e-06 0.00% Castro::retry_advance_ctu() 10 6.972e-06 6.972e-06 6.972e-06 0.00% MLMG::getGradSolution() 11 6.509e-06 6.509e-06 6.509e-06 0.00% Castro::computeNewDt() 9 6.483e-06 6.483e-06 6.483e-06 0.00% AmrLevel::checkPointPost() 3 5.523e-06 5.523e-06 5.523e-06 0.00% Castro::expand_state() 10 5.291e-06 5.291e-06 5.291e-06 0.00% Amr::InitializeInit() 1 4.747e-06 4.747e-06 4.747e-06 0.00% Gravity::set_mass_offset() 11 3.91e-06 3.91e-06 3.91e-06 0.00% Castro::post_init() 1 3.73e-06 3.73e-06 3.73e-06 0.00% MLMG::MLRhsNormInf() 11 3.704e-06 3.704e-06 3.704e-06 0.00% MLMG::MLResNormInf() 11 3.421e-06 3.421e-06 3.421e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.407e-06 3.407e-06 3.407e-06 0.00% Castro::FluxRegCrseInit 10 2.699e-06 2.699e-06 2.699e-06 0.00% Castro::computeInitialDt() 2 2.529e-06 2.529e-06 2.529e-06 0.00% Amr::init() 1 2.232e-06 2.232e-06 2.232e-06 0.00% Castro::FluxRegFineAdd() 10 2.201e-06 2.201e-06 2.201e-06 0.00% AmrLevel::checkPointPre() 3 1.964e-06 1.964e-06 1.964e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.832e-06 1.832e-06 1.832e-06 0.00% Amr::initialInit() 1 1.204e-06 1.204e-06 1.204e-06 0.00% Castro::post_regrid() 1 1.143e-06 1.143e-06 1.143e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9352 0.9352 0.9352 100.00% Amr::coarseTimeStep() 10 0.7639 0.7639 0.7639 81.68% Amr::timeStep() 10 0.6467 0.6467 0.6467 69.15% Castro::advance() 10 0.637 0.637 0.637 68.11% Castro::subcycle_advance_ctu() 10 0.6223 0.6223 0.6223 66.54% Castro::do_advance_ctu() 10 0.6221 0.6221 0.6221 66.52% Castro::construct_ctu_hydro_source() 10 0.284 0.284 0.284 30.37% Gravity::solve_phi_with_mlmg() 11 0.2769 0.2769 0.2769 29.61% Gravity::actual_solve_with_mlmg() 11 0.2699 0.2699 0.2699 28.86% Castro::construct_new_gravity() 10 0.259 0.259 0.259 27.70% MLMG::solve() 11 0.2501 0.2501 0.2501 26.74% Gravity::solve_for_phi() 10 0.2376 0.2376 0.2376 25.40% MLMG::oneIter() 82 0.2361 0.2361 0.2361 25.24% MLMG::mgVcycle() 82 0.2325 0.2325 0.2325 24.86% VisMF::Write(FabArray) 11 0.2295 0.2295 0.2295 24.54% Amr::checkPoint() 3 0.1708 0.1708 0.1708 18.26% AmrLevel::checkPoint() 3 0.1668 0.1668 0.1668 17.83% StateData::checkPoint() 12 0.1667 0.1667 0.1667 17.83% Amr::init() 1 0.1377 0.1377 0.1377 14.72% MLCellLinOp::smooth() 1640 0.115 0.115 0.115 12.30% MLCellLinOp::applyBC() 4433 0.1079 0.1079 0.1079 11.54% MLMG::mgVcycle_bottom 82 0.07126 0.07126 0.07126 7.62% MLMG::actualBottomSolve() 82 0.07123 0.07123 0.07123 7.62% MLCGSolver::bicgstab 82 0.07056 0.07056 0.07056 7.54% Amr::writePlotFile() 2 0.06579 0.06579 0.06579 7.03% AmrLevel::FillPatch() 41 0.06333 0.06333 0.06333 6.77% FillPatchIterator::Initialize 41 0.0592 0.0592 0.0592 6.33% FillPatchIterator::FillFromLevel0() 41 0.05772 0.05772 0.05772 6.17% FillPatchSingleLevel 41 0.05767 0.05767 0.05767 6.17% StateDataPhysBCFunct::() 41 0.05346 0.05346 0.05346 5.72% Castro::clean_state() 62 0.05224 0.05224 0.05224 5.59% Amr::initialInit() 1 0.04744 0.04744 0.04744 5.07% Amr::FinalizeInit() 1 0.04338 0.04338 0.04338 4.64% Castro::post_init() 1 0.04207 0.04207 0.04207 4.50% Gravity::multilevel_solve_for_new_phi() 1 0.03976 0.03976 0.03976 4.25% Gravity::actual_multilevel_solve() 1 0.03974 0.03974 0.03974 4.25% MLCellLinOp::apply() 1142 0.03548 0.03548 0.03548 3.79% MLMG::mgVcycle_down::0 82 0.03373 0.03373 0.03373 3.61% FabArray::FillBoundary() 4023 0.03317 0.03317 0.03317 3.55% FillBoundary_nowait() 4023 0.03231 0.03231 0.03231 3.46% MLPoisson::Fsmooth() 3280 0.03137 0.03137 0.03137 3.35% MLMG::mgVcycle_up::0 82 0.02556 0.02556 0.02556 2.73% Castro::initialize_do_advance() 10 0.02392 0.02392 0.02392 2.56% Gravity::get_new_grav_vector() 11 0.02348 0.02348 0.02348 2.51% MLCellLinOp::correctionResidual() 492 0.02178 0.02178 0.02178 2.33% StateData::FillBoundary(geom) 328 0.02161 0.02161 0.02161 2.31% Castro::computeTemp() 63 0.02089 0.02089 0.02089 2.23% Castro::construct_old_gravity() 10 0.02057 0.02057 0.02057 2.20% Gravity::get_old_grav_vector() 10 0.02056 0.02056 0.02056 2.20% amrex::Dot() 1114 0.01989 0.01989 0.01989 2.13% Castro::do_old_sources() 10 0.01926 0.01926 0.01926 2.06% MLMG:computeResOfCorrection() 410 0.01924 0.01924 0.01924 2.06% Castro::normalize_species() 62 0.01895 0.01895 0.01895 2.03% MLPoisson::define() 11 0.01562 0.01562 0.01562 1.67% MLMG::mgVcycle_down::1 82 0.01539 0.01539 0.01539 1.65% amrex::Copy() 1029 0.01455 0.01455 0.01455 1.56% MLMG::mgVcycle_down::2 82 0.01434 0.01434 0.01434 1.53% FabArray::ParallelCopy() 861 0.01425 0.01425 0.01425 1.52% Castro::expand_state() 10 0.01418 0.01418 0.01418 1.52% FabArray::ParallelCopy_nowait() 861 0.01402 0.01402 0.01402 1.50% MLMG::mgVcycle_down::3 82 0.014 0.014 0.014 1.50% Castro::initialize_advance() 10 0.01399 0.01399 0.01399 1.50% FabArray::norminf() 743 0.01395 0.01395 0.01395 1.49% MLMG::mgVcycle_down::4 82 0.01383 0.01383 0.01383 1.48% FabArray::setVal() 1144 0.01274 0.01274 0.01274 1.36% MLCGSolver::ParallelAllReduce 1514 0.01193 0.01193 0.01193 1.28% Castro::do_new_sources() 10 0.01172 0.01172 0.01172 1.25% MLMG::addInterpCorrection() 410 0.01158 0.01158 0.01158 1.24% MLMG::mgVcycle_up::1 82 0.01118 0.01118 0.01118 1.20% MLMG::mgVcycle_up::4 82 0.01117 0.01117 0.01117 1.19% MLMG::mgVcycle_up::2 82 0.01093 0.01093 0.01093 1.17% amrex::average_down 410 0.01089 0.01089 0.01089 1.16% MLMG::mgVcycle_up::3 82 0.01074 0.01074 0.01074 1.15% MLCellLinOp::defineAuxData() 11 0.01051 0.01051 0.01051 1.12% MLPoisson::Fapply() 1142 0.01004 0.01004 0.01004 1.07% Castro::enforce_min_density() 62 0.00983 0.00983 0.00983 1.05% Castro::post_timestep() 10 0.009582 0.009582 0.009582 1.02% FabArray::Saxpy() 813 0.007893 0.007893 0.007893 0.84% FabArray::Xpay() 821 0.007862 0.007862 0.007862 0.84% MLCellLinOp::solutionResidual() 93 0.007005 0.007005 0.007005 0.75% Gravity::fill_multipole_BCs() 11 0.006814 0.006814 0.006814 0.73% Castro::reset_internal_energy(MultiFab) 63 0.006669 0.006669 0.006669 0.71% MLMG::computeResidual() 82 0.006049 0.006049 0.006049 0.65% Castro::estTimeStep() 21 0.006004 0.006004 0.006004 0.64% MLCellLinOp::defineBC() 11 0.004632 0.004632 0.004632 0.50% MLMG::prepareForSolve() 11 0.004521 0.004521 0.004521 0.48% BndryData::define() 11 0.004424 0.004424 0.004424 0.47% FabArray::LinComb() 557 0.004371 0.004371 0.004371 0.47% amrex::Add() 164 0.004304 0.004304 0.004304 0.46% Amr::InitializeInit() 1 0.004059 0.004059 0.004059 0.43% Amr::defBaseLevel() 1 0.004054 0.004054 0.004054 0.43% Castro::initData() 1 0.003566 0.003566 0.003566 0.38% Castro::enforce_speed_limit() 62 0.003298 0.003298 0.003298 0.35% Castro::construct_new_source() 50 0.003215 0.003215 0.003215 0.34% Castro::construct_new_gravity_source() 10 0.003171 0.003171 0.003171 0.34% Castro::construct_old_source() 50 0.002746 0.002746 0.002746 0.29% Castro::construct_old_gravity_source() 10 0.002726 0.002726 0.002726 0.29% Castro::computeNewDt() 9 0.002608 0.002608 0.002608 0.28% Castro::finalize_do_advance() 10 0.002562 0.002562 0.002562 0.27% MLMG::ResNormInf() 93 0.002098 0.002098 0.002098 0.22% Castro::apply_source_to_state() 20 0.001807 0.001807 0.001807 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001623 0.001623 0.001623 0.17% Castro::reset_internal_energy(Fab) 504 0.001468 0.001468 0.001468 0.16% check_for_negative_density() 10 0.001463 0.001463 0.001463 0.16% FabArrayBase::getCPC() 1323 0.001415 0.001415 0.001415 0.15% MLMG::getGradSolution() 11 0.001366 0.001366 0.001366 0.15% MLCellLinOp::compGrad() 11 0.00136 0.00136 0.00136 0.15% MLCellLinOp::setLevelBC() 11 0.001345 0.001345 0.001345 0.14% FabArray::mult() 43 0.001312 0.001312 0.001312 0.14% FabArray::setDomainBndry() 41 0.001277 0.001277 0.001277 0.14% Castro::check_for_nan() 20 0.00121 0.00121 0.00121 0.13% MultiFab::contains_nan() 20 0.001199 0.001199 0.001199 0.13% Castro::post_regrid() 1 0.001122 0.001122 0.001122 0.12% MLPoisson::prepareForSolve() 11 0.00109 0.00109 0.00109 0.12% MLCellLinOp::prepareForSolve() 11 0.001081 0.001081 0.001081 0.12% MLMG::computeMLResidual() 11 0.0009965 0.0009965 0.0009965 0.11% Castro::computeInitialDt() 2 0.0008876 0.0008876 0.0008876 0.09% Gravity::update_max_rhs() 11 0.0008197 0.0008197 0.0008197 0.09% FabArrayBase::getFB() 4023 0.0007368 0.0007368 0.0007368 0.08% FabArrayBase::CPC::define() 454 0.0006637 0.0006637 0.0006637 0.07% Castro::finalize_advance() 10 0.0005833 0.0005833 0.0005833 0.06% Amr::InitAmr() 1 0.0004699 0.0004699 0.0004699 0.05% MLLinOp::define() 11 0.0004529 0.0004529 0.0004529 0.05% MLLinOp::defineGrids() 11 0.0004361 0.0004361 0.0004361 0.05% Gravity::swapTimeLevels() 10 0.000435 0.000435 0.000435 0.05% Castro::Castro() 1 0.0004224 0.0004224 0.0004224 0.05% MLMG::MLResNormInf() 11 0.0002812 0.0002812 0.0002812 0.03% MultiFab::max() 11 0.000256 0.000256 0.000256 0.03% MLMG::MLRhsNormInf() 11 0.0002184 0.0002184 0.0002184 0.02% Castro::create_source_corrector() 10 0.0001732 0.0001732 0.0001732 0.02% Castro::buildMetrics() 1 0.0001534 0.0001534 0.0001534 0.02% FabArrayBase::FB::FB() 56 8.63e-05 8.63e-05 8.63e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.116e-05 5.116e-05 5.116e-05 0.01% AmrLevel::AmrLevel(dm) 1 4.942e-05 4.942e-05 4.942e-05 0.01% Castro::swap_state_time_levels() 10 3.891e-05 3.891e-05 3.891e-05 0.00% makeSFC 55 3.7e-05 3.7e-05 3.7e-05 0.00% Castro::enforce_consistent_e() 1 3.625e-05 3.625e-05 3.625e-05 0.00% StateData::define() 4 3.348e-05 3.348e-05 3.348e-05 0.00% Amr::writeSmallPlotFile() 1 2.489e-05 2.489e-05 2.489e-05 0.00% Castro::initMFs() 1 2.402e-05 2.402e-05 2.402e-05 0.00% DistributionMapping::Distribute() 56 1.435e-05 1.435e-05 1.435e-05 0.00% Amr::initSubcycle() 1 8.763e-06 8.763e-06 8.763e-06 0.00% Castro::retry_advance_ctu() 10 6.972e-06 6.972e-06 6.972e-06 0.00% AmrLevel::checkPointPost() 3 5.523e-06 5.523e-06 5.523e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.548e-06 4.548e-06 4.548e-06 0.00% Gravity::set_mass_offset() 11 3.91e-06 3.91e-06 3.91e-06 0.00% Castro::FluxRegCrseInit 10 2.699e-06 2.699e-06 2.699e-06 0.00% Castro::FluxRegFineAdd() 10 2.201e-06 2.201e-06 2.201e-06 0.00% AmrLevel::checkPointPre() 3 1.964e-06 1.964e-06 1.964e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.832e-06 1.832e-06 1.832e-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 86 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 1272 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1977 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7610 KiB 14 MiB MLMG::prepareForSolve() 660 660 3290 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 260 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 225 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7530 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1679 B 2048 KiB Gravity::solve_for_phi() 80 80 519 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 86 KiB 2048 KiB BndryData::define() 1056 1056 300 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 190 KiB 671 KiB Castro::estTimeStep() 21 21 3134 B 480 KiB VisMF::Write(FabArray) 656 656 3156 B 320 KiB Castro::normalize_species() 62 62 6603 B 320 KiB amrex::average_down 1067 1067 1184 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1069 B 257 KiB amrex::Dot() 1360 1360 3138 B 160 KiB FabArray::norminf() 907 907 2207 B 160 KiB check_for_negative_density() 10 10 248 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 42 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3217 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 296 B 9648 B MLCellLinOp::applyBC() 8866 8866 207 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3864 B 6144 B StateData::FillBoundary(geom) 1992 1992 104 B 4384 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 109 B 1472 B MLCellLinOp::defineBC() 66 66 338 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 593 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 46 KiB 8192 KiB VisMF::Write(FabArray) 744 744 566 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3217 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 296 B 9648 B MLCellLinOp::applyBC() 4433 4433 205 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3864 B 6144 B StateData::FillBoundary(geom) 1992 1992 104 B 4384 B Gravity::get_new_grav_vector() 3 3 2918 B 3072 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 274 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 22 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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-54-g5141e75e5b29) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-54-g5141e75e5b29) initialized Starting run at 07:41:02 UTC on 2023-08-01. Successfully read inputs file ... Castro git describe: 23.07-20-g4174f17eb AMReX git describe: 23.07-54-g5141e75e5 Microphysics git describe: 23.07-48-g588beb9c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.501375938 Restart time = 0.045039635 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.048547873 [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.048040186 [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.06055759 [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.077130243 [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.07652902 [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.032461029 seconds Ending run at 07:41:02 UTC on 2023-08-01. Run time = 0.389267173 Run time without initialization = 0.343657688 Average number of zones advanced per microsecond: 3.814 Average number of zones advanced per microsecond per rank: 3.814 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3893 ... 0.3893 ... 0.3893 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1275 0.1275 0.1275 32.75% VisMF::Read() 3 0.03887 0.03887 0.03887 9.99% MLCellLinOp::applyBC() 1946 0.03225 0.03225 0.03225 8.28% VisMF::Write(FabArray) 1 0.03091 0.03091 0.03091 7.94% MLPoisson::Fsmooth() 1440 0.01349 0.01349 0.01349 3.47% FillBoundary_nowait() 1766 0.01272 0.01272 0.01272 3.27% StateData::FillBoundary(geom) 160 0.01262 0.01262 0.01262 3.24% Castro::normalize_species() 30 0.009878 0.009878 0.009878 2.54% amrex::Dot() 484 0.008426 0.008426 0.008426 2.16% amrex::Copy() 463 0.006785 0.006785 0.006785 1.74% Castro::computeTemp() 30 0.006692 0.006692 0.006692 1.72% FabArray::setVal() 537 0.006098 0.006098 0.006098 1.57% FabArray::norminf() 326 0.005989 0.005989 0.005989 1.54% FabArray::ParallelCopy_nowait() 380 0.0059 0.0059 0.0059 1.52% StateDataPhysBCFunct::() 20 0.005539 0.005539 0.005539 1.42% Castro::enforce_min_density() 30 0.005189 0.005189 0.005189 1.33% MLCellLinOp::defineAuxData() 6 0.005003 0.005003 0.005003 1.29% MLPoisson::Fapply() 500 0.004273 0.004273 0.004273 1.10% FabArray::Saxpy() 355 0.003522 0.003522 0.003522 0.90% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.87% Gravity::fill_multipole_BCs() 6 0.003355 0.003355 0.003355 0.86% MLMG::addInterpCorrection() 180 0.002902 0.002902 0.002902 0.75% Castro::estTimeStep() 10 0.002624 0.002624 0.002624 0.67% amrex::average_down 180 0.002562 0.002562 0.002562 0.66% Amr::restart() 1 0.002469 0.002469 0.002469 0.63% Castro::reset_internal_energy(MultiFab) 30 0.002173 0.002173 0.002173 0.56% BndryData::define() 6 0.001951 0.001951 0.001951 0.50% FabArray::LinComb() 242 0.001841 0.001841 0.001841 0.47% amrex::Add() 72 0.001823 0.001823 0.001823 0.47% Castro::construct_new_gravity_source() 5 0.001642 0.001642 0.001642 0.42% Castro::reset_internal_energy(Fab) 240 0.001595 0.001595 0.001595 0.41% Castro::construct_old_gravity_source() 5 0.001406 0.001406 0.001406 0.36% Amr::writePlotFile() 1 0.001394 0.001394 0.001394 0.36% Castro::subcycle_advance_ctu() 5 0.001281 0.001281 0.001281 0.33% Castro::enforce_speed_limit() 30 0.001217 0.001217 0.001217 0.31% MLCGSolver::bicgstab 36 0.0009419 0.0009419 0.0009419 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000869 0.000869 0.000869 0.22% Gravity::actual_solve_with_mlmg() 6 0.0007808 0.0007808 0.0007808 0.20% check_for_negative_density() 5 0.0007379 0.0007379 0.0007379 0.19% MLCellLinOp::setLevelBC() 6 0.0007353 0.0007353 0.0007353 0.19% FabArray::mult() 22 0.0006345 0.0006345 0.0006345 0.16% FabArray::setDomainBndry() 20 0.000628 0.000628 0.000628 0.16% MLCellLinOp::prepareForSolve() 6 0.0005883 0.0005883 0.0005883 0.15% MultiFab::contains_nan() 10 0.0005834 0.0005834 0.0005834 0.15% MLCellLinOp::smooth() 720 0.0005079 0.0005079 0.0005079 0.13% MLCellLinOp::compGrad() 6 0.0004829 0.0004829 0.0004829 0.12% MLMG::prepareForSolve() 6 0.00047 0.00047 0.00047 0.12% FabArrayBase::CPC::define() 244 0.0004124 0.0004124 0.0004124 0.11% Amr::InitAmr() 1 0.0003913 0.0003913 0.0003913 0.10% FabArray::FillBoundary() 1766 0.0003824 0.0003824 0.0003824 0.10% FabArrayBase::getCPC() 632 0.0003607 0.0003607 0.0003607 0.09% main() 1 0.0002701 0.0002701 0.0002701 0.07% FabArrayBase::getFB() 1766 0.0002657 0.0002657 0.0002657 0.07% Gravity::get_old_grav_vector() 5 0.0002588 0.0002588 0.0002588 0.07% Gravity::get_new_grav_vector() 5 0.00023 0.00023 0.00023 0.06% MLCellLinOp::apply() 500 0.0002032 0.0002032 0.0002032 0.05% MLLinOp::defineGrids() 6 0.0001821 0.0001821 0.0001821 0.05% AmrLevel::FillPatch() 20 0.0001682 0.0001682 0.0001682 0.04% Amr::coarseTimeStep() 5 0.0001576 0.0001576 0.0001576 0.04% MLMG::mgVcycle() 36 0.0001503 0.0001503 0.0001503 0.04% MultiFab::max() 6 0.0001336 0.0001336 0.0001336 0.03% MLCGSolver::ParallelAllReduce 659 0.0001315 0.0001315 0.0001315 0.03% Castro::construct_new_source() 25 0.0001196 0.0001196 0.0001196 0.03% MLCellLinOp::defineBC() 6 0.0001164 0.0001164 0.0001164 0.03% FabArray::ParallelCopy() 380 0.000109 0.000109 0.000109 0.03% Castro::do_new_sources() 5 0.000103 0.000103 0.000103 0.03% FillPatchIterator::Initialize 20 0.000101 0.000101 0.000101 0.03% MLCellLinOp::correctionResidual() 216 9.642e-05 9.642e-05 9.642e-05 0.02% Castro::create_source_corrector() 5 8.223e-05 8.223e-05 8.223e-05 0.02% Amr::timeStep() 5 8.085e-05 8.085e-05 8.085e-05 0.02% AmrLevel::restart() 1 7.648e-05 7.648e-05 7.648e-05 0.02% Gravity::update_max_rhs() 6 6.567e-05 6.567e-05 6.567e-05 0.02% StateData::restartDoit() 4 6.498e-05 6.498e-05 6.498e-05 0.02% FabArrayBase::FB::FB() 26 6.059e-05 6.059e-05 6.059e-05 0.02% Castro::advance() 5 5.845e-05 5.845e-05 5.845e-05 0.02% Castro::construct_old_source() 25 5.721e-05 5.721e-05 5.721e-05 0.01% MLMG:computeResOfCorrection() 180 5.312e-05 5.312e-05 5.312e-05 0.01% Gravity::solve_for_phi() 5 4.953e-05 4.953e-05 4.953e-05 0.01% Castro::finalize_do_advance() 5 4.936e-05 4.936e-05 4.936e-05 0.01% Castro::initialize_do_advance() 5 4.899e-05 4.899e-05 4.899e-05 0.01% MLMG::actualBottomSolve() 36 4.094e-05 4.094e-05 4.094e-05 0.01% MLMG::mgVcycle_down::0 36 3.933e-05 3.933e-05 3.933e-05 0.01% MLMG::mgVcycle_down::1 36 3.714e-05 3.714e-05 3.714e-05 0.01% MLMG::mgVcycle_down::4 36 3.544e-05 3.544e-05 3.544e-05 0.01% MLMG::mgVcycle_down::2 36 3.498e-05 3.498e-05 3.498e-05 0.01% MLMG::mgVcycle_down::3 36 3.395e-05 3.395e-05 3.395e-05 0.01% MLMG::solve() 6 3.388e-05 3.388e-05 3.388e-05 0.01% Castro::do_old_sources() 5 3.324e-05 3.324e-05 3.324e-05 0.01% Castro::initialize_advance() 5 3.295e-05 3.295e-05 3.295e-05 0.01% Castro::clean_state() 30 3.066e-05 3.066e-05 3.066e-05 0.01% Castro::finalize_advance() 5 3.064e-05 3.064e-05 3.064e-05 0.01% MLMG::mgVcycle_up::4 36 2.858e-05 2.858e-05 2.858e-05 0.01% Castro::initMFs() 1 2.741e-05 2.741e-05 2.741e-05 0.01% Castro::buildMetrics() 1 2.636e-05 2.636e-05 2.636e-05 0.01% Amr::writeSmallPlotFile() 1 2.526e-05 2.526e-05 2.526e-05 0.01% Castro::do_advance_ctu() 5 2.401e-05 2.401e-05 2.401e-05 0.01% MLMG::oneIter() 36 2.38e-05 2.38e-05 2.38e-05 0.01% Castro::swap_state_time_levels() 5 2.377e-05 2.377e-05 2.377e-05 0.01% MLMG::mgVcycle_up::0 36 2.352e-05 2.352e-05 2.352e-05 0.01% MLMG::mgVcycle_up::3 36 2.311e-05 2.311e-05 2.311e-05 0.01% MLMG::mgVcycle_up::2 36 2.299e-05 2.299e-05 2.299e-05 0.01% MLMG::mgVcycle_up::1 36 2.241e-05 2.241e-05 2.241e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.224e-05 2.224e-05 2.224e-05 0.01% MLCellLinOp::solutionResidual() 42 2.093e-05 2.093e-05 2.093e-05 0.01% MLPoisson::define() 6 1.977e-05 1.977e-05 1.977e-05 0.01% Castro::post_restart() 1 1.907e-05 1.907e-05 1.907e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.627e-05 1.627e-05 1.627e-05 0.00% FillPatchSingleLevel 20 1.587e-05 1.587e-05 1.587e-05 0.00% MLMG::ResNormInf() 42 1.558e-05 1.558e-05 1.558e-05 0.00% MLMG::mgVcycle_bottom 36 1.434e-05 1.434e-05 1.434e-05 0.00% MLMG::computeResidual() 36 1.381e-05 1.381e-05 1.381e-05 0.00% makeSFC 30 1.309e-05 1.309e-05 1.309e-05 0.00% Castro::construct_new_gravity() 5 1.15e-05 1.15e-05 1.15e-05 0.00% MLLinOp::define() 6 1.124e-05 1.124e-05 1.124e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.105e-05 1.105e-05 1.105e-05 0.00% Amr::initSubcycle() 1 8.772e-06 8.772e-06 8.772e-06 0.00% DistributionMapping::Distribute() 31 8.313e-06 8.313e-06 8.313e-06 0.00% Gravity::actual_multilevel_solve() 1 7.577e-06 7.577e-06 7.577e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.416e-06 7.416e-06 7.416e-06 0.00% Castro::construct_old_gravity() 5 5.422e-06 5.422e-06 5.422e-06 0.00% Castro::check_for_nan() 10 5.309e-06 5.309e-06 5.309e-06 0.00% Castro::apply_source_to_state() 10 5.202e-06 5.202e-06 5.202e-06 0.00% Castro::post_timestep() 5 4.334e-06 4.334e-06 4.334e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.999e-06 3.999e-06 3.999e-06 0.00% Gravity::swapTimeLevels() 5 3.994e-06 3.994e-06 3.994e-06 0.00% MLPoisson::prepareForSolve() 6 3.932e-06 3.932e-06 3.932e-06 0.00% MLMG::computeMLResidual() 6 3.521e-06 3.521e-06 3.521e-06 0.00% MLMG::getGradSolution() 6 3.028e-06 3.028e-06 3.028e-06 0.00% Castro::computeNewDt() 5 2.902e-06 2.902e-06 2.902e-06 0.00% Castro::expand_state() 5 2.82e-06 2.82e-06 2.82e-06 0.00% MLMG::MLResNormInf() 6 2.103e-06 2.103e-06 2.103e-06 0.00% MLMG::MLRhsNormInf() 6 2.082e-06 2.082e-06 2.082e-06 0.00% Castro::retry_advance_ctu() 5 1.986e-06 1.986e-06 1.986e-06 0.00% Gravity::set_mass_offset() 6 1.973e-06 1.973e-06 1.973e-06 0.00% Castro::FluxRegCrseInit 5 1.676e-06 1.676e-06 1.676e-06 0.00% Castro::FluxRegFineAdd() 5 1.258e-06 1.258e-06 1.258e-06 0.00% Amr::init() 1 9.52e-07 9.52e-07 9.52e-07 0.00% MLLinOp::makeSubCommunicator() 6 9.33e-07 9.33e-07 9.33e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3893 0.3893 0.3893 100.00% Amr::coarseTimeStep() 5 0.311 0.311 0.311 79.88% Amr::timeStep() 5 0.309 0.309 0.309 79.36% Castro::advance() 5 0.3047 0.3047 0.3047 78.28% Castro::subcycle_advance_ctu() 5 0.2978 0.2978 0.2978 76.50% Castro::do_advance_ctu() 5 0.2965 0.2965 0.2965 76.17% Castro::construct_ctu_hydro_source() 5 0.134 0.134 0.134 34.41% Castro::construct_new_gravity() 5 0.1269 0.1269 0.1269 32.59% Gravity::solve_phi_with_mlmg() 6 0.1217 0.1217 0.1217 31.25% Gravity::solve_for_phi() 5 0.1186 0.1186 0.1186 30.47% Gravity::actual_solve_with_mlmg() 6 0.1181 0.1181 0.1181 30.33% MLMG::solve() 6 0.1072 0.1072 0.1072 27.55% MLMG::oneIter() 36 0.1006 0.1006 0.1006 25.84% MLMG::mgVcycle() 36 0.09905 0.09905 0.09905 25.44% MLCellLinOp::smooth() 720 0.04873 0.04873 0.04873 12.52% MLCellLinOp::applyBC() 1946 0.04567 0.04567 0.04567 11.73% Amr::init() 1 0.04508 0.04508 0.04508 11.58% Amr::restart() 1 0.04508 0.04508 0.04508 11.58% AmrLevel::restart() 1 0.03908 0.03908 0.03908 10.04% StateData::restartDoit() 4 0.039 0.039 0.039 10.02% VisMF::Read() 3 0.03887 0.03887 0.03887 9.99% Amr::writePlotFile() 1 0.03255 0.03255 0.03255 8.36% VisMF::Write(FabArray) 1 0.03091 0.03091 0.03091 7.94% MLMG::mgVcycle_bottom 36 0.03038 0.03038 0.03038 7.80% MLMG::actualBottomSolve() 36 0.03036 0.03036 0.03036 7.80% MLCGSolver::bicgstab 36 0.03006 0.03006 0.03006 7.72% Castro::clean_state() 30 0.02678 0.02678 0.02678 6.88% AmrLevel::FillPatch() 20 0.023 0.023 0.023 5.91% FillPatchIterator::Initialize 20 0.02096 0.02096 0.02096 5.38% FillPatchIterator::FillFromLevel0() 20 0.02023 0.02023 0.02023 5.20% FillPatchSingleLevel 20 0.02021 0.02021 0.02021 5.19% StateDataPhysBCFunct::() 20 0.01816 0.01816 0.01816 4.66% MLCellLinOp::apply() 500 0.01516 0.01516 0.01516 3.89% MLMG::mgVcycle_down::0 36 0.01418 0.01418 0.01418 3.64% MLPoisson::Fsmooth() 1440 0.01349 0.01349 0.01349 3.47% FabArray::FillBoundary() 1766 0.01342 0.01342 0.01342 3.45% FillBoundary_nowait() 1766 0.01304 0.01304 0.01304 3.35% StateData::FillBoundary(geom) 160 0.01262 0.01262 0.01262 3.24% MLMG::mgVcycle_up::0 36 0.01068 0.01068 0.01068 2.74% Castro::computeTemp() 30 0.01046 0.01046 0.01046 2.69% Castro::initialize_do_advance() 5 0.01028 0.01028 0.01028 2.64% Castro::normalize_species() 30 0.009878 0.009878 0.009878 2.54% Castro::do_old_sources() 5 0.009612 0.009612 0.009612 2.47% MLCellLinOp::correctionResidual() 216 0.009236 0.009236 0.009236 2.37% MLPoisson::define() 6 0.008562 0.008562 0.008562 2.20% amrex::Dot() 484 0.008426 0.008426 0.008426 2.16% Gravity::get_new_grav_vector() 5 0.008141 0.008141 0.008141 2.09% MLMG:computeResOfCorrection() 180 0.008135 0.008135 0.008135 2.09% Castro::construct_old_gravity() 5 0.007991 0.007991 0.007991 2.05% Gravity::get_old_grav_vector() 5 0.007986 0.007986 0.007986 2.05% amrex::Copy() 463 0.006785 0.006785 0.006785 1.74% MLMG::mgVcycle_down::1 36 0.006587 0.006587 0.006587 1.69% Castro::initialize_advance() 5 0.006581 0.006581 0.006581 1.69% Castro::do_new_sources() 5 0.006454 0.006454 0.006454 1.66% FabArray::ParallelCopy() 380 0.006401 0.006401 0.006401 1.64% FabArray::ParallelCopy_nowait() 380 0.006292 0.006292 0.006292 1.62% MLMG::mgVcycle_down::2 36 0.006154 0.006154 0.006154 1.58% FabArray::setVal() 537 0.006098 0.006098 0.006098 1.57% MLMG::mgVcycle_down::3 36 0.006023 0.006023 0.006023 1.55% FabArray::norminf() 326 0.005989 0.005989 0.005989 1.54% MLMG::mgVcycle_down::4 36 0.005961 0.005961 0.005961 1.53% MLCellLinOp::defineAuxData() 6 0.005709 0.005709 0.005709 1.47% Castro::expand_state() 5 0.005272 0.005272 0.005272 1.35% Castro::enforce_min_density() 30 0.005189 0.005189 0.005189 1.33% MLCGSolver::ParallelAllReduce 659 0.005095 0.005095 0.005095 1.31% MLMG::addInterpCorrection() 180 0.005085 0.005085 0.005085 1.31% MLMG::mgVcycle_up::4 36 0.00482 0.00482 0.00482 1.24% MLMG::mgVcycle_up::1 36 0.004798 0.004798 0.004798 1.23% amrex::average_down 180 0.004752 0.004752 0.004752 1.22% MLMG::mgVcycle_up::2 36 0.004697 0.004697 0.004697 1.21% MLMG::mgVcycle_up::3 36 0.004626 0.004626 0.004626 1.19% MLPoisson::Fapply() 500 0.004273 0.004273 0.004273 1.10% Castro::post_timestep() 5 0.004151 0.004151 0.004151 1.07% Castro::reset_internal_energy(MultiFab) 30 0.003768 0.003768 0.003768 0.97% FabArray::Saxpy() 355 0.003522 0.003522 0.003522 0.90% Gravity::fill_multipole_BCs() 6 0.003481 0.003481 0.003481 0.89% FabArray::Xpay() 361 0.00339 0.00339 0.00339 0.87% Castro::post_restart() 1 0.003356 0.003356 0.003356 0.86% Gravity::multilevel_solve_for_new_phi() 1 0.003244 0.003244 0.003244 0.83% Gravity::actual_multilevel_solve() 1 0.003228 0.003228 0.003228 0.83% MLCellLinOp::solutionResidual() 42 0.003139 0.003139 0.003139 0.81% Castro::estTimeStep() 10 0.002624 0.002624 0.002624 0.67% MLCellLinOp::defineBC() 6 0.002611 0.002611 0.002611 0.67% MLMG::computeResidual() 36 0.002602 0.002602 0.002602 0.67% BndryData::define() 6 0.002494 0.002494 0.002494 0.64% MLMG::prepareForSolve() 6 0.002445 0.002445 0.002445 0.63% Castro::computeNewDt() 5 0.001842 0.001842 0.001842 0.47% FabArray::LinComb() 242 0.001841 0.001841 0.001841 0.47% amrex::Add() 72 0.001823 0.001823 0.001823 0.47% Castro::construct_new_source() 25 0.001761 0.001761 0.001761 0.45% Castro::construct_new_gravity_source() 5 0.001642 0.001642 0.001642 0.42% Castro::reset_internal_energy(Fab) 240 0.001595 0.001595 0.001595 0.41% Castro::construct_old_source() 25 0.001463 0.001463 0.001463 0.38% Castro::construct_old_gravity_source() 5 0.001406 0.001406 0.001406 0.36% Castro::enforce_speed_limit() 30 0.001217 0.001217 0.001217 0.31% MLMG::ResNormInf() 42 0.00092 0.00092 0.00092 0.24% Castro::apply_source_to_state() 10 0.0009188 0.0009188 0.0009188 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000869 0.000869 0.000869 0.22% Castro::finalize_do_advance() 5 0.0008343 0.0008343 0.0008343 0.21% FabArrayBase::getCPC() 632 0.0007731 0.0007731 0.0007731 0.20% MLMG::getGradSolution() 6 0.0007423 0.0007423 0.0007423 0.19% MLCellLinOp::compGrad() 6 0.0007393 0.0007393 0.0007393 0.19% check_for_negative_density() 5 0.0007379 0.0007379 0.0007379 0.19% MLCellLinOp::setLevelBC() 6 0.0007353 0.0007353 0.0007353 0.19% FabArray::mult() 22 0.0006345 0.0006345 0.0006345 0.16% FabArray::setDomainBndry() 20 0.000628 0.000628 0.000628 0.16% MLPoisson::prepareForSolve() 6 0.0005922 0.0005922 0.0005922 0.15% Castro::check_for_nan() 10 0.0005887 0.0005887 0.0005887 0.15% MLCellLinOp::prepareForSolve() 6 0.0005883 0.0005883 0.0005883 0.15% MultiFab::contains_nan() 10 0.0005834 0.0005834 0.0005834 0.15% MLMG::computeMLResidual() 6 0.0005544 0.0005544 0.0005544 0.14% Gravity::update_max_rhs() 6 0.0004365 0.0004365 0.0004365 0.11% FabArrayBase::CPC::define() 244 0.0004124 0.0004124 0.0004124 0.11% Amr::InitAmr() 1 0.0004 0.0004 0.0004 0.10% FabArrayBase::getFB() 1766 0.0003263 0.0003263 0.0003263 0.08% Castro::finalize_advance() 5 0.0002856 0.0002856 0.0002856 0.07% MLLinOp::define() 6 0.0002218 0.0002218 0.0002218 0.06% Gravity::swapTimeLevels() 5 0.0002188 0.0002188 0.0002188 0.06% MLLinOp::defineGrids() 6 0.0002106 0.0002106 0.0002106 0.05% MLMG::MLResNormInf() 6 0.0001486 0.0001486 0.0001486 0.04% Castro::buildMetrics() 1 0.0001461 0.0001461 0.0001461 0.04% MultiFab::max() 6 0.0001336 0.0001336 0.0001336 0.03% MLMG::MLRhsNormInf() 6 0.0001154 0.0001154 0.0001154 0.03% Castro::create_source_corrector() 5 8.223e-05 8.223e-05 8.223e-05 0.02% FabArrayBase::FB::FB() 26 6.059e-05 6.059e-05 6.059e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.754e-05 2.754e-05 2.754e-05 0.01% Castro::initMFs() 1 2.741e-05 2.741e-05 2.741e-05 0.01% Amr::writeSmallPlotFile() 1 2.526e-05 2.526e-05 2.526e-05 0.01% Castro::swap_state_time_levels() 5 2.377e-05 2.377e-05 2.377e-05 0.01% makeSFC 30 2.013e-05 2.013e-05 2.013e-05 0.01% Amr::initSubcycle() 1 8.772e-06 8.772e-06 8.772e-06 0.00% DistributionMapping::Distribute() 31 8.313e-06 8.313e-06 8.313e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.279e-06 5.279e-06 5.279e-06 0.00% Castro::retry_advance_ctu() 5 1.986e-06 1.986e-06 1.986e-06 0.00% Gravity::set_mass_offset() 6 1.973e-06 1.973e-06 1.973e-06 0.00% Castro::FluxRegCrseInit 5 1.676e-06 1.676e-06 1.676e-06 0.00% Castro::FluxRegFineAdd() 5 1.258e-06 1.258e-06 1.258e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.33e-07 9.33e-07 9.33e-07 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 205 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 152 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 1123 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2339 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 6751 KiB 14 MiB MLMG::prepareForSolve() 361 361 3383 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 212 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 214 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6746 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2165 B 2048 KiB Gravity::solve_for_phi() 40 40 622 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 199 KiB 671 KiB Castro::estTimeStep() 10 10 3193 B 480 KiB VisMF::Write(FabArray) 112 112 1244 B 320 KiB Castro::normalize_species() 30 30 8263 B 320 KiB amrex::average_down 469 469 1195 B 257 KiB MLMG::addInterpCorrection() 468 468 1123 B 257 KiB amrex::Dot() 592 592 3183 B 160 KiB FabArray::norminf() 398 398 2273 B 160 KiB check_for_negative_density() 5 5 299 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 3291 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 283 B 9648 B MLCellLinOp::applyBC() 3892 3892 216 B 9344 B amrex::Copy() 56 56 5977 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 3232 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 349 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1434 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 111 KiB 8192 KiB VisMF::Write(FabArray) 120 120 244 KiB 3584 KiB VisMF::Read() 24 24 194 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3291 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 284 B 9648 B MLCellLinOp::applyBC() 1946 1946 215 B 9328 B amrex::Copy() 56 56 5977 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 47 B 3232 B Gravity::get_old_grav_vector() 3 3 2667 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 522 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-54-g5141e75e5b29) finalized