Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-22-gb2052f2d2e5c) initialized Starting run at 07:47:51 UTC on 2023-09-22. Successfully read inputs file ... Castro git describe: 23.09-18-gc09896cb0 AMReX git describe: 23.09-22-gb2052f2d2 Microphysics git describe: 23.09-12-gffae4da8 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.049115129 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027417075 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.055766596 [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.072105944 [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.076828269 [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.067827761 [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.072244835 [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.048810439 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.079359929 [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.076491168 [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.054028142 [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.060234238 [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.064524575 [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.047413668 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027379362 seconds Ending run at 07:47:52 UTC on 2023-09-22. Run time = 0.938826761 Run time without initialization = 0.803661985 Average number of zones advanced per microsecond: 3.262 Average number of zones advanced per microsecond per rank: 3.262 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9389 ... 0.9389 ... 0.9389 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2572 0.2572 0.2572 27.40% VisMF::Write(FabArray) 11 0.192 0.192 0.192 20.45% MLCellLinOp::applyBC() 4433 0.08342 0.08342 0.08342 8.89% StateData::FillBoundary(geom) 328 0.05927 0.05927 0.05927 6.31% FillBoundary_nowait() 4023 0.03714 0.03714 0.03714 3.96% MLPoisson::Fsmooth() 3280 0.03583 0.03583 0.03583 3.82% amrex::Dot() 1114 0.02196 0.02196 0.02196 2.34% Castro::normalize_species() 62 0.02077 0.02077 0.02077 2.21% amrex::Copy() 1029 0.01571 0.01571 0.01571 1.67% FabArray::norminf() 743 0.01527 0.01527 0.01527 1.63% Castro::computeTemp() 63 0.01453 0.01453 0.01453 1.55% FabArray::ParallelCopy_nowait() 861 0.01444 0.01444 0.01444 1.54% FabArray::setVal() 1144 0.01436 0.01436 0.01436 1.53% MLPoisson::Fapply() 1142 0.01147 0.01147 0.01147 1.22% MLCellLinOp::defineAuxData() 11 0.0111 0.0111 0.0111 1.18% Castro::enforce_min_density() 62 0.01075 0.01075 0.01075 1.14% Gravity::fill_multipole_BCs() 11 0.008918 0.008918 0.008918 0.95% FabArray::Saxpy() 813 0.008899 0.008899 0.008899 0.95% FabArray::Xpay() 821 0.00865 0.00865 0.00865 0.92% MLMG::addInterpCorrection() 410 0.007426 0.007426 0.007426 0.79% StateDataPhysBCFunct::() 41 0.007254 0.007254 0.007254 0.77% amrex::average_down 410 0.006796 0.006796 0.006796 0.72% Castro::estTimeStep() 21 0.005848 0.005848 0.005848 0.62% Amr::checkPoint() 3 0.00556 0.00556 0.00556 0.59% FabArray::LinComb() 557 0.004927 0.004927 0.004927 0.52% Castro::reset_internal_energy(MultiFab) 63 0.004695 0.004695 0.004695 0.50% amrex::Add() 164 0.004478 0.004478 0.004478 0.48% BndryData::define() 11 0.004075 0.004075 0.004075 0.43% Castro::construct_new_gravity_source() 10 0.003326 0.003326 0.003326 0.35% Castro::construct_old_gravity_source() 10 0.00296 0.00296 0.00296 0.32% MLCGSolver::bicgstab 82 0.002925 0.002925 0.002925 0.31% Castro::enforce_speed_limit() 62 0.002242 0.002242 0.002242 0.24% Castro::reset_internal_energy(Fab) 504 0.002036 0.002036 0.002036 0.22% Amr::writePlotFile() 2 0.00202 0.00202 0.00202 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001884 0.001884 0.001884 0.20% MLCellLinOp::smooth() 1640 0.001794 0.001794 0.001794 0.19% check_for_negative_density() 10 0.001729 0.001729 0.001729 0.18% Gravity::actual_solve_with_mlmg() 11 0.001567 0.001567 0.001567 0.17% MLCellLinOp::setLevelBC() 11 0.001499 0.001499 0.001499 0.16% Castro::initData() 1 0.001414 0.001414 0.001414 0.15% FabArray::setDomainBndry() 41 0.001404 0.001404 0.001404 0.15% FabArray::mult() 43 0.001385 0.001385 0.001385 0.15% MLCellLinOp::prepareForSolve() 11 0.001361 0.001361 0.001361 0.15% MultiFab::contains_nan() 20 0.001331 0.001331 0.001331 0.14% MLCellLinOp::compGrad() 11 0.001095 0.001095 0.001095 0.12% MLMG::prepareForSolve() 11 0.001073 0.001073 0.001073 0.11% FabArray::FillBoundary() 4023 0.0008985 0.0008985 0.0008985 0.10% FabArrayBase::getCPC() 1323 0.0008641 0.0008641 0.0008641 0.09% FabArrayBase::getFB() 4023 0.0007295 0.0007295 0.0007295 0.08% FabArrayBase::CPC::define() 454 0.0007272 0.0007272 0.0007272 0.08% MLCellLinOp::apply() 1142 0.0006556 0.0006556 0.0006556 0.07% Gravity::get_new_grav_vector() 11 0.0006221 0.0006221 0.0006221 0.07% Amr::InitAmr() 1 0.0005122 0.0005122 0.0005122 0.05% Gravity::get_old_grav_vector() 10 0.0004973 0.0004973 0.0004973 0.05% AmrLevel::FillPatch() 41 0.0003778 0.0003778 0.0003778 0.04% Amr::coarseTimeStep() 10 0.0003504 0.0003504 0.0003504 0.04% MultiFab::max() 11 0.0003427 0.0003427 0.0003427 0.04% MLCGSolver::ParallelAllReduce 1514 0.0003317 0.0003317 0.0003317 0.04% MLCellLinOp::correctionResidual() 492 0.0003052 0.0003052 0.0003052 0.03% FabArray::ParallelCopy() 861 0.0003023 0.0003023 0.0003023 0.03% main() 1 0.0003017 0.0003017 0.0003017 0.03% MLMG::mgVcycle() 82 0.0002814 0.0002814 0.0002814 0.03% FillPatchIterator::Initialize 41 0.0002685 0.0002685 0.0002685 0.03% Castro::subcycle_advance_ctu() 10 0.0002422 0.0002422 0.0002422 0.03% MLCellLinOp::defineBC() 11 0.000236 0.000236 0.000236 0.03% Amr::timeStep() 10 0.0001762 0.0001762 0.0001762 0.02% MLLinOp::defineGrids() 11 0.0001703 0.0001703 0.0001703 0.02% Castro::create_source_corrector() 10 0.0001648 0.0001648 0.0001648 0.02% Gravity::solve_for_phi() 10 0.0001564 0.0001564 0.0001564 0.02% Gravity::update_max_rhs() 11 0.0001418 0.0001418 0.0001418 0.02% MLMG:computeResOfCorrection() 410 0.0001326 0.0001326 0.0001326 0.01% Castro::advance() 10 0.0001268 0.0001268 0.0001268 0.01% MLMG::mgVcycle_down::0 82 0.0001256 0.0001256 0.0001256 0.01% StateData::checkPoint() 12 0.000124 0.000124 0.000124 0.01% MLMG::actualBottomSolve() 82 0.0001155 0.0001155 0.0001155 0.01% MLMG::mgVcycle_down::2 82 0.0001137 0.0001137 0.0001137 0.01% MLMG::mgVcycle_down::4 82 0.0001124 0.0001124 0.0001124 0.01% MLMG::mgVcycle_down::1 82 0.0001117 0.0001117 0.0001117 0.01% MLMG::mgVcycle_down::3 82 0.0001095 0.0001095 0.0001095 0.01% FabArrayBase::FB::FB() 56 0.0001084 0.0001084 0.0001084 0.01% Castro::Castro() 1 9.518e-05 9.518e-05 9.518e-05 0.01% MLMG::solve() 11 9.441e-05 9.441e-05 9.441e-05 0.01% Castro::initialize_advance() 10 8.871e-05 8.871e-05 8.871e-05 0.01% Castro::clean_state() 62 8.775e-05 8.775e-05 8.775e-05 0.01% Castro::finalize_advance() 10 7.737e-05 7.737e-05 7.737e-05 0.01% AmrLevel::checkPoint() 3 7.735e-05 7.735e-05 7.735e-05 0.01% MLMG::mgVcycle_up::4 82 7.556e-05 7.556e-05 7.556e-05 0.01% Castro::enforce_consistent_e() 1 7.088e-05 7.088e-05 7.088e-05 0.01% MLMG::mgVcycle_up::0 82 6.746e-05 6.746e-05 6.746e-05 0.01% Castro::initialize_do_advance() 10 6.745e-05 6.745e-05 6.745e-05 0.01% MLMG::mgVcycle_up::1 82 6.545e-05 6.545e-05 6.545e-05 0.01% MLMG::mgVcycle_up::3 82 6.507e-05 6.507e-05 6.507e-05 0.01% MLCellLinOp::solutionResidual() 93 6.5e-05 6.5e-05 6.5e-05 0.01% MLMG::oneIter() 82 6.416e-05 6.416e-05 6.416e-05 0.01% MLMG::mgVcycle_up::2 82 6.36e-05 6.36e-05 6.36e-05 0.01% Castro::do_advance_ctu() 10 6.217e-05 6.217e-05 6.217e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.344e-05 5.344e-05 5.344e-05 0.01% Castro::do_new_sources() 10 5.047e-05 5.047e-05 5.047e-05 0.01% Castro::construct_new_source() 50 4.983e-05 4.983e-05 4.983e-05 0.01% Castro::finalize_do_advance() 10 4.859e-05 4.859e-05 4.859e-05 0.01% FillPatchSingleLevel 41 4.309e-05 4.309e-05 4.309e-05 0.00% StateData::define() 4 3.884e-05 3.884e-05 3.884e-05 0.00% Castro::swap_state_time_levels() 10 3.867e-05 3.867e-05 3.867e-05 0.00% MLMG::mgVcycle_bottom 82 3.754e-05 3.754e-05 3.754e-05 0.00% MLMG::ResNormInf() 93 3.749e-05 3.749e-05 3.749e-05 0.00% MLMG::computeResidual() 82 3.728e-05 3.728e-05 3.728e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.536e-05 3.536e-05 3.536e-05 0.00% Castro::construct_new_gravity() 10 3.259e-05 3.259e-05 3.259e-05 0.00% Castro::initMFs() 1 3.128e-05 3.128e-05 3.128e-05 0.00% Amr::writeSmallPlotFile() 1 3.073e-05 3.073e-05 3.073e-05 0.00% Castro::do_old_sources() 10 2.623e-05 2.623e-05 2.623e-05 0.00% Castro::buildMetrics() 1 2.619e-05 2.619e-05 2.619e-05 0.00% makeSFC 55 2.497e-05 2.497e-05 2.497e-05 0.00% Amr::defBaseLevel() 1 2.456e-05 2.456e-05 2.456e-05 0.00% Amr::FinalizeInit() 1 2.192e-05 2.192e-05 2.192e-05 0.00% MLPoisson::define() 11 2.179e-05 2.179e-05 2.179e-05 0.00% Castro::construct_old_source() 50 2.026e-05 2.026e-05 2.026e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.851e-05 1.851e-05 1.851e-05 0.00% DistributionMapping::Distribute() 56 1.776e-05 1.776e-05 1.776e-05 0.00% MLLinOp::define() 11 1.645e-05 1.645e-05 1.645e-05 0.00% Castro::apply_source_to_state() 20 1.476e-05 1.476e-05 1.476e-05 0.00% Castro::construct_old_gravity() 10 1.421e-05 1.421e-05 1.421e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.369e-05 1.369e-05 1.369e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.351e-05 1.351e-05 1.351e-05 0.00% Castro::check_for_nan() 20 1.284e-05 1.284e-05 1.284e-05 0.00% Gravity::swapTimeLevels() 10 1.245e-05 1.245e-05 1.245e-05 0.00% Castro::post_init() 1 1.063e-05 1.063e-05 1.063e-05 0.00% Amr::initSubcycle() 1 9.362e-06 9.362e-06 9.362e-06 0.00% MLMG::computeMLResidual() 11 8.864e-06 8.864e-06 8.864e-06 0.00% Castro::post_timestep() 10 8.513e-06 8.513e-06 8.513e-06 0.00% MLPoisson::prepareForSolve() 11 8.498e-06 8.498e-06 8.498e-06 0.00% Castro::computeNewDt() 9 8.478e-06 8.478e-06 8.478e-06 0.00% Gravity::actual_multilevel_solve() 1 8.202e-06 8.202e-06 8.202e-06 0.00% MLMG::getGradSolution() 11 7.12e-06 7.12e-06 7.12e-06 0.00% Castro::expand_state() 10 6.009e-06 6.009e-06 6.009e-06 0.00% AmrLevel::checkPointPost() 3 5.895e-06 5.895e-06 5.895e-06 0.00% Amr::InitializeInit() 1 5.393e-06 5.393e-06 5.393e-06 0.00% Castro::retry_advance_ctu() 10 4.905e-06 4.905e-06 4.905e-06 0.00% MLMG::MLRhsNormInf() 11 4.536e-06 4.536e-06 4.536e-06 0.00% Gravity::set_mass_offset() 11 4.248e-06 4.248e-06 4.248e-06 0.00% MLMG::MLResNormInf() 11 3.907e-06 3.907e-06 3.907e-06 0.00% Castro::computeInitialDt() 2 3.553e-06 3.553e-06 3.553e-06 0.00% Castro::FluxRegCrseInit 10 3.258e-06 3.258e-06 3.258e-06 0.00% Amr::init() 1 3.16e-06 3.16e-06 3.16e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.914e-06 2.914e-06 2.914e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.083e-06 2.083e-06 2.083e-06 0.00% Castro::FluxRegFineAdd() 10 2.066e-06 2.066e-06 2.066e-06 0.00% AmrLevel::checkPointPre() 3 1.981e-06 1.981e-06 1.981e-06 0.00% Castro::post_regrid() 1 1.627e-06 1.627e-06 1.627e-06 0.00% Amr::initialInit() 1 1.396e-06 1.396e-06 1.396e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9388 0.9388 0.9388 100.00% Amr::coarseTimeStep() 10 0.776 0.776 0.776 82.66% Amr::timeStep() 10 0.6762 0.6762 0.6762 72.02% Castro::advance() 10 0.6661 0.6661 0.6661 70.94% Castro::subcycle_advance_ctu() 10 0.6526 0.6526 0.6526 69.51% Castro::do_advance_ctu() 10 0.6523 0.6523 0.6523 69.48% Gravity::solve_phi_with_mlmg() 11 0.3164 0.3164 0.3164 33.70% Gravity::actual_solve_with_mlmg() 11 0.307 0.307 0.307 32.70% Castro::construct_new_gravity() 10 0.2961 0.2961 0.2961 31.54% MLMG::solve() 11 0.284 0.284 0.284 30.25% Gravity::solve_for_phi() 10 0.2691 0.2691 0.2691 28.66% MLMG::oneIter() 82 0.2681 0.2681 0.2681 28.55% Castro::construct_ctu_hydro_source() 10 0.267 0.267 0.267 28.44% MLMG::mgVcycle() 82 0.2644 0.2644 0.2644 28.16% VisMF::Write(FabArray) 11 0.192 0.192 0.192 20.45% Amr::checkPoint() 3 0.1455 0.1455 0.1455 15.49% AmrLevel::checkPoint() 3 0.1399 0.1399 0.1399 14.90% StateData::checkPoint() 12 0.1398 0.1398 0.1398 14.89% Amr::init() 1 0.1345 0.1345 0.1345 14.33% MLCellLinOp::smooth() 1640 0.1319 0.1319 0.1319 14.05% MLCellLinOp::applyBC() 4433 0.1223 0.1223 0.1223 13.03% MLMG::mgVcycle_bottom 82 0.08056 0.08056 0.08056 8.58% MLMG::actualBottomSolve() 82 0.08053 0.08053 0.08053 8.58% MLCGSolver::bicgstab 82 0.07972 0.07972 0.07972 8.49% AmrLevel::FillPatch() 41 0.07665 0.07665 0.07665 8.16% FillPatchIterator::Initialize 41 0.07232 0.07232 0.07232 7.70% FillPatchIterator::FillFromLevel0() 41 0.07065 0.07065 0.07065 7.53% FillPatchSingleLevel 41 0.0706 0.0706 0.0706 7.52% StateDataPhysBCFunct::() 41 0.06652 0.06652 0.06652 7.09% StateData::FillBoundary(geom) 328 0.05927 0.05927 0.05927 6.31% Amr::initialInit() 1 0.05786 0.05786 0.05786 6.16% Amr::writePlotFile() 2 0.05491 0.05491 0.05491 5.85% Castro::clean_state() 62 0.05411 0.05411 0.05411 5.76% Amr::FinalizeInit() 1 0.05293 0.05293 0.05293 5.64% Castro::post_init() 1 0.05143 0.05143 0.05143 5.48% Gravity::multilevel_solve_for_new_phi() 1 0.04779 0.04779 0.04779 5.09% Gravity::actual_multilevel_solve() 1 0.04777 0.04777 0.04777 5.09% MLCellLinOp::apply() 1142 0.0396 0.0396 0.0396 4.22% FabArray::FillBoundary() 4023 0.03888 0.03888 0.03888 4.14% FillBoundary_nowait() 4023 0.03798 0.03798 0.03798 4.05% MLPoisson::Fsmooth() 3280 0.03583 0.03583 0.03583 3.82% MLMG::mgVcycle_down::0 82 0.03511 0.03511 0.03511 3.74% MLMG::mgVcycle_up::0 82 0.03297 0.03297 0.03297 3.51% Gravity::get_new_grav_vector() 11 0.03022 0.03022 0.03022 3.22% Castro::construct_old_gravity() 10 0.02718 0.02718 0.02718 2.89% Gravity::get_old_grav_vector() 10 0.02716 0.02716 0.02716 2.89% MLCellLinOp::correctionResidual() 492 0.02386 0.02386 0.02386 2.54% Castro::initialize_do_advance() 10 0.02274 0.02274 0.02274 2.42% Castro::do_old_sources() 10 0.02219 0.02219 0.02219 2.36% amrex::Dot() 1114 0.02196 0.02196 0.02196 2.34% Castro::computeTemp() 63 0.02126 0.02126 0.02126 2.26% MLMG:computeResOfCorrection() 410 0.02093 0.02093 0.02093 2.23% Castro::normalize_species() 62 0.02077 0.02077 0.02077 2.21% MLPoisson::define() 11 0.0183 0.0183 0.0183 1.95% MLMG::mgVcycle_down::1 82 0.0175 0.0175 0.0175 1.86% MLMG::mgVcycle_down::2 82 0.01629 0.01629 0.01629 1.74% MLMG::mgVcycle_down::3 82 0.01599 0.01599 0.01599 1.70% MLMG::mgVcycle_down::4 82 0.01584 0.01584 0.01584 1.69% amrex::Copy() 1029 0.01571 0.01571 0.01571 1.67% FabArray::ParallelCopy() 861 0.01559 0.01559 0.01559 1.66% FabArray::ParallelCopy_nowait() 861 0.01529 0.01529 0.01529 1.63% FabArray::norminf() 743 0.01527 0.01527 0.01527 1.63% FabArray::setVal() 1144 0.01436 0.01436 0.01436 1.53% Castro::do_new_sources() 10 0.0137 0.0137 0.0137 1.46% MLMG::addInterpCorrection() 410 0.01315 0.01315 0.01315 1.40% MLCGSolver::ParallelAllReduce 1514 0.01315 0.01315 0.01315 1.40% Castro::expand_state() 10 0.01308 0.01308 0.01308 1.39% Castro::initialize_advance() 10 0.01274 0.01274 0.01274 1.36% MLMG::mgVcycle_up::1 82 0.01268 0.01268 0.01268 1.35% MLCellLinOp::defineAuxData() 11 0.01266 0.01266 0.01266 1.35% amrex::average_down 410 0.01263 0.01263 0.01263 1.35% MLMG::mgVcycle_up::4 82 0.01263 0.01263 0.01263 1.34% MLMG::mgVcycle_up::2 82 0.01237 0.01237 0.01237 1.32% MLMG::mgVcycle_up::3 82 0.01219 0.01219 0.01219 1.30% MLPoisson::Fapply() 1142 0.01147 0.01147 0.01147 1.22% Castro::enforce_min_density() 62 0.01075 0.01075 0.01075 1.14% Castro::post_timestep() 10 0.00994 0.00994 0.00994 1.06% Gravity::fill_multipole_BCs() 11 0.009155 0.009155 0.009155 0.98% FabArray::Saxpy() 813 0.008899 0.008899 0.008899 0.95% FabArray::Xpay() 821 0.00865 0.00865 0.00865 0.92% MLCellLinOp::solutionResidual() 93 0.007906 0.007906 0.007906 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006732 0.006732 0.006732 0.72% MLMG::computeResidual() 82 0.006591 0.006591 0.006591 0.70% Castro::estTimeStep() 21 0.005848 0.005848 0.005848 0.62% MLMG::prepareForSolve() 11 0.005409 0.005409 0.005409 0.58% MLCellLinOp::defineBC() 11 0.005383 0.005383 0.005383 0.57% BndryData::define() 11 0.005147 0.005147 0.005147 0.55% Amr::InitializeInit() 1 0.004936 0.004936 0.004936 0.53% Amr::defBaseLevel() 1 0.004931 0.004931 0.004931 0.53% FabArray::LinComb() 557 0.004927 0.004927 0.004927 0.52% amrex::Add() 164 0.004478 0.004478 0.004478 0.48% Castro::initData() 1 0.004259 0.004259 0.004259 0.45% Castro::construct_new_source() 50 0.003376 0.003376 0.003376 0.36% Castro::construct_new_gravity_source() 10 0.003326 0.003326 0.003326 0.35% Castro::construct_old_source() 50 0.002981 0.002981 0.002981 0.32% Castro::construct_old_gravity_source() 10 0.00296 0.00296 0.00296 0.32% Castro::computeNewDt() 9 0.002469 0.002469 0.002469 0.26% Castro::finalize_do_advance() 10 0.002409 0.002409 0.002409 0.26% MLMG::ResNormInf() 93 0.00225 0.00225 0.00225 0.24% Castro::enforce_speed_limit() 62 0.002242 0.002242 0.002242 0.24% Castro::reset_internal_energy(Fab) 504 0.002036 0.002036 0.002036 0.22% Castro::apply_source_to_state() 20 0.001887 0.001887 0.001887 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001884 0.001884 0.001884 0.20% check_for_negative_density() 10 0.001729 0.001729 0.001729 0.18% MLMG::getGradSolution() 11 0.001607 0.001607 0.001607 0.17% MLCellLinOp::compGrad() 11 0.0016 0.0016 0.0016 0.17% FabArrayBase::getCPC() 1323 0.001591 0.001591 0.001591 0.17% MLCellLinOp::setLevelBC() 11 0.001499 0.001499 0.001499 0.16% FabArray::setDomainBndry() 41 0.001404 0.001404 0.001404 0.15% FabArray::mult() 43 0.001385 0.001385 0.001385 0.15% MLPoisson::prepareForSolve() 11 0.00137 0.00137 0.00137 0.15% MLCellLinOp::prepareForSolve() 11 0.001361 0.001361 0.001361 0.15% MLMG::computeMLResidual() 11 0.001361 0.001361 0.001361 0.14% Castro::check_for_nan() 20 0.001343 0.001343 0.001343 0.14% MultiFab::contains_nan() 20 0.001331 0.001331 0.001331 0.14% Castro::post_regrid() 1 0.001192 0.001192 0.001192 0.13% Gravity::update_max_rhs() 11 0.001043 0.001043 0.001043 0.11% Castro::computeInitialDt() 2 0.00103 0.00103 0.00103 0.11% FabArrayBase::getFB() 4023 0.0008379 0.0008379 0.0008379 0.09% FabArrayBase::CPC::define() 454 0.0007272 0.0007272 0.0007272 0.08% Castro::finalize_advance() 10 0.000639 0.000639 0.000639 0.07% Castro::Castro() 1 0.0005912 0.0005912 0.0005912 0.06% Amr::InitAmr() 1 0.0005216 0.0005216 0.0005216 0.06% Gravity::swapTimeLevels() 10 0.0004668 0.0004668 0.0004668 0.05% MultiFab::max() 11 0.0003427 0.0003427 0.0003427 0.04% MLMG::MLResNormInf() 11 0.0003414 0.0003414 0.0003414 0.04% Castro::buildMetrics() 1 0.0002909 0.0002909 0.0002909 0.03% MLLinOp::define() 11 0.0002442 0.0002442 0.0002442 0.03% MLMG::MLRhsNormInf() 11 0.0002336 0.0002336 0.0002336 0.02% MLLinOp::defineGrids() 11 0.0002277 0.0002277 0.0002277 0.02% Castro::create_source_corrector() 10 0.0001648 0.0001648 0.0001648 0.02% FabArrayBase::FB::FB() 56 0.0001084 0.0001084 0.0001084 0.01% Castro::enforce_consistent_e() 1 7.088e-05 7.088e-05 7.088e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.533e-05 5.533e-05 5.533e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.236e-05 5.236e-05 5.236e-05 0.01% makeSFC 55 4.164e-05 4.164e-05 4.164e-05 0.00% StateData::define() 4 3.884e-05 3.884e-05 3.884e-05 0.00% Castro::swap_state_time_levels() 10 3.867e-05 3.867e-05 3.867e-05 0.00% Castro::initMFs() 1 3.128e-05 3.128e-05 3.128e-05 0.00% Amr::writeSmallPlotFile() 1 3.073e-05 3.073e-05 3.073e-05 0.00% DistributionMapping::Distribute() 56 1.776e-05 1.776e-05 1.776e-05 0.00% Amr::initSubcycle() 1 9.362e-06 9.362e-06 9.362e-06 0.00% AmrLevel::checkPointPost() 3 5.895e-06 5.895e-06 5.895e-06 0.00% Castro::retry_advance_ctu() 10 4.905e-06 4.905e-06 4.905e-06 0.00% Gravity::set_mass_offset() 11 4.248e-06 4.248e-06 4.248e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.004e-06 4.004e-06 4.004e-06 0.00% Castro::FluxRegCrseInit 10 3.258e-06 3.258e-06 3.258e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.083e-06 2.083e-06 2.083e-06 0.00% Castro::FluxRegFineAdd() 10 2.066e-06 2.066e-06 2.066e-06 0.00% AmrLevel::checkPointPre() 3 1.981e-06 1.981e-06 1.981e-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 89 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 125 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 1396 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1645 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3720 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 333 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 296 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2141 B 2048 KiB Gravity::solve_for_phi() 80 80 586 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 104 KiB 2048 KiB BndryData::define() 1056 1056 339 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 216 KiB 671 KiB Castro::estTimeStep() 21 21 3035 B 480 KiB VisMF::Write(FabArray) 656 656 3389 B 320 KiB Castro::normalize_species() 62 62 7203 B 320 KiB amrex::average_down 1067 1067 1288 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1151 B 257 KiB amrex::Dot() 1360 1360 3439 B 160 KiB FabArray::norminf() 907 907 2402 B 160 KiB check_for_negative_density() 10 10 286 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 3634 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 350 B 9648 B MLCellLinOp::applyBC() 8866 8866 223 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3960 B 6144 B StateData::FillBoundary(geom) 1992 1992 28 B 2736 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 123 B 1472 B MLCellLinOp::defineBC() 66 66 382 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 580 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 457 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3634 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 349 B 9648 B MLCellLinOp::applyBC() 4433 4433 221 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3960 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 29 B 2736 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 309 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 18 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-22-gb2052f2d2e5c) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-22-gb2052f2d2e5c) initialized Starting run at 07:47:52 UTC on 2023-09-22. Successfully read inputs file ... Castro git describe: 23.09-18-gc09896cb0 AMReX git describe: 23.09-22-gb2052f2d2 Microphysics git describe: 23.09-12-gffae4da8 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.528766722 Restart time = 0.050213457 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.056574021 [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.068563563 [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.070357295 [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.061393967 [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.059104405 [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.054134777 seconds Ending run at 07:47:53 UTC on 2023-09-22. Run time = 0.421349537 Run time without initialization = 0.370580768 Average number of zones advanced per microsecond: 3.537 Average number of zones advanced per microsecond per rank: 3.537 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4214 ... 0.4214 ... 0.4214 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1303 0.1303 0.1303 30.92% VisMF::Read() 3 0.0389 0.0389 0.0389 9.23% MLCellLinOp::applyBC() 1946 0.03283 0.03283 0.03283 7.79% VisMF::Write(FabArray) 1 0.0273 0.0273 0.0273 6.48% Amr::writePlotFile() 1 0.02665 0.02665 0.02665 6.32% MLPoisson::Fsmooth() 1440 0.0139 0.0139 0.0139 3.30% FillBoundary_nowait() 1766 0.01292 0.01292 0.01292 3.07% StateData::FillBoundary(geom) 160 0.01234 0.01234 0.01234 2.93% Castro::normalize_species() 30 0.009984 0.009984 0.009984 2.37% amrex::Dot() 484 0.008679 0.008679 0.008679 2.06% amrex::Copy() 463 0.007086 0.007086 0.007086 1.68% Castro::computeTemp() 30 0.007026 0.007026 0.007026 1.67% FabArray::setVal() 537 0.006355 0.006355 0.006355 1.51% FabArray::norminf() 326 0.0062 0.0062 0.0062 1.47% FabArray::ParallelCopy_nowait() 380 0.005937 0.005937 0.005937 1.41% Gravity::fill_multipole_BCs() 6 0.00557 0.00557 0.00557 1.32% Castro::enforce_min_density() 30 0.005558 0.005558 0.005558 1.32% MLCellLinOp::defineAuxData() 6 0.00521 0.00521 0.00521 1.24% StateDataPhysBCFunct::() 20 0.005021 0.005021 0.005021 1.19% Amr::restart() 1 0.004714 0.004714 0.004714 1.12% MLPoisson::Fapply() 500 0.004458 0.004458 0.004458 1.06% FabArray::Saxpy() 355 0.003663 0.003663 0.003663 0.87% FabArray::Xpay() 361 0.003486 0.003486 0.003486 0.83% Castro::estTimeStep() 10 0.003463 0.003463 0.003463 0.82% MLMG::addInterpCorrection() 180 0.003005 0.003005 0.003005 0.71% amrex::average_down 180 0.002638 0.002638 0.002638 0.63% FabArray::LinComb() 242 0.002213 0.002213 0.002213 0.53% Castro::reset_internal_energy(MultiFab) 30 0.002064 0.002064 0.002064 0.49% BndryData::define() 6 0.001995 0.001995 0.001995 0.47% amrex::Add() 72 0.001871 0.001871 0.001871 0.44% Castro::construct_new_gravity_source() 5 0.00176 0.00176 0.00176 0.42% Castro::construct_old_gravity_source() 5 0.00152 0.00152 0.00152 0.36% Castro::enforce_speed_limit() 30 0.001194 0.001194 0.001194 0.28% MLCGSolver::bicgstab 36 0.0009573 0.0009573 0.0009573 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009132 0.0009132 0.0009132 0.22% check_for_negative_density() 5 0.0008574 0.0008574 0.0008574 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008264 0.0008264 0.0008264 0.20% Castro::reset_internal_energy(Fab) 240 0.0007978 0.0007978 0.0007978 0.19% MLCellLinOp::setLevelBC() 6 0.000778 0.000778 0.000778 0.18% MLCellLinOp::prepareForSolve() 6 0.0006856 0.0006856 0.0006856 0.16% FabArray::mult() 22 0.0006782 0.0006782 0.0006782 0.16% FabArray::setDomainBndry() 20 0.0006554 0.0006554 0.0006554 0.16% MultiFab::contains_nan() 10 0.0006514 0.0006514 0.0006514 0.15% MLCellLinOp::compGrad() 6 0.0005707 0.0005707 0.0005707 0.14% MLMG::prepareForSolve() 6 0.0005251 0.0005251 0.0005251 0.12% MLCellLinOp::smooth() 720 0.0004907 0.0004907 0.0004907 0.12% FabArrayBase::CPC::define() 244 0.0004193 0.0004193 0.0004193 0.10% Amr::InitAmr() 1 0.0003847 0.0003847 0.0003847 0.09% FabArray::FillBoundary() 1766 0.0003664 0.0003664 0.0003664 0.09% FabArrayBase::getCPC() 632 0.0003635 0.0003635 0.0003635 0.09% Gravity::get_old_grav_vector() 5 0.000344 0.000344 0.000344 0.08% FabArrayBase::getFB() 1766 0.0002709 0.0002709 0.0002709 0.06% main() 1 0.0002598 0.0002598 0.0002598 0.06% Gravity::get_new_grav_vector() 5 0.0002593 0.0002593 0.0002593 0.06% Amr::coarseTimeStep() 5 0.0002121 0.0002121 0.0002121 0.05% MLCellLinOp::apply() 500 0.0002062 0.0002062 0.0002062 0.05% MultiFab::max() 6 0.0002018 0.0002018 0.0002018 0.05% AmrLevel::FillPatch() 20 0.0001627 0.0001627 0.0001627 0.04% MLCGSolver::ParallelAllReduce 659 0.0001271 0.0001271 0.0001271 0.03% FabArray::ParallelCopy() 380 0.0001172 0.0001172 0.0001172 0.03% MLCellLinOp::defineBC() 6 0.0001152 0.0001152 0.0001152 0.03% Castro::subcycle_advance_ctu() 5 0.0001125 0.0001125 0.0001125 0.03% MLLinOp::defineGrids() 6 0.0001108 0.0001108 0.0001108 0.03% FillPatchIterator::Initialize 20 0.0001033 0.0001033 0.0001033 0.02% Castro::create_source_corrector() 5 9.898e-05 9.898e-05 9.898e-05 0.02% Castro::advance() 5 9.76e-05 9.76e-05 9.76e-05 0.02% MLCellLinOp::correctionResidual() 216 9.215e-05 9.215e-05 9.215e-05 0.02% MLMG::mgVcycle() 36 8.657e-05 8.657e-05 8.657e-05 0.02% Amr::timeStep() 5 8.437e-05 8.437e-05 8.437e-05 0.02% Castro::initialize_do_advance() 5 8.346e-05 8.346e-05 8.346e-05 0.02% AmrLevel::restart() 1 6.981e-05 6.981e-05 6.981e-05 0.02% Castro::finalize_do_advance() 5 6.939e-05 6.939e-05 6.939e-05 0.02% Gravity::update_max_rhs() 6 6.431e-05 6.431e-05 6.431e-05 0.02% Gravity::solve_for_phi() 5 6.38e-05 6.38e-05 6.38e-05 0.02% Castro::do_advance_ctu() 5 6.136e-05 6.136e-05 6.136e-05 0.01% StateData::restartDoit() 4 6.123e-05 6.123e-05 6.123e-05 0.01% FabArrayBase::FB::FB() 26 6.05e-05 6.05e-05 6.05e-05 0.01% MLMG:computeResOfCorrection() 180 5.461e-05 5.461e-05 5.461e-05 0.01% MLMG::actualBottomSolve() 36 4.152e-05 4.152e-05 4.152e-05 0.01% Castro::initialize_advance() 5 3.537e-05 3.537e-05 3.537e-05 0.01% MLMG::mgVcycle_down::0 36 3.534e-05 3.534e-05 3.534e-05 0.01% MLMG::solve() 6 3.44e-05 3.44e-05 3.44e-05 0.01% Castro::clean_state() 30 3.305e-05 3.305e-05 3.305e-05 0.01% MLMG::mgVcycle_down::1 36 3.271e-05 3.271e-05 3.271e-05 0.01% MLMG::mgVcycle_down::2 36 3.032e-05 3.032e-05 3.032e-05 0.01% MLMG::mgVcycle_down::4 36 2.999e-05 2.999e-05 2.999e-05 0.01% Castro::finalize_advance() 5 2.905e-05 2.905e-05 2.905e-05 0.01% MLMG::mgVcycle_down::3 36 2.874e-05 2.874e-05 2.874e-05 0.01% Amr::writeSmallPlotFile() 1 2.872e-05 2.872e-05 2.872e-05 0.01% Castro::post_restart() 1 2.845e-05 2.845e-05 2.845e-05 0.01% MLMG::mgVcycle_up::4 36 2.78e-05 2.78e-05 2.78e-05 0.01% Castro::do_new_sources() 5 2.719e-05 2.719e-05 2.719e-05 0.01% Castro::construct_old_source() 25 2.642e-05 2.642e-05 2.642e-05 0.01% Castro::computeNewDt() 5 2.624e-05 2.624e-05 2.624e-05 0.01% Castro::construct_new_source() 25 2.513e-05 2.513e-05 2.513e-05 0.01% Castro::buildMetrics() 1 2.507e-05 2.507e-05 2.507e-05 0.01% Castro::swap_state_time_levels() 5 2.472e-05 2.472e-05 2.472e-05 0.01% Castro::initMFs() 1 2.354e-05 2.354e-05 2.354e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.32e-05 2.32e-05 2.32e-05 0.01% MLMG::oneIter() 36 2.308e-05 2.308e-05 2.308e-05 0.01% MLMG::mgVcycle_up::0 36 2.253e-05 2.253e-05 2.253e-05 0.01% MLMG::mgVcycle_up::3 36 2.217e-05 2.217e-05 2.217e-05 0.01% MLMG::mgVcycle_up::2 36 2.056e-05 2.056e-05 2.056e-05 0.00% MLCellLinOp::solutionResidual() 42 2.018e-05 2.018e-05 2.018e-05 0.00% MLMG::mgVcycle_up::1 36 2e-05 2e-05 2e-05 0.00% MLMG::ResNormInf() 42 1.769e-05 1.769e-05 1.769e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.613e-05 1.613e-05 1.613e-05 0.00% MLMG::mgVcycle_bottom 36 1.563e-05 1.563e-05 1.563e-05 0.00% FillPatchSingleLevel 20 1.472e-05 1.472e-05 1.472e-05 0.00% MLMG::computeResidual() 36 1.386e-05 1.386e-05 1.386e-05 0.00% MLPoisson::define() 6 1.383e-05 1.383e-05 1.383e-05 0.00% makeSFC 30 1.323e-05 1.323e-05 1.323e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.302e-05 1.302e-05 1.302e-05 0.00% Castro::construct_new_gravity() 5 1.249e-05 1.249e-05 1.249e-05 0.00% Castro::do_old_sources() 5 1.08e-05 1.08e-05 1.08e-05 0.00% MLLinOp::define() 6 1.056e-05 1.056e-05 1.056e-05 0.00% DistributionMapping::Distribute() 31 1.042e-05 1.042e-05 1.042e-05 0.00% Amr::initSubcycle() 1 9.382e-06 9.382e-06 9.382e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 8.679e-06 8.679e-06 8.679e-06 0.00% Gravity::actual_multilevel_solve() 1 8.496e-06 8.496e-06 8.496e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.95e-06 6.95e-06 6.95e-06 0.00% Castro::construct_old_gravity() 5 6.521e-06 6.521e-06 6.521e-06 0.00% Castro::check_for_nan() 10 5.867e-06 5.867e-06 5.867e-06 0.00% Castro::apply_source_to_state() 10 5.725e-06 5.725e-06 5.725e-06 0.00% Castro::post_timestep() 5 4.602e-06 4.602e-06 4.602e-06 0.00% MLPoisson::prepareForSolve() 6 4.594e-06 4.594e-06 4.594e-06 0.00% Gravity::swapTimeLevels() 5 4.156e-06 4.156e-06 4.156e-06 0.00% MLMG::computeMLResidual() 6 3.918e-06 3.918e-06 3.918e-06 0.00% MLMG::getGradSolution() 6 3.149e-06 3.149e-06 3.149e-06 0.00% Castro::expand_state() 5 2.725e-06 2.725e-06 2.725e-06 0.00% MLMG::MLResNormInf() 6 2.671e-06 2.671e-06 2.671e-06 0.00% Gravity::set_mass_offset() 6 2.556e-06 2.556e-06 2.556e-06 0.00% MLMG::MLRhsNormInf() 6 2.32e-06 2.32e-06 2.32e-06 0.00% Castro::retry_advance_ctu() 5 2.066e-06 2.066e-06 2.066e-06 0.00% Castro::FluxRegCrseInit 5 1.45e-06 1.45e-06 1.45e-06 0.00% Castro::FluxRegFineAdd() 5 1.231e-06 1.231e-06 1.231e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.088e-06 1.088e-06 1.088e-06 0.00% Amr::init() 1 9.59e-07 9.59e-07 9.59e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4214 0.4214 0.4214 100.00% Amr::coarseTimeStep() 5 0.3162 0.3162 0.3162 75.04% Amr::timeStep() 5 0.3137 0.3137 0.3137 74.44% Castro::advance() 5 0.3082 0.3082 0.3082 73.13% Castro::subcycle_advance_ctu() 5 0.3009 0.3009 0.3009 71.40% Castro::do_advance_ctu() 5 0.3008 0.3008 0.3008 71.38% Castro::construct_ctu_hydro_source() 5 0.1351 0.1351 0.1351 32.06% Castro::construct_new_gravity() 5 0.1293 0.1293 0.1293 30.69% Gravity::solve_phi_with_mlmg() 6 0.1272 0.1272 0.1272 30.19% Gravity::solve_for_phi() 5 0.1217 0.1217 0.1217 28.88% Gravity::actual_solve_with_mlmg() 6 0.1214 0.1214 0.1214 28.82% MLMG::solve() 6 0.1102 0.1102 0.1102 26.15% MLMG::oneIter() 36 0.103 0.103 0.103 24.43% MLMG::mgVcycle() 36 0.1014 0.1014 0.1014 24.07% Amr::writePlotFile() 1 0.05422 0.05422 0.05422 12.87% Amr::init() 1 0.05026 0.05026 0.05026 11.93% Amr::restart() 1 0.05026 0.05026 0.05026 11.93% MLCellLinOp::smooth() 720 0.04952 0.04952 0.04952 11.75% MLCellLinOp::applyBC() 1946 0.04644 0.04644 0.04644 11.02% AmrLevel::restart() 1 0.03923 0.03923 0.03923 9.31% StateData::restartDoit() 4 0.03916 0.03916 0.03916 9.29% VisMF::Read() 3 0.0389 0.0389 0.0389 9.23% MLMG::mgVcycle_bottom 36 0.03159 0.03159 0.03159 7.50% MLMG::actualBottomSolve() 36 0.03158 0.03158 0.03158 7.49% MLCGSolver::bicgstab 36 0.03127 0.03127 0.03127 7.42% VisMF::Write(FabArray) 1 0.0273 0.0273 0.0273 6.48% Castro::clean_state() 30 0.02666 0.02666 0.02666 6.33% AmrLevel::FillPatch() 20 0.02221 0.02221 0.02221 5.27% FillPatchIterator::Initialize 20 0.02017 0.02017 0.02017 4.79% FillPatchIterator::FillFromLevel0() 20 0.01941 0.01941 0.01941 4.61% FillPatchSingleLevel 20 0.01939 0.01939 0.01939 4.60% StateDataPhysBCFunct::() 20 0.01737 0.01737 0.01737 4.12% MLCellLinOp::apply() 500 0.01571 0.01571 0.01571 3.73% MLMG::mgVcycle_down::0 36 0.01437 0.01437 0.01437 3.41% MLPoisson::Fsmooth() 1440 0.0139 0.0139 0.0139 3.30% FabArray::FillBoundary() 1766 0.01362 0.01362 0.01362 3.23% FillBoundary_nowait() 1766 0.01325 0.01325 0.01325 3.14% StateData::FillBoundary(geom) 160 0.01234 0.01234 0.01234 2.93% Castro::initialize_do_advance() 5 0.01087 0.01087 0.01087 2.58% MLMG::mgVcycle_up::0 36 0.01081 0.01081 0.01081 2.57% Castro::normalize_species() 30 0.009984 0.009984 0.009984 2.37% Castro::computeTemp() 30 0.009887 0.009887 0.009887 2.35% MLCellLinOp::correctionResidual() 216 0.009446 0.009446 0.009446 2.24% Castro::do_old_sources() 5 0.009418 0.009418 0.009418 2.24% MLPoisson::define() 6 0.008793 0.008793 0.008793 2.09% amrex::Dot() 484 0.008679 0.008679 0.008679 2.06% MLMG:computeResOfCorrection() 180 0.008317 0.008317 0.008317 1.97% Castro::construct_old_gravity() 5 0.007571 0.007571 0.007571 1.80% Gravity::get_old_grav_vector() 5 0.007565 0.007565 0.007565 1.80% Gravity::get_new_grav_vector() 5 0.007509 0.007509 0.007509 1.78% amrex::Copy() 463 0.007086 0.007086 0.007086 1.68% Castro::initialize_advance() 5 0.006899 0.006899 0.006899 1.64% MLMG::mgVcycle_down::1 36 0.006869 0.006869 0.006869 1.63% Castro::do_new_sources() 5 0.006735 0.006735 0.006735 1.60% FabArray::ParallelCopy() 380 0.006445 0.006445 0.006445 1.53% FabArray::setVal() 537 0.006355 0.006355 0.006355 1.51% FabArray::ParallelCopy_nowait() 380 0.006328 0.006328 0.006328 1.50% MLMG::mgVcycle_down::2 36 0.006265 0.006265 0.006265 1.49% FabArray::norminf() 326 0.0062 0.0062 0.0062 1.47% Castro::post_restart() 1 0.006144 0.006144 0.006144 1.46% MLMG::mgVcycle_down::3 36 0.00611 0.00611 0.00611 1.45% MLMG::mgVcycle_down::4 36 0.006032 0.006032 0.006032 1.43% Castro::expand_state() 5 0.005995 0.005995 0.005995 1.42% MLCellLinOp::defineAuxData() 6 0.005968 0.005968 0.005968 1.42% Gravity::multilevel_solve_for_new_phi() 1 0.00578 0.00578 0.00578 1.37% Gravity::actual_multilevel_solve() 1 0.005764 0.005764 0.005764 1.37% Gravity::fill_multipole_BCs() 6 0.005692 0.005692 0.005692 1.35% Castro::enforce_min_density() 30 0.005558 0.005558 0.005558 1.32% Castro::post_timestep() 5 0.005419 0.005419 0.005419 1.29% MLCGSolver::ParallelAllReduce 659 0.005256 0.005256 0.005256 1.25% MLMG::addInterpCorrection() 180 0.005194 0.005194 0.005194 1.23% MLMG::mgVcycle_up::4 36 0.004936 0.004936 0.004936 1.17% amrex::average_down 180 0.004886 0.004886 0.004886 1.16% MLMG::mgVcycle_up::1 36 0.004868 0.004868 0.004868 1.16% MLMG::mgVcycle_up::2 36 0.004787 0.004787 0.004787 1.14% MLMG::mgVcycle_up::3 36 0.004693 0.004693 0.004693 1.11% MLPoisson::Fapply() 500 0.004458 0.004458 0.004458 1.06% FabArray::Saxpy() 355 0.003663 0.003663 0.003663 0.87% FabArray::Xpay() 361 0.003486 0.003486 0.003486 0.83% Castro::estTimeStep() 10 0.003463 0.003463 0.003463 0.82% MLCellLinOp::solutionResidual() 42 0.003428 0.003428 0.003428 0.81% Castro::reset_internal_energy(MultiFab) 30 0.002862 0.002862 0.002862 0.68% MLMG::computeResidual() 36 0.002663 0.002663 0.002663 0.63% MLCellLinOp::defineBC() 6 0.002659 0.002659 0.002659 0.63% MLMG::prepareForSolve() 6 0.002654 0.002654 0.002654 0.63% BndryData::define() 6 0.002544 0.002544 0.002544 0.60% Castro::computeNewDt() 5 0.002316 0.002316 0.002316 0.55% FabArray::LinComb() 242 0.002213 0.002213 0.002213 0.53% amrex::Add() 72 0.001871 0.001871 0.001871 0.44% Castro::construct_new_source() 25 0.001785 0.001785 0.001785 0.42% Castro::construct_new_gravity_source() 5 0.00176 0.00176 0.00176 0.42% Castro::construct_old_source() 25 0.001547 0.001547 0.001547 0.37% Castro::construct_old_gravity_source() 5 0.00152 0.00152 0.00152 0.36% Castro::finalize_do_advance() 5 0.001243 0.001243 0.001243 0.30% Castro::enforce_speed_limit() 30 0.001194 0.001194 0.001194 0.28% MLMG::ResNormInf() 42 0.0009755 0.0009755 0.0009755 0.23% Castro::apply_source_to_state() 10 0.0009591 0.0009591 0.0009591 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009132 0.0009132 0.0009132 0.22% check_for_negative_density() 5 0.0008574 0.0008574 0.0008574 0.20% MLMG::getGradSolution() 6 0.000843 0.000843 0.000843 0.20% MLCellLinOp::compGrad() 6 0.0008398 0.0008398 0.0008398 0.20% Castro::reset_internal_energy(Fab) 240 0.0007978 0.0007978 0.0007978 0.19% MLMG::computeMLResidual() 6 0.000783 0.000783 0.000783 0.19% FabArrayBase::getCPC() 632 0.0007829 0.0007829 0.0007829 0.19% MLCellLinOp::setLevelBC() 6 0.000778 0.000778 0.000778 0.18% Gravity::update_max_rhs() 6 0.0006998 0.0006998 0.0006998 0.17% MLPoisson::prepareForSolve() 6 0.0006902 0.0006902 0.0006902 0.16% MLCellLinOp::prepareForSolve() 6 0.0006856 0.0006856 0.0006856 0.16% FabArray::mult() 22 0.0006782 0.0006782 0.0006782 0.16% Castro::check_for_nan() 10 0.0006573 0.0006573 0.0006573 0.16% FabArray::setDomainBndry() 20 0.0006554 0.0006554 0.0006554 0.16% MultiFab::contains_nan() 10 0.0006514 0.0006514 0.0006514 0.15% FabArrayBase::CPC::define() 244 0.0004193 0.0004193 0.0004193 0.10% Amr::InitAmr() 1 0.0003941 0.0003941 0.0003941 0.09% FabArrayBase::getFB() 1766 0.0003314 0.0003314 0.0003314 0.08% Castro::finalize_advance() 5 0.0002945 0.0002945 0.0002945 0.07% Gravity::swapTimeLevels() 5 0.0002248 0.0002248 0.0002248 0.05% MultiFab::max() 6 0.0002018 0.0002018 0.0002018 0.05% MLMG::MLResNormInf() 6 0.0001865 0.0001865 0.0001865 0.04% MLLinOp::define() 6 0.0001519 0.0001519 0.0001519 0.04% Castro::buildMetrics() 1 0.0001442 0.0001442 0.0001442 0.03% MLLinOp::defineGrids() 6 0.0001414 0.0001414 0.0001414 0.03% MLMG::MLRhsNormInf() 6 0.0001173 0.0001173 0.0001173 0.03% Castro::create_source_corrector() 5 9.898e-05 9.898e-05 9.898e-05 0.02% FabArrayBase::FB::FB() 26 6.05e-05 6.05e-05 6.05e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.945e-05 2.945e-05 2.945e-05 0.01% Amr::writeSmallPlotFile() 1 2.872e-05 2.872e-05 2.872e-05 0.01% Castro::swap_state_time_levels() 5 2.472e-05 2.472e-05 2.472e-05 0.01% Castro::initMFs() 1 2.354e-05 2.354e-05 2.354e-05 0.01% makeSFC 30 2.25e-05 2.25e-05 2.25e-05 0.01% DistributionMapping::Distribute() 31 1.042e-05 1.042e-05 1.042e-05 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 9.823e-06 9.823e-06 9.823e-06 0.00% Amr::initSubcycle() 1 9.382e-06 9.382e-06 9.382e-06 0.00% Gravity::set_mass_offset() 6 2.556e-06 2.556e-06 2.556e-06 0.00% Castro::retry_advance_ctu() 5 2.066e-06 2.066e-06 2.066e-06 0.00% Castro::FluxRegCrseInit 5 1.45e-06 1.45e-06 1.45e-06 0.00% Castro::FluxRegFineAdd() 5 1.231e-06 1.231e-06 1.231e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.088e-06 1.088e-06 1.088e-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 197 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 139 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1058 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1916 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6776 KiB 14 MiB MLMG::prepareForSolve() 361 361 3210 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 186 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6763 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3298 B 2048 KiB Gravity::solve_for_phi() 40 40 590 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 295 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 189 KiB 671 KiB Castro::estTimeStep() 10 10 3924 B 480 KiB VisMF::Write(FabArray) 112 112 1283 B 320 KiB Castro::normalize_species() 30 30 7716 B 320 KiB amrex::average_down 469 469 1148 B 257 KiB MLMG::addInterpCorrection() 468 468 1052 B 257 KiB amrex::Dot() 592 592 3028 B 160 KiB FabArray::norminf() 398 398 2172 B 160 KiB check_for_negative_density() 5 5 324 B 160 KiB MultiFab::max() 6 6 74 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3112 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 3892 3892 203 B 9344 B amrex::Copy() 56 56 5855 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 107 B 1472 B MLCellLinOp::defineBC() 36 36 332 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1255 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 186 KiB 3584 KiB VisMF::Read() 24 24 179 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3112 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 266 B 9648 B MLCellLinOp::applyBC() 1946 1946 202 B 9328 B amrex::Copy() 56 56 5855 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2658 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 507 B 1296 B amrex::average_down 37 37 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 398 398 15 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-22-gb2052f2d2e5c) finalized