Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-12-gbc806f0f15ce) initialized Starting run at 08:27:20 UTC on 2023-07-07. Successfully read inputs file ... Castro git describe: 23.07-4-gaf60b8b0f AMReX git describe: 23.07-12-gbc806f0f1 Microphysics git describe: 23.07-15-ga1d3dac3 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.059546174 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.034243853 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.046056008 [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.052082016 [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.077514402 [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.080022989 [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.067336366 [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.058993711 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.049106562 [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.074660212 [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.077674939 [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.06687292 [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.068721416 [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.058901608 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.034033204 seconds Ending run at 08:27:21 UTC on 2023-07-07. Run time = 0.954993677 Run time without initialization = 0.812722671 Average number of zones advanced per microsecond: 3.226 Average number of zones advanced per microsecond per rank: 3.226 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.955 ... 0.955 ... 0.955 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2941 0.2941 0.2941 30.79% VisMF::Write(FabArray) 11 0.2388 0.2388 0.2388 25.01% MLCellLinOp::applyBC() 4433 0.07619 0.07619 0.07619 7.98% MLPoisson::Fsmooth() 3280 0.03225 0.03225 0.03225 3.38% FillBoundary_nowait() 4023 0.03042 0.03042 0.03042 3.19% StateData::FillBoundary(geom) 328 0.0254 0.0254 0.0254 2.66% amrex::Dot() 1114 0.02057 0.02057 0.02057 2.15% Castro::normalize_species() 62 0.01924 0.01924 0.01924 2.01% Castro::computeTemp() 63 0.01578 0.01578 0.01578 1.65% amrex::Copy() 1029 0.01486 0.01486 0.01486 1.56% FabArray::norminf() 743 0.01441 0.01441 0.01441 1.51% FabArray::ParallelCopy_nowait() 861 0.01331 0.01331 0.01331 1.39% FabArray::setVal() 1144 0.01312 0.01312 0.01312 1.37% StateDataPhysBCFunct::() 41 0.01156 0.01156 0.01156 1.21% Castro::enforce_min_density() 62 0.0113 0.0113 0.0113 1.18% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.09% MLCellLinOp::defineAuxData() 11 0.009887 0.009887 0.009887 1.04% FabArray::Saxpy() 813 0.008177 0.008177 0.008177 0.86% FabArray::Xpay() 821 0.008098 0.008098 0.008098 0.85% MLMG::addInterpCorrection() 410 0.006606 0.006606 0.006606 0.69% Gravity::fill_multipole_BCs() 11 0.006258 0.006258 0.006258 0.66% amrex::average_down 410 0.005953 0.005953 0.005953 0.62% Castro::estTimeStep() 21 0.005641 0.005641 0.005641 0.59% Castro::reset_internal_energy(MultiFab) 63 0.004663 0.004663 0.004663 0.49% FabArray::LinComb() 557 0.004499 0.004499 0.004499 0.47% amrex::Add() 164 0.004387 0.004387 0.004387 0.46% Amr::checkPoint() 3 0.004032 0.004032 0.004032 0.42% BndryData::define() 11 0.003769 0.003769 0.003769 0.39% Castro::construct_new_gravity_source() 10 0.003068 0.003068 0.003068 0.32% Castro::enforce_speed_limit() 62 0.002865 0.002865 0.002865 0.30% Castro::construct_old_gravity_source() 10 0.002743 0.002743 0.002743 0.29% Amr::writePlotFile() 2 0.002415 0.002415 0.002415 0.25% MLCGSolver::bicgstab 82 0.002124 0.002124 0.002124 0.22% Castro::reset_internal_energy(Fab) 504 0.001722 0.001722 0.001722 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001693 0.001693 0.001693 0.18% Gravity::actual_solve_with_mlmg() 11 0.00147 0.00147 0.00147 0.15% MLCellLinOp::setLevelBC() 11 0.001385 0.001385 0.001385 0.15% check_for_negative_density() 10 0.001344 0.001344 0.001344 0.14% FabArray::mult() 43 0.001316 0.001316 0.001316 0.14% FabArray::setDomainBndry() 41 0.001315 0.001315 0.001315 0.14% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.13% Castro::initData() 1 0.001176 0.001176 0.001176 0.12% MLCellLinOp::prepareForSolve() 11 0.001124 0.001124 0.001124 0.12% MLCellLinOp::smooth() 1640 0.001021 0.001021 0.001021 0.11% MLCellLinOp::compGrad() 11 0.0009243 0.0009243 0.0009243 0.10% MLMG::prepareForSolve() 11 0.0008556 0.0008556 0.0008556 0.09% FabArray::FillBoundary() 4023 0.0008037 0.0008037 0.0008037 0.08% FabArrayBase::getCPC() 1323 0.0007455 0.0007455 0.0007455 0.08% FabArrayBase::CPC::define() 454 0.0007044 0.0007044 0.0007044 0.07% FabArrayBase::getFB() 4023 0.0005985 0.0005985 0.0005985 0.06% Gravity::get_new_grav_vector() 11 0.0005419 0.0005419 0.0005419 0.06% Amr::InitAmr() 1 0.0004825 0.0004825 0.0004825 0.05% Gravity::get_old_grav_vector() 10 0.0004743 0.0004743 0.0004743 0.05% Amr::coarseTimeStep() 10 0.0004439 0.0004439 0.0004439 0.05% MLCellLinOp::apply() 1142 0.0004388 0.0004388 0.0004388 0.05% MLLinOp::defineGrids() 11 0.0003959 0.0003959 0.0003959 0.04% MLMG::mgVcycle() 82 0.0003465 0.0003465 0.0003465 0.04% AmrLevel::FillPatch() 41 0.0003282 0.0003282 0.0003282 0.03% main() 1 0.0002908 0.0002908 0.0002908 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002833 0.0002833 0.0002833 0.03% MultiFab::max() 11 0.0002594 0.0002594 0.0002594 0.03% FabArray::ParallelCopy() 861 0.0002532 0.0002532 0.0002532 0.03% MLCellLinOp::correctionResidual() 492 0.0002168 0.0002168 0.0002168 0.02% FillPatchIterator::Initialize 41 0.0002158 0.0002158 0.0002158 0.02% MLCellLinOp::defineBC() 11 0.0002115 0.0002115 0.0002115 0.02% Castro::subcycle_advance_ctu() 10 0.0001778 0.0001778 0.0001778 0.02% Amr::timeStep() 10 0.0001606 0.0001606 0.0001606 0.02% Castro::create_source_corrector() 10 0.0001438 0.0001438 0.0001438 0.02% StateData::checkPoint() 12 0.0001349 0.0001349 0.0001349 0.01% Gravity::update_max_rhs() 11 0.0001304 0.0001304 0.0001304 0.01% MLMG:computeResOfCorrection() 410 0.0001162 0.0001162 0.0001162 0.01% Castro::advance() 10 0.0001113 0.0001113 0.0001113 0.01% Gravity::solve_for_phi() 10 0.0001082 0.0001082 0.0001082 0.01% FillPatchIterator::FillFromLevel0() 41 9.739e-05 9.739e-05 9.739e-05 0.01% Castro::Castro() 1 9.415e-05 9.415e-05 9.415e-05 0.01% MLMG::mgVcycle_down::0 82 9.095e-05 9.095e-05 9.095e-05 0.01% FabArrayBase::FB::FB() 56 8.88e-05 8.88e-05 8.88e-05 0.01% MLMG::actualBottomSolve() 82 8.445e-05 8.445e-05 8.445e-05 0.01% MLMG::mgVcycle_down::2 82 8.409e-05 8.409e-05 8.409e-05 0.01% MLMG::mgVcycle_down::1 82 8.299e-05 8.299e-05 8.299e-05 0.01% MLMG::mgVcycle_down::4 82 8.215e-05 8.215e-05 8.215e-05 0.01% MLMG::mgVcycle_down::3 82 7.962e-05 7.962e-05 7.962e-05 0.01% AmrLevel::checkPoint() 3 7.684e-05 7.684e-05 7.684e-05 0.01% Castro::initialize_advance() 10 7.452e-05 7.452e-05 7.452e-05 0.01% MLMG::solve() 11 7.407e-05 7.407e-05 7.407e-05 0.01% Castro::clean_state() 62 6.952e-05 6.952e-05 6.952e-05 0.01% Castro::construct_new_source() 50 6.698e-05 6.698e-05 6.698e-05 0.01% Castro::finalize_advance() 10 6.343e-05 6.343e-05 6.343e-05 0.01% MLMG::mgVcycle_up::4 82 6.17e-05 6.17e-05 6.17e-05 0.01% Castro::initialize_do_advance() 10 6.036e-05 6.036e-05 6.036e-05 0.01% MLMG::oneIter() 82 5.465e-05 5.465e-05 5.465e-05 0.01% MLMG::mgVcycle_up::3 82 5.051e-05 5.051e-05 5.051e-05 0.01% MLMG::mgVcycle_up::1 82 4.996e-05 4.996e-05 4.996e-05 0.01% MLMG::mgVcycle_up::0 82 4.951e-05 4.951e-05 4.951e-05 0.01% Castro::post_timestep() 10 4.89e-05 4.89e-05 4.89e-05 0.01% MLMG::mgVcycle_up::2 82 4.796e-05 4.796e-05 4.796e-05 0.01% MLCellLinOp::solutionResidual() 93 4.675e-05 4.675e-05 4.675e-05 0.00% Castro::finalize_do_advance() 10 4.077e-05 4.077e-05 4.077e-05 0.00% StateData::define() 4 3.985e-05 3.985e-05 3.985e-05 0.00% Castro::do_advance_ctu() 10 3.945e-05 3.945e-05 3.945e-05 0.00% Castro::swap_state_time_levels() 10 3.737e-05 3.737e-05 3.737e-05 0.00% MLMG::computeResidual() 82 3.696e-05 3.696e-05 3.696e-05 0.00% Castro::enforce_consistent_e() 1 3.38e-05 3.38e-05 3.38e-05 0.00% MLMG::ResNormInf() 93 3.322e-05 3.322e-05 3.322e-05 0.00% FillPatchSingleLevel 41 3.272e-05 3.272e-05 3.272e-05 0.00% MLMG::mgVcycle_bottom 82 3.033e-05 3.033e-05 3.033e-05 0.00% Castro::initMFs() 1 2.814e-05 2.814e-05 2.814e-05 0.00% makeSFC 55 2.646e-05 2.646e-05 2.646e-05 0.00% Castro::construct_new_gravity() 10 2.602e-05 2.602e-05 2.602e-05 0.00% MLPoisson::define() 11 2.591e-05 2.591e-05 2.591e-05 0.00% Amr::writeSmallPlotFile() 1 2.539e-05 2.539e-05 2.539e-05 0.00% Amr::defBaseLevel() 1 2.276e-05 2.276e-05 2.276e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.231e-05 2.231e-05 2.231e-05 0.00% Amr::FinalizeInit() 1 2.144e-05 2.144e-05 2.144e-05 0.00% Castro::do_old_sources() 10 2.029e-05 2.029e-05 2.029e-05 0.00% Castro::construct_old_source() 50 1.83e-05 1.83e-05 1.83e-05 0.00% Castro::buildMetrics() 1 1.789e-05 1.789e-05 1.789e-05 0.00% Castro::do_new_sources() 10 1.779e-05 1.779e-05 1.779e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.746e-05 1.746e-05 1.746e-05 0.00% MLLinOp::define() 11 1.623e-05 1.623e-05 1.623e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.579e-05 1.579e-05 1.579e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.478e-05 1.478e-05 1.478e-05 0.00% DistributionMapping::Distribute() 56 1.448e-05 1.448e-05 1.448e-05 0.00% Castro::check_for_nan() 20 1.068e-05 1.068e-05 1.068e-05 0.00% Castro::apply_source_to_state() 20 1.007e-05 1.007e-05 1.007e-05 0.00% Castro::construct_old_gravity() 10 9.476e-06 9.476e-06 9.476e-06 0.00% Gravity::swapTimeLevels() 10 9.099e-06 9.099e-06 9.099e-06 0.00% Gravity::actual_multilevel_solve() 1 8.943e-06 8.943e-06 8.943e-06 0.00% Amr::initSubcycle() 1 8.12e-06 8.12e-06 8.12e-06 0.00% MLMG::computeMLResidual() 11 7.87e-06 7.87e-06 7.87e-06 0.00% MLPoisson::prepareForSolve() 11 7.659e-06 7.659e-06 7.659e-06 0.00% MLMG::getGradSolution() 11 5.781e-06 5.781e-06 5.781e-06 0.00% Castro::computeNewDt() 9 5.566e-06 5.566e-06 5.566e-06 0.00% Castro::expand_state() 10 5.493e-06 5.493e-06 5.493e-06 0.00% Amr::InitializeInit() 1 4.702e-06 4.702e-06 4.702e-06 0.00% Castro::post_init() 1 4.561e-06 4.561e-06 4.561e-06 0.00% Castro::retry_advance_ctu() 10 4.473e-06 4.473e-06 4.473e-06 0.00% Gravity::set_mass_offset() 11 4.259e-06 4.259e-06 4.259e-06 0.00% AmrLevel::checkPointPost() 3 4.005e-06 4.005e-06 4.005e-06 0.00% MLMG::MLRhsNormInf() 11 3.841e-06 3.841e-06 3.841e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.829e-06 3.829e-06 3.829e-06 0.00% MLMG::MLResNormInf() 11 3.44e-06 3.44e-06 3.44e-06 0.00% Castro::computeInitialDt() 2 3.314e-06 3.314e-06 3.314e-06 0.00% Amr::init() 1 2.954e-06 2.954e-06 2.954e-06 0.00% Castro::FluxRegCrseInit 10 2.897e-06 2.897e-06 2.897e-06 0.00% Castro::FluxRegFineAdd() 10 2.341e-06 2.341e-06 2.341e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.901e-06 1.901e-06 1.901e-06 0.00% AmrLevel::checkPointPre() 3 1.76e-06 1.76e-06 1.76e-06 0.00% Castro::post_regrid() 1 1.167e-06 1.167e-06 1.167e-06 0.00% Amr::initialInit() 1 1.102e-06 1.102e-06 1.102e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.955 0.955 0.955 100.00% Amr::coarseTimeStep() 10 0.7785 0.7785 0.7785 81.51% Amr::timeStep() 10 0.6568 0.6568 0.6568 68.78% Castro::advance() 10 0.645 0.645 0.645 67.54% Castro::subcycle_advance_ctu() 10 0.6305 0.6305 0.6305 66.02% Castro::do_advance_ctu() 10 0.6303 0.6303 0.6303 66.00% Castro::construct_ctu_hydro_source() 10 0.3029 0.3029 0.3029 31.71% Gravity::solve_phi_with_mlmg() 11 0.2818 0.2818 0.2818 29.51% Gravity::actual_solve_with_mlmg() 11 0.2751 0.2751 0.2751 28.80% Castro::construct_new_gravity() 10 0.2571 0.2571 0.2571 26.93% MLMG::solve() 11 0.2541 0.2541 0.2541 26.61% Gravity::solve_for_phi() 10 0.2416 0.2416 0.2416 25.30% MLMG::oneIter() 82 0.2399 0.2399 0.2399 25.12% VisMF::Write(FabArray) 11 0.2388 0.2388 0.2388 25.01% MLMG::mgVcycle() 82 0.2362 0.2362 0.2362 24.74% Amr::checkPoint() 3 0.1776 0.1776 0.1776 18.59% AmrLevel::checkPoint() 3 0.1735 0.1735 0.1735 18.17% StateData::checkPoint() 12 0.1735 0.1735 0.1735 18.16% Amr::init() 1 0.1417 0.1417 0.1417 14.83% MLCellLinOp::smooth() 1640 0.1157 0.1157 0.1157 12.12% MLCellLinOp::applyBC() 4433 0.1081 0.1081 0.1081 11.32% MLMG::mgVcycle_bottom 82 0.07355 0.07355 0.07355 7.70% MLMG::actualBottomSolve() 82 0.07351 0.07351 0.07351 7.70% MLCGSolver::bicgstab 82 0.07282 0.07282 0.07282 7.63% Amr::writePlotFile() 2 0.06841 0.06841 0.06841 7.16% Castro::clean_state() 62 0.05502 0.05502 0.05502 5.76% Amr::initialInit() 1 0.04774 0.04774 0.04774 5.00% AmrLevel::FillPatch() 41 0.04682 0.04682 0.04682 4.90% Amr::FinalizeInit() 1 0.0438 0.0438 0.0438 4.59% FillPatchIterator::Initialize 41 0.04267 0.04267 0.04267 4.47% Castro::post_init() 1 0.0425 0.0425 0.0425 4.45% FillPatchIterator::FillFromLevel0() 41 0.04114 0.04114 0.04114 4.31% FillPatchSingleLevel 41 0.04104 0.04104 0.04104 4.30% Gravity::multilevel_solve_for_new_phi() 1 0.04058 0.04058 0.04058 4.25% Gravity::actual_multilevel_solve() 1 0.04056 0.04056 0.04056 4.25% StateDataPhysBCFunct::() 41 0.03696 0.03696 0.03696 3.87% MLCellLinOp::apply() 1142 0.03602 0.03602 0.03602 3.77% MLMG::mgVcycle_down::0 82 0.03345 0.03345 0.03345 3.50% MLPoisson::Fsmooth() 3280 0.03225 0.03225 0.03225 3.38% FabArray::FillBoundary() 4023 0.03191 0.03191 0.03191 3.34% FillBoundary_nowait() 4023 0.03111 0.03111 0.03111 3.26% StateData::FillBoundary(geom) 328 0.0254 0.0254 0.0254 2.66% MLMG::mgVcycle_up::0 82 0.02525 0.02525 0.02525 2.64% Castro::computeTemp() 63 0.02217 0.02217 0.02217 2.32% MLCellLinOp::correctionResidual() 492 0.02209 0.02209 0.02209 2.31% Castro::initialize_do_advance() 10 0.02088 0.02088 0.02088 2.19% amrex::Dot() 1114 0.02057 0.02057 0.02057 2.15% MLMG:computeResOfCorrection() 410 0.01946 0.01946 0.01946 2.04% Castro::normalize_species() 62 0.01924 0.01924 0.01924 2.01% Castro::do_old_sources() 10 0.01901 0.01901 0.01901 1.99% Gravity::get_new_grav_vector() 11 0.01713 0.01713 0.01713 1.79% MLPoisson::define() 11 0.01668 0.01668 0.01668 1.75% MLMG::mgVcycle_down::1 82 0.01579 0.01579 0.01579 1.65% Castro::construct_old_gravity() 10 0.01518 0.01518 0.01518 1.59% Gravity::get_old_grav_vector() 10 0.01517 0.01517 0.01517 1.59% amrex::Copy() 1029 0.01486 0.01486 0.01486 1.56% MLMG::mgVcycle_down::2 82 0.01465 0.01465 0.01465 1.53% FabArray::norminf() 743 0.01441 0.01441 0.01441 1.51% FabArray::ParallelCopy() 861 0.01439 0.01439 0.01439 1.51% MLMG::mgVcycle_down::3 82 0.01431 0.01431 0.01431 1.50% FabArray::ParallelCopy_nowait() 861 0.01414 0.01414 0.01414 1.48% MLMG::mgVcycle_down::4 82 0.01408 0.01408 0.01408 1.47% Castro::initialize_advance() 10 0.01381 0.01381 0.01381 1.45% FabArray::setVal() 1144 0.01312 0.01312 0.01312 1.37% MLCGSolver::ParallelAllReduce 1514 0.01229 0.01229 0.01229 1.29% Castro::do_new_sources() 10 0.01189 0.01189 0.01189 1.25% MLMG::addInterpCorrection() 410 0.01174 0.01174 0.01174 1.23% Castro::post_timestep() 10 0.01169 0.01169 0.01169 1.22% Castro::expand_state() 10 0.01147 0.01147 0.01147 1.20% MLMG::mgVcycle_up::1 82 0.01142 0.01142 0.01142 1.20% Castro::enforce_min_density() 62 0.0113 0.0113 0.0113 1.18% MLMG::mgVcycle_up::4 82 0.01128 0.01128 0.01128 1.18% MLCellLinOp::defineAuxData() 11 0.01123 0.01123 0.01123 1.18% amrex::average_down 410 0.01117 0.01117 0.01117 1.17% MLMG::mgVcycle_up::2 82 0.01116 0.01116 0.01116 1.17% MLMG::mgVcycle_up::3 82 0.01096 0.01096 0.01096 1.15% MLPoisson::Fapply() 1142 0.01039 0.01039 0.01039 1.09% FabArray::Saxpy() 813 0.008177 0.008177 0.008177 0.86% FabArray::Xpay() 821 0.008098 0.008098 0.008098 0.85% MLCellLinOp::solutionResidual() 93 0.007087 0.007087 0.007087 0.74% Gravity::fill_multipole_BCs() 11 0.006518 0.006518 0.006518 0.68% Castro::reset_internal_energy(MultiFab) 63 0.006385 0.006385 0.006385 0.67% MLMG::computeResidual() 82 0.006116 0.006116 0.006116 0.64% Castro::estTimeStep() 21 0.005641 0.005641 0.005641 0.59% MLCellLinOp::defineBC() 11 0.00495 0.00495 0.00495 0.52% BndryData::define() 11 0.004739 0.004739 0.004739 0.50% MLMG::prepareForSolve() 11 0.004646 0.004646 0.004646 0.49% FabArray::LinComb() 557 0.004499 0.004499 0.004499 0.47% amrex::Add() 164 0.004387 0.004387 0.004387 0.46% Amr::InitializeInit() 1 0.003945 0.003945 0.003945 0.41% Amr::defBaseLevel() 1 0.00394 0.00394 0.00394 0.41% Castro::initData() 1 0.003397 0.003397 0.003397 0.36% Castro::construct_new_source() 50 0.003135 0.003135 0.003135 0.33% Castro::construct_new_gravity_source() 10 0.003068 0.003068 0.003068 0.32% Castro::enforce_speed_limit() 62 0.002865 0.002865 0.002865 0.30% Castro::construct_old_source() 50 0.002762 0.002762 0.002762 0.29% Castro::construct_old_gravity_source() 10 0.002743 0.002743 0.002743 0.29% Castro::computeNewDt() 9 0.00253 0.00253 0.00253 0.26% Castro::finalize_do_advance() 10 0.002345 0.002345 0.002345 0.25% MLMG::ResNormInf() 93 0.002135 0.002135 0.002135 0.22% Castro::apply_source_to_state() 20 0.001838 0.001838 0.001838 0.19% Castro::reset_internal_energy(Fab) 504 0.001722 0.001722 0.001722 0.18% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001693 0.001693 0.001693 0.18% FabArrayBase::getCPC() 1323 0.00145 0.00145 0.00145 0.15% MLMG::getGradSolution() 11 0.001402 0.001402 0.001402 0.15% MLCellLinOp::compGrad() 11 0.001396 0.001396 0.001396 0.15% MLCellLinOp::setLevelBC() 11 0.001385 0.001385 0.001385 0.15% check_for_negative_density() 10 0.001344 0.001344 0.001344 0.14% FabArray::mult() 43 0.001316 0.001316 0.001316 0.14% FabArray::setDomainBndry() 41 0.001315 0.001315 0.001315 0.14% Castro::check_for_nan() 20 0.001206 0.001206 0.001206 0.13% MultiFab::contains_nan() 20 0.001196 0.001196 0.001196 0.13% MLPoisson::prepareForSolve() 11 0.001131 0.001131 0.001131 0.12% MLCellLinOp::prepareForSolve() 11 0.001124 0.001124 0.001124 0.12% Castro::post_regrid() 1 0.001115 0.001115 0.001115 0.12% MLMG::computeMLResidual() 11 0.001016 0.001016 0.001016 0.11% Gravity::update_max_rhs() 11 0.0008369 0.0008369 0.0008369 0.09% Castro::computeInitialDt() 2 0.0008162 0.0008162 0.0008162 0.09% FabArrayBase::CPC::define() 454 0.0007044 0.0007044 0.0007044 0.07% FabArrayBase::getFB() 4023 0.0006873 0.0006873 0.0006873 0.07% Castro::finalize_advance() 10 0.0005988 0.0005988 0.0005988 0.06% Amr::InitAmr() 1 0.0004906 0.0004906 0.0004906 0.05% MLLinOp::define() 11 0.0004687 0.0004687 0.0004687 0.05% Castro::Castro() 1 0.0004593 0.0004593 0.0004593 0.05% MLLinOp::defineGrids() 11 0.0004525 0.0004525 0.0004525 0.05% Gravity::swapTimeLevels() 10 0.0004392 0.0004392 0.0004392 0.05% MLMG::MLResNormInf() 11 0.0002824 0.0002824 0.0002824 0.03% MultiFab::max() 11 0.0002594 0.0002594 0.0002594 0.03% MLMG::MLRhsNormInf() 11 0.0002183 0.0002183 0.0002183 0.02% Castro::buildMetrics() 1 0.0001731 0.0001731 0.0001731 0.02% Castro::create_source_corrector() 10 0.0001438 0.0001438 0.0001438 0.02% FabArrayBase::FB::FB() 56 8.88e-05 8.88e-05 8.88e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.564e-05 5.564e-05 5.564e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.465e-05 5.465e-05 5.465e-05 0.01% makeSFC 55 3.987e-05 3.987e-05 3.987e-05 0.00% StateData::define() 4 3.985e-05 3.985e-05 3.985e-05 0.00% Castro::swap_state_time_levels() 10 3.737e-05 3.737e-05 3.737e-05 0.00% Castro::enforce_consistent_e() 1 3.38e-05 3.38e-05 3.38e-05 0.00% Castro::initMFs() 1 2.814e-05 2.814e-05 2.814e-05 0.00% Amr::writeSmallPlotFile() 1 2.539e-05 2.539e-05 2.539e-05 0.00% DistributionMapping::Distribute() 56 1.448e-05 1.448e-05 1.448e-05 0.00% Amr::initSubcycle() 1 8.12e-06 8.12e-06 8.12e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.902e-06 4.902e-06 4.902e-06 0.00% Castro::retry_advance_ctu() 10 4.473e-06 4.473e-06 4.473e-06 0.00% Gravity::set_mass_offset() 11 4.259e-06 4.259e-06 4.259e-06 0.00% AmrLevel::checkPointPost() 3 4.005e-06 4.005e-06 4.005e-06 0.00% Castro::FluxRegCrseInit 10 2.897e-06 2.897e-06 2.897e-06 0.00% Castro::FluxRegFineAdd() 10 2.341e-06 2.341e-06 2.341e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.901e-06 1.901e-06 1.901e-06 0.00% AmrLevel::checkPointPre() 3 1.76e-06 1.76e-06 1.76e-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 84 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 146 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 955 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2013 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7607 KiB 14 MiB MLMG::prepareForSolve() 660 660 3274 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 186 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 162 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7531 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 11 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1677 B 2048 KiB Gravity::solve_for_phi() 80 80 517 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 86 KiB 2048 KiB BndryData::define() 1056 1056 298 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 190 KiB 671 KiB Castro::estTimeStep() 21 21 2882 B 480 KiB VisMF::Write(FabArray) 656 656 3148 B 320 KiB Castro::normalize_species() 62 62 6561 B 320 KiB amrex::average_down 1067 1067 1189 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1069 B 257 KiB amrex::Dot() 1360 1360 3179 B 160 KiB FabArray::norminf() 907 907 2229 B 160 KiB check_for_negative_density() 10 10 224 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 41 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 24 B 20 KiB MLPoisson::Fsmooth() 132 132 3201 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 278 B 9648 B MLCellLinOp::applyBC() 8866 8866 206 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3860 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 111 B 1472 B MLCellLinOp::defineBC() 66 66 388 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 541 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 581 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3201 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 278 B 9648 B MLCellLinOp::applyBC() 4433 4433 205 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3860 B 6144 B Gravity::get_new_grav_vector() 3 3 2919 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 2976 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 272 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 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-12-gbc806f0f15ce) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-12-gbc806f0f15ce) initialized Starting run at 08:27:22 UTC on 2023-07-07. Successfully read inputs file ... Castro git describe: 23.07-4-gaf60b8b0f AMReX git describe: 23.07-12-gbc806f0f1 Microphysics git describe: 23.07-15-ga1d3dac3 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.524343496 Restart time = 0.044908544 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.049039648 [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.050361103 [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.07809391 [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.080099244 [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.053719428 [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.033781907 seconds Ending run at 08:27:22 UTC on 2023-07-07. Run time = 0.390979715 Run time without initialization = 0.345500131 Average number of zones advanced per microsecond: 3.794 Average number of zones advanced per microsecond per rank: 3.794 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.391 ... 0.391 ... 0.391 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1281 0.1281 0.1281 32.76% VisMF::Read() 3 0.0387 0.0387 0.0387 9.90% MLCellLinOp::applyBC() 1946 0.03286 0.03286 0.03286 8.40% VisMF::Write(FabArray) 1 0.03216 0.03216 0.03216 8.22% MLPoisson::Fsmooth() 1440 0.01385 0.01385 0.01385 3.54% FillBoundary_nowait() 1766 0.01279 0.01279 0.01279 3.27% StateData::FillBoundary(geom) 160 0.01258 0.01258 0.01258 3.22% Castro::normalize_species() 30 0.009152 0.009152 0.009152 2.34% amrex::Dot() 484 0.008737 0.008737 0.008737 2.23% amrex::Copy() 463 0.006945 0.006945 0.006945 1.78% Castro::computeTemp() 30 0.006466 0.006466 0.006466 1.65% FabArray::setVal() 537 0.006259 0.006259 0.006259 1.60% FabArray::norminf() 326 0.006165 0.006165 0.006165 1.58% FabArray::ParallelCopy_nowait() 380 0.006003 0.006003 0.006003 1.54% Castro::enforce_min_density() 30 0.005728 0.005728 0.005728 1.46% MLCellLinOp::defineAuxData() 6 0.005339 0.005339 0.005339 1.37% MLPoisson::Fapply() 500 0.004444 0.004444 0.004444 1.14% StateDataPhysBCFunct::() 20 0.004223 0.004223 0.004223 1.08% FabArray::Saxpy() 355 0.003591 0.003591 0.003591 0.92% FabArray::Xpay() 361 0.003502 0.003502 0.003502 0.90% Castro::estTimeStep() 10 0.003392 0.003392 0.003392 0.87% Gravity::fill_multipole_BCs() 6 0.003306 0.003306 0.003306 0.85% MLMG::addInterpCorrection() 180 0.002858 0.002858 0.002858 0.73% amrex::average_down 180 0.002567 0.002567 0.002567 0.66% Amr::restart() 1 0.002543 0.002543 0.002543 0.65% BndryData::define() 6 0.002058 0.002058 0.002058 0.53% Castro::reset_internal_energy(MultiFab) 30 0.002046 0.002046 0.002046 0.52% FabArray::LinComb() 242 0.001921 0.001921 0.001921 0.49% amrex::Add() 72 0.001856 0.001856 0.001856 0.47% Castro::construct_new_gravity_source() 5 0.001525 0.001525 0.001525 0.39% Amr::writePlotFile() 1 0.001451 0.001451 0.001451 0.37% Castro::construct_old_gravity_source() 5 0.001407 0.001407 0.001407 0.36% Castro::enforce_speed_limit() 30 0.001108 0.001108 0.001108 0.28% MLCGSolver::bicgstab 36 0.0009255 0.0009255 0.0009255 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009143 0.0009143 0.0009143 0.23% check_for_negative_density() 5 0.0007859 0.0007859 0.0007859 0.20% Castro::reset_internal_energy(Fab) 240 0.0007809 0.0007809 0.0007809 0.20% Gravity::actual_solve_with_mlmg() 6 0.0007692 0.0007692 0.0007692 0.20% MLCellLinOp::setLevelBC() 6 0.0007588 0.0007588 0.0007588 0.19% Castro::subcycle_advance_ctu() 5 0.0006939 0.0006939 0.0006939 0.18% FabArray::setDomainBndry() 20 0.0006571 0.0006571 0.0006571 0.17% FabArray::mult() 22 0.0006454 0.0006454 0.0006454 0.17% MLCellLinOp::prepareForSolve() 6 0.0006079 0.0006079 0.0006079 0.16% MultiFab::contains_nan() 10 0.0005854 0.0005854 0.0005854 0.15% MLCellLinOp::compGrad() 6 0.0004878 0.0004878 0.0004878 0.12% MLMG::prepareForSolve() 6 0.0004576 0.0004576 0.0004576 0.12% MLCellLinOp::smooth() 720 0.0004407 0.0004407 0.0004407 0.11% FabArrayBase::CPC::define() 244 0.0004167 0.0004167 0.0004167 0.11% Amr::InitAmr() 1 0.00038 0.00038 0.00038 0.10% FabArray::FillBoundary() 1766 0.0003584 0.0003584 0.0003584 0.09% FabArrayBase::getCPC() 632 0.0003467 0.0003467 0.0003467 0.09% main() 1 0.0002665 0.0002665 0.0002665 0.07% Gravity::get_old_grav_vector() 5 0.0002599 0.0002599 0.0002599 0.07% FabArrayBase::getFB() 1766 0.00025 0.00025 0.00025 0.06% Gravity::get_new_grav_vector() 5 0.0002317 0.0002317 0.0002317 0.06% MLLinOp::defineGrids() 6 0.0001921 0.0001921 0.0001921 0.05% MLCellLinOp::apply() 500 0.0001808 0.0001808 0.0001808 0.05% Amr::coarseTimeStep() 5 0.0001735 0.0001735 0.0001735 0.04% AmrLevel::FillPatch() 20 0.0001613 0.0001613 0.0001613 0.04% Castro::construct_new_source() 25 0.0001603 0.0001603 0.0001603 0.04% MLMG::mgVcycle() 36 0.0001503 0.0001503 0.0001503 0.04% MultiFab::max() 6 0.0001353 0.0001353 0.0001353 0.03% MLCGSolver::ParallelAllReduce 659 0.0001173 0.0001173 0.0001173 0.03% FillPatchIterator::Initialize 20 0.0001097 0.0001097 0.0001097 0.03% MLCellLinOp::defineBC() 6 0.0001094 0.0001094 0.0001094 0.03% FabArray::ParallelCopy() 380 0.0001067 0.0001067 0.0001067 0.03% MLCellLinOp::correctionResidual() 216 8.534e-05 8.534e-05 8.534e-05 0.02% AmrLevel::restart() 1 8.049e-05 8.049e-05 8.049e-05 0.02% Amr::timeStep() 5 8.024e-05 8.024e-05 8.024e-05 0.02% Castro::create_source_corrector() 5 8.016e-05 8.016e-05 8.016e-05 0.02% Castro::finalize_do_advance() 5 6.996e-05 6.996e-05 6.996e-05 0.02% Gravity::update_max_rhs() 6 6.569e-05 6.569e-05 6.569e-05 0.02% StateData::restartDoit() 4 6.541e-05 6.541e-05 6.541e-05 0.02% FabArrayBase::FB::FB() 26 5.898e-05 5.898e-05 5.898e-05 0.02% Castro::do_new_sources() 5 5.744e-05 5.744e-05 5.744e-05 0.01% MLMG:computeResOfCorrection() 180 5.125e-05 5.125e-05 5.125e-05 0.01% Gravity::solve_for_phi() 5 5.117e-05 5.117e-05 5.117e-05 0.01% Castro::initialize_do_advance() 5 4.745e-05 4.745e-05 4.745e-05 0.01% MLMG::mgVcycle_down::0 36 3.793e-05 3.793e-05 3.793e-05 0.01% MLMG::actualBottomSolve() 36 3.776e-05 3.776e-05 3.776e-05 0.01% MLMG::mgVcycle_down::1 36 3.546e-05 3.546e-05 3.546e-05 0.01% MLMG::mgVcycle_down::2 36 3.491e-05 3.491e-05 3.491e-05 0.01% MLMG::mgVcycle_down::4 36 3.442e-05 3.442e-05 3.442e-05 0.01% MLMG::mgVcycle_down::3 36 3.353e-05 3.353e-05 3.353e-05 0.01% Castro::initialize_advance() 5 3.339e-05 3.339e-05 3.339e-05 0.01% MLMG::solve() 6 3.318e-05 3.318e-05 3.318e-05 0.01% Castro::advance() 5 3.201e-05 3.201e-05 3.201e-05 0.01% Castro::clean_state() 30 3.009e-05 3.009e-05 3.009e-05 0.01% Castro::finalize_advance() 5 2.893e-05 2.893e-05 2.893e-05 0.01% MLMG::mgVcycle_up::4 36 2.855e-05 2.855e-05 2.855e-05 0.01% Castro::initMFs() 1 2.731e-05 2.731e-05 2.731e-05 0.01% Castro::post_timestep() 5 2.684e-05 2.684e-05 2.684e-05 0.01% Castro::buildMetrics() 1 2.598e-05 2.598e-05 2.598e-05 0.01% Amr::writeSmallPlotFile() 1 2.583e-05 2.583e-05 2.583e-05 0.01% Castro::swap_state_time_levels() 5 2.329e-05 2.329e-05 2.329e-05 0.01% MLMG::oneIter() 36 2.264e-05 2.264e-05 2.264e-05 0.01% MLMG::mgVcycle_up::3 36 2.186e-05 2.186e-05 2.186e-05 0.01% MLMG::mgVcycle_up::0 36 2.15e-05 2.15e-05 2.15e-05 0.01% MLMG::mgVcycle_up::2 36 2.149e-05 2.149e-05 2.149e-05 0.01% Castro::post_restart() 1 2.063e-05 2.063e-05 2.063e-05 0.01% MLCellLinOp::solutionResidual() 42 2.032e-05 2.032e-05 2.032e-05 0.01% MLMG::mgVcycle_up::1 36 2.024e-05 2.024e-05 2.024e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.023e-05 2.023e-05 2.023e-05 0.01% Castro::do_advance_ctu() 5 1.932e-05 1.932e-05 1.932e-05 0.00% MLPoisson::define() 6 1.894e-05 1.894e-05 1.894e-05 0.00% MLMG::ResNormInf() 42 1.706e-05 1.706e-05 1.706e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.687e-05 1.687e-05 1.687e-05 0.00% FillPatchSingleLevel 20 1.462e-05 1.462e-05 1.462e-05 0.00% makeSFC 30 1.444e-05 1.444e-05 1.444e-05 0.00% MLMG::computeResidual() 36 1.39e-05 1.39e-05 1.39e-05 0.00% MLMG::mgVcycle_bottom 36 1.359e-05 1.359e-05 1.359e-05 0.00% Castro::construct_new_gravity() 5 1.192e-05 1.192e-05 1.192e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.162e-05 1.162e-05 1.162e-05 0.00% MLLinOp::define() 6 1.112e-05 1.112e-05 1.112e-05 0.00% Castro::do_old_sources() 5 1.098e-05 1.098e-05 1.098e-05 0.00% Castro::construct_old_source() 25 1.055e-05 1.055e-05 1.055e-05 0.00% DistributionMapping::Distribute() 31 8.378e-06 8.378e-06 8.378e-06 0.00% Amr::initSubcycle() 1 8.175e-06 8.175e-06 8.175e-06 0.00% Gravity::actual_multilevel_solve() 1 7.357e-06 7.357e-06 7.357e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.341e-06 7.341e-06 7.341e-06 0.00% Castro::apply_source_to_state() 10 5.514e-06 5.514e-06 5.514e-06 0.00% Castro::check_for_nan() 10 5.447e-06 5.447e-06 5.447e-06 0.00% Castro::construct_old_gravity() 5 5.443e-06 5.443e-06 5.443e-06 0.00% MLPoisson::prepareForSolve() 6 4.134e-06 4.134e-06 4.134e-06 0.00% MLMG::computeMLResidual() 6 3.882e-06 3.882e-06 3.882e-06 0.00% Gravity::swapTimeLevels() 5 3.472e-06 3.472e-06 3.472e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.134e-06 3.134e-06 3.134e-06 0.00% MLMG::getGradSolution() 6 3.026e-06 3.026e-06 3.026e-06 0.00% Castro::computeNewDt() 5 2.875e-06 2.875e-06 2.875e-06 0.00% Castro::FluxRegCrseInit 5 2.656e-06 2.656e-06 2.656e-06 0.00% Castro::expand_state() 5 2.637e-06 2.637e-06 2.637e-06 0.00% MLMG::MLResNormInf() 6 2.208e-06 2.208e-06 2.208e-06 0.00% Castro::retry_advance_ctu() 5 2.025e-06 2.025e-06 2.025e-06 0.00% Gravity::set_mass_offset() 6 1.996e-06 1.996e-06 1.996e-06 0.00% MLMG::MLRhsNormInf() 6 1.985e-06 1.985e-06 1.985e-06 0.00% Castro::FluxRegFineAdd() 5 1.255e-06 1.255e-06 1.255e-06 0.00% Amr::init() 1 1.033e-06 1.033e-06 1.033e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.014e-06 1.014e-06 1.014e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.391 0.391 0.391 100.00% Amr::coarseTimeStep() 5 0.3115 0.3115 0.3115 79.66% Amr::timeStep() 5 0.3094 0.3094 0.3094 79.12% Castro::advance() 5 0.3046 0.3046 0.3046 77.89% Castro::subcycle_advance_ctu() 5 0.298 0.298 0.298 76.22% Castro::do_advance_ctu() 5 0.2973 0.2973 0.2973 76.04% Castro::construct_ctu_hydro_source() 5 0.1331 0.1331 0.1331 34.03% Castro::construct_new_gravity() 5 0.1291 0.1291 0.1291 33.01% Gravity::solve_phi_with_mlmg() 6 0.1242 0.1242 0.1242 31.77% Gravity::solve_for_phi() 5 0.1212 0.1212 0.1212 31.01% Gravity::actual_solve_with_mlmg() 6 0.1207 0.1207 0.1207 30.87% MLMG::solve() 6 0.1094 0.1094 0.1094 27.97% MLMG::oneIter() 36 0.1026 0.1026 0.1026 26.23% MLMG::mgVcycle() 36 0.101 0.101 0.101 25.83% MLCellLinOp::smooth() 720 0.04948 0.04948 0.04948 12.66% MLCellLinOp::applyBC() 1946 0.04631 0.04631 0.04631 11.84% Amr::init() 1 0.04497 0.04497 0.04497 11.50% Amr::restart() 1 0.04496 0.04496 0.04496 11.50% AmrLevel::restart() 1 0.0389 0.0389 0.0389 9.95% StateData::restartDoit() 4 0.03882 0.03882 0.03882 9.93% VisMF::Read() 3 0.0387 0.0387 0.0387 9.90% Amr::writePlotFile() 1 0.03387 0.03387 0.03387 8.66% VisMF::Write(FabArray) 1 0.03216 0.03216 0.03216 8.22% MLMG::mgVcycle_bottom 36 0.03134 0.03134 0.03134 8.01% MLMG::actualBottomSolve() 36 0.03132 0.03132 0.03132 8.01% MLCGSolver::bicgstab 36 0.03102 0.03102 0.03102 7.93% Castro::clean_state() 30 0.02531 0.02531 0.02531 6.47% AmrLevel::FillPatch() 20 0.02168 0.02168 0.02168 5.54% FillPatchIterator::Initialize 20 0.01963 0.01963 0.01963 5.02% FillPatchIterator::FillFromLevel0() 20 0.01886 0.01886 0.01886 4.82% FillPatchSingleLevel 20 0.01884 0.01884 0.01884 4.82% StateDataPhysBCFunct::() 20 0.0168 0.0168 0.0168 4.30% MLCellLinOp::apply() 500 0.01548 0.01548 0.01548 3.96% MLMG::mgVcycle_down::0 36 0.01427 0.01427 0.01427 3.65% MLPoisson::Fsmooth() 1440 0.01385 0.01385 0.01385 3.54% FabArray::FillBoundary() 1766 0.01345 0.01345 0.01345 3.44% FillBoundary_nowait() 1766 0.01309 0.01309 0.01309 3.35% StateData::FillBoundary(geom) 160 0.01258 0.01258 0.01258 3.22% MLMG::mgVcycle_up::0 36 0.01076 0.01076 0.01076 2.75% Castro::initialize_do_advance() 5 0.01001 0.01001 0.01001 2.56% Castro::do_old_sources() 5 0.009515 0.009515 0.009515 2.43% MLCellLinOp::correctionResidual() 216 0.009436 0.009436 0.009436 2.41% Castro::computeTemp() 30 0.009293 0.009293 0.009293 2.38% Castro::normalize_species() 30 0.009152 0.009152 0.009152 2.34% MLPoisson::define() 6 0.009058 0.009058 0.009058 2.32% amrex::Dot() 484 0.008737 0.008737 0.008737 2.23% MLMG:computeResOfCorrection() 180 0.008294 0.008294 0.008294 2.12% Gravity::get_new_grav_vector() 5 0.007716 0.007716 0.007716 1.97% Castro::construct_old_gravity() 5 0.007518 0.007518 0.007518 1.92% Gravity::get_old_grav_vector() 5 0.007513 0.007513 0.007513 1.92% amrex::Copy() 463 0.006945 0.006945 0.006945 1.78% MLMG::mgVcycle_down::1 36 0.00676 0.00676 0.00676 1.73% FabArray::ParallelCopy() 380 0.006488 0.006488 0.006488 1.66% FabArray::ParallelCopy_nowait() 380 0.006382 0.006382 0.006382 1.63% MLMG::mgVcycle_down::2 36 0.006309 0.006309 0.006309 1.61% FabArray::setVal() 537 0.006259 0.006259 0.006259 1.60% Castro::initialize_advance() 5 0.00622 0.00622 0.00622 1.59% FabArray::norminf() 326 0.006165 0.006165 0.006165 1.58% Castro::do_new_sources() 5 0.006125 0.006125 0.006125 1.57% MLMG::mgVcycle_down::3 36 0.006123 0.006123 0.006123 1.57% MLCellLinOp::defineAuxData() 6 0.006079 0.006079 0.006079 1.55% MLMG::mgVcycle_down::4 36 0.006045 0.006045 0.006045 1.55% Castro::enforce_min_density() 30 0.005728 0.005728 0.005728 1.46% MLCGSolver::ParallelAllReduce 659 0.005274 0.005274 0.005274 1.35% MLMG::addInterpCorrection() 180 0.00508 0.00508 0.00508 1.30% Castro::expand_state() 5 0.005045 0.005045 0.005045 1.29% MLMG::mgVcycle_up::1 36 0.004894 0.004894 0.004894 1.25% MLMG::mgVcycle_up::4 36 0.004861 0.004861 0.004861 1.24% amrex::average_down 180 0.00481 0.00481 0.00481 1.23% MLMG::mgVcycle_up::2 36 0.004784 0.004784 0.004784 1.22% Castro::post_timestep() 5 0.004722 0.004722 0.004722 1.21% MLMG::mgVcycle_up::3 36 0.004716 0.004716 0.004716 1.21% MLPoisson::Fapply() 500 0.004444 0.004444 0.004444 1.14% FabArray::Saxpy() 355 0.003591 0.003591 0.003591 0.92% FabArray::Xpay() 361 0.003502 0.003502 0.003502 0.90% Gravity::fill_multipole_BCs() 6 0.003439 0.003439 0.003439 0.88% Castro::estTimeStep() 10 0.003392 0.003392 0.003392 0.87% Castro::post_restart() 1 0.003342 0.003342 0.003342 0.85% Gravity::multilevel_solve_for_new_phi() 1 0.003225 0.003225 0.003225 0.82% Gravity::actual_multilevel_solve() 1 0.003208 0.003208 0.003208 0.82% MLCellLinOp::solutionResidual() 42 0.003168 0.003168 0.003168 0.81% Castro::reset_internal_energy(MultiFab) 30 0.002827 0.002827 0.002827 0.72% MLCellLinOp::defineBC() 6 0.002728 0.002728 0.002728 0.70% BndryData::define() 6 0.002618 0.002618 0.002618 0.67% MLMG::computeResidual() 36 0.002612 0.002612 0.002612 0.67% MLMG::prepareForSolve() 6 0.002505 0.002505 0.002505 0.64% Castro::computeNewDt() 5 0.00194 0.00194 0.00194 0.50% FabArray::LinComb() 242 0.001921 0.001921 0.001921 0.49% amrex::Add() 72 0.001856 0.001856 0.001856 0.47% Castro::construct_new_source() 25 0.001685 0.001685 0.001685 0.43% Castro::finalize_do_advance() 5 0.001525 0.001525 0.001525 0.39% Castro::construct_new_gravity_source() 5 0.001525 0.001525 0.001525 0.39% Castro::construct_old_source() 25 0.001417 0.001417 0.001417 0.36% Castro::construct_old_gravity_source() 5 0.001407 0.001407 0.001407 0.36% Castro::enforce_speed_limit() 30 0.001108 0.001108 0.001108 0.28% MLMG::ResNormInf() 42 0.0009393 0.0009393 0.0009393 0.24% Castro::apply_source_to_state() 10 0.0009207 0.0009207 0.0009207 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009143 0.0009143 0.0009143 0.23% check_for_negative_density() 5 0.0007859 0.0007859 0.0007859 0.20% Castro::reset_internal_energy(Fab) 240 0.0007809 0.0007809 0.0007809 0.20% FabArrayBase::getCPC() 632 0.0007635 0.0007635 0.0007635 0.20% MLCellLinOp::setLevelBC() 6 0.0007588 0.0007588 0.0007588 0.19% MLMG::getGradSolution() 6 0.0007509 0.0007509 0.0007509 0.19% MLCellLinOp::compGrad() 6 0.0007479 0.0007479 0.0007479 0.19% FabArray::setDomainBndry() 20 0.0006571 0.0006571 0.0006571 0.17% FabArray::mult() 22 0.0006454 0.0006454 0.0006454 0.17% MLPoisson::prepareForSolve() 6 0.000612 0.000612 0.000612 0.16% MLCellLinOp::prepareForSolve() 6 0.0006079 0.0006079 0.0006079 0.16% Castro::check_for_nan() 10 0.0005908 0.0005908 0.0005908 0.15% MultiFab::contains_nan() 10 0.0005854 0.0005854 0.0005854 0.15% MLMG::computeMLResidual() 6 0.0005733 0.0005733 0.0005733 0.15% Gravity::update_max_rhs() 6 0.0004466 0.0004466 0.0004466 0.11% FabArrayBase::CPC::define() 244 0.0004167 0.0004167 0.0004167 0.11% Amr::InitAmr() 1 0.0003882 0.0003882 0.0003882 0.10% FabArrayBase::getFB() 1766 0.000309 0.000309 0.000309 0.08% Castro::finalize_advance() 5 0.000287 0.000287 0.000287 0.07% MLLinOp::define() 6 0.0002332 0.0002332 0.0002332 0.06% Gravity::swapTimeLevels() 5 0.0002261 0.0002261 0.0002261 0.06% MLLinOp::defineGrids() 6 0.0002221 0.0002221 0.0002221 0.06% MLMG::MLResNormInf() 6 0.0001519 0.0001519 0.0001519 0.04% Castro::buildMetrics() 1 0.0001489 0.0001489 0.0001489 0.04% MultiFab::max() 6 0.0001353 0.0001353 0.0001353 0.03% MLMG::MLRhsNormInf() 6 0.0001169 0.0001169 0.0001169 0.03% Castro::create_source_corrector() 5 8.016e-05 8.016e-05 8.016e-05 0.02% FabArrayBase::FB::FB() 26 5.898e-05 5.898e-05 5.898e-05 0.02% MLLinOp::makeAgglomeratedDMap 6 2.899e-05 2.899e-05 2.899e-05 0.01% Castro::initMFs() 1 2.731e-05 2.731e-05 2.731e-05 0.01% Amr::writeSmallPlotFile() 1 2.583e-05 2.583e-05 2.583e-05 0.01% Castro::swap_state_time_levels() 5 2.329e-05 2.329e-05 2.329e-05 0.01% makeSFC 30 2.165e-05 2.165e-05 2.165e-05 0.01% DistributionMapping::Distribute() 31 8.378e-06 8.378e-06 8.378e-06 0.00% Amr::initSubcycle() 1 8.175e-06 8.175e-06 8.175e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.305e-06 4.305e-06 4.305e-06 0.00% Castro::FluxRegCrseInit 5 2.656e-06 2.656e-06 2.656e-06 0.00% Castro::retry_advance_ctu() 5 2.025e-06 2.025e-06 2.025e-06 0.00% Gravity::set_mass_offset() 6 1.996e-06 1.996e-06 1.996e-06 0.00% Castro::FluxRegFineAdd() 5 1.255e-06 1.255e-06 1.255e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.014e-06 1.014e-06 1.014e-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 204 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 150 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 1060 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2423 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 6757 KiB 14 MiB MLMG::prepareForSolve() 361 361 3434 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 199 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 202 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6753 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2208 B 2048 KiB Gravity::solve_for_phi() 40 40 633 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 316 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 203 KiB 671 KiB Castro::estTimeStep() 10 10 4114 B 480 KiB VisMF::Write(FabArray) 112 112 1268 B 320 KiB Castro::normalize_species() 30 30 7618 B 320 KiB amrex::average_down 469 469 1203 B 257 KiB MLMG::addInterpCorrection() 468 468 1118 B 257 KiB amrex::Dot() 592 592 3288 B 160 KiB FabArray::norminf() 398 398 2328 B 160 KiB check_for_negative_density() 5 5 321 B 160 KiB MultiFab::max() 6 6 53 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3339 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 284 B 9648 B MLCellLinOp::applyBC() 3892 3892 219 B 9344 B amrex::Copy() 56 56 5997 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 115 B 1472 B MLCellLinOp::defineBC() 36 36 409 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1340 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 253 KiB 3584 KiB VisMF::Read() 24 24 192 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3339 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 284 B 9648 B MLCellLinOp::applyBC() 1946 1946 218 B 9328 B amrex::Copy() 56 56 5997 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2672 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 42 B 2496 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 527 B 1296 B amrex::average_down 37 37 226 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 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-12-gbc806f0f15ce) finalized