Initializing AMReX (24.02-30-g2ecafcff4013)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-30-g2ecafcff4013) initialized Starting run at 09:35:13 UTC on 2024-02-23. Successfully read inputs file ... Castro git describe: 24.02-21-g56d243e7a AMReX git describe: 24.02-30-g2ecafcff4 Microphysics git describe: 24.02-23-g3df6ba0c 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.046071471 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025332689 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.068193222 [STEP 1] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.058767314 [STEP 2] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.083031727 [STEP 3] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.080548909 [STEP 4] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.050368056 [STEP 5] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.045079123 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.048830951 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.073903019 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.074843664 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.049440342 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.069509386 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.043360861 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024834261 seconds Ending run at 09:35:14 UTC on 2024-02-23. Run time = 0.895928485 Run time without initialization = 0.771350859 Average number of zones advanced per microsecond: 3.399 Average number of zones advanced per microsecond per rank: 3.399 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.896 ... 0.896 ... 0.896 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2733 0.2733 0.2733 30.50% VisMF::Write(FabArray) 11 0.1769 0.1769 0.1769 19.75% MLCellLinOp::applyBC() 4298 0.08191 0.08191 0.08191 9.14% MLPoisson::Fsmooth() 3240 0.03373 0.03373 0.03373 3.76% FillBoundary_nowait() 3893 0.03065 0.03065 0.03065 3.42% StateData::FillBoundary(geom) 328 0.02767 0.02767 0.02767 3.09% amrex::Dot() 1100 0.02175 0.02175 0.02175 2.43% Castro::normalize_species() 62 0.02132 0.02132 0.02132 2.38% FabArray::norminf() 1048 0.02022 0.02022 0.02022 2.26% Castro::computeTemp() 63 0.01462 0.01462 0.01462 1.63% FabArray::ParallelCopy_nowait() 851 0.01387 0.01387 0.01387 1.55% FabArray::setVal() 1054 0.01369 0.01369 0.01369 1.53% FabArray::Saxpy() 1353 0.01328 0.01328 0.01328 1.48% StateDataPhysBCFunct::() 41 0.01142 0.01142 0.01142 1.28% amrex::Copy() 469 0.01095 0.01095 0.01095 1.22% MLCellLinOp::defineAuxData() 11 0.01079 0.01079 0.01079 1.20% MLPoisson::Fapply() 1047 0.01044 0.01044 0.01044 1.16% Castro::enforce_min_density() 62 0.009976 0.009976 0.009976 1.11% Gravity::fill_multipole_BCs() 11 0.009136 0.009136 0.009136 1.02% FabArray::Xpay() 730 0.007953 0.007953 0.007953 0.89% MLMG::addInterpCorrection() 405 0.007201 0.007201 0.007201 0.80% amrex::average_down 405 0.006352 0.006352 0.006352 0.71% Castro::estTimeStep() 21 0.005991 0.005991 0.005991 0.67% Amr::checkPoint() 3 0.005413 0.005413 0.005413 0.60% Castro::reset_internal_energy(MultiFab) 63 0.005184 0.005184 0.005184 0.58% BndryData::define() 11 0.004253 0.004253 0.004253 0.47% amrex::Add() 81 0.003581 0.003581 0.003581 0.40% Castro::construct_new_gravity_source() 10 0.003546 0.003546 0.003546 0.40% Castro::enforce_speed_limit() 62 0.003384 0.003384 0.003384 0.38% Castro::construct_old_gravity_source() 10 0.002949 0.002949 0.002949 0.33% check_for_negative_density() 10 0.001892 0.001892 0.001892 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00187 0.00187 0.00187 0.21% Amr::writePlotFile() 2 0.001816 0.001816 0.001816 0.20% Castro::reset_internal_energy(Fab) 504 0.001781 0.001781 0.001781 0.20% MLCellLinOp::setLevelBC() 11 0.00166 0.00166 0.00166 0.19% Gravity::actual_solve_with_mlmg() 11 0.001646 0.001646 0.001646 0.18% MLCGSolver::bicgstab 81 0.001606 0.001606 0.001606 0.18% Castro::initData() 1 0.001496 0.001496 0.001496 0.17% FabArray::setDomainBndry() 41 0.001421 0.001421 0.001421 0.16% MLCellLinOp::prepareForSolve() 11 0.001413 0.001413 0.001413 0.16% FabArray::mult() 43 0.001393 0.001393 0.001393 0.16% MultiFab::contains_nan() 20 0.001295 0.001295 0.001295 0.14% MLCellLinOp::compGrad() 11 0.001114 0.001114 0.001114 0.12% MLCellLinOp::smooth() 1620 0.001047 0.001047 0.001047 0.12% MLMG::prepareForSolve() 11 0.001023 0.001023 0.001023 0.11% FabArray::FillBoundary() 3893 0.0008694 0.0008694 0.0008694 0.10% FabArrayBase::getCPC() 1313 0.0008056 0.0008056 0.0008056 0.09% FabArrayBase::CPC::define() 454 0.0006948 0.0006948 0.0006948 0.08% FabArrayBase::getFB() 3893 0.0006352 0.0006352 0.0006352 0.07% Gravity::get_new_grav_vector() 11 0.0006246 0.0006246 0.0006246 0.07% Amr::InitAmr() 1 0.0006047 0.0006047 0.0006047 0.07% Gravity::get_old_grav_vector() 10 0.0005017 0.0005017 0.0005017 0.06% AmrLevel::FillPatch() 41 0.0004267 0.0004267 0.0004267 0.05% MLCellLinOp::apply() 1047 0.0004237 0.0004237 0.0004237 0.05% MLCGSolver::ParallelAllReduce 1809 0.0003563 0.0003563 0.0003563 0.04% Amr::coarseTimeStep() 10 0.0003423 0.0003423 0.0003423 0.04% main() 1 0.0003339 0.0003339 0.0003339 0.04% MultiFab::max() 11 0.0003331 0.0003331 0.0003331 0.04% MLCellLinOp::defineBC() 11 0.0002907 0.0002907 0.0002907 0.03% FabArray::ParallelCopy() 851 0.0002606 0.0002606 0.0002606 0.03% FillPatchIterator::Initialize 41 0.0002386 0.0002386 0.0002386 0.03% MLMG::mgVcycle() 81 0.0002053 0.0002053 0.0002053 0.02% Castro::subcycle_advance_ctu() 10 0.0001924 0.0001924 0.0001924 0.02% MLCellLinOp::correctionResidual() 405 0.0001844 0.0001844 0.0001844 0.02% MLLinOp::defineGrids() 11 0.0001751 0.0001751 0.0001751 0.02% Castro::create_source_corrector() 10 0.0001627 0.0001627 0.0001627 0.02% Amr::timeStep() 10 0.0001622 0.0001622 0.0001622 0.02% Castro::construct_new_source() 50 0.0001587 0.0001587 0.0001587 0.02% StateData::checkPoint() 12 0.0001357 0.0001357 0.0001357 0.02% Gravity::update_max_rhs() 11 0.0001258 0.0001258 0.0001258 0.01% MLMG:computeResOfCorrection() 405 0.0001251 0.0001251 0.0001251 0.01% Gravity::solve_for_phi() 10 0.0001204 0.0001204 0.0001204 0.01% FabArrayBase::FB::FB() 56 9.763e-05 9.763e-05 9.763e-05 0.01% MLMG::actualBottomSolve() 81 9.152e-05 9.152e-05 9.152e-05 0.01% MLMG::mgVcycle_down::0 81 8.838e-05 8.838e-05 8.838e-05 0.01% Castro::Castro() 1 8.673e-05 8.673e-05 8.673e-05 0.01% Castro::clean_state() 62 8.184e-05 8.184e-05 8.184e-05 0.01% Castro::initialize_advance() 10 7.907e-05 7.907e-05 7.907e-05 0.01% MLMG::mgVcycle_down::1 81 7.896e-05 7.896e-05 7.896e-05 0.01% AmrLevel::checkPoint() 3 7.738e-05 7.738e-05 7.738e-05 0.01% MLMG::mgVcycle_down::2 81 7.66e-05 7.66e-05 7.66e-05 0.01% MLMG::mgVcycle_down::4 81 7.287e-05 7.287e-05 7.287e-05 0.01% MLMG::solve() 11 6.982e-05 6.982e-05 6.982e-05 0.01% MLMG::mgVcycle_down::3 81 6.919e-05 6.919e-05 6.919e-05 0.01% Castro::enforce_consistent_e() 1 6.831e-05 6.831e-05 6.831e-05 0.01% Castro::advance() 10 6.793e-05 6.793e-05 6.793e-05 0.01% Castro::finalize_advance() 10 6.536e-05 6.536e-05 6.536e-05 0.01% Castro::initialize_do_advance() 10 6.329e-05 6.329e-05 6.329e-05 0.01% MLMG::oneIter() 81 5.902e-05 5.902e-05 5.902e-05 0.01% MLMG::mgVcycle_up::4 81 5.665e-05 5.665e-05 5.665e-05 0.01% Castro::do_advance_ctu() 10 5.41e-05 5.41e-05 5.41e-05 0.01% MLCellLinOp::solutionResidual() 92 5.217e-05 5.217e-05 5.217e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.177e-05 5.177e-05 5.177e-05 0.01% MLMG::mgVcycle_up::0 81 5.147e-05 5.147e-05 5.147e-05 0.01% MLMG::mgVcycle_up::3 81 4.804e-05 4.804e-05 4.804e-05 0.01% MLMG::mgVcycle_up::1 81 4.736e-05 4.736e-05 4.736e-05 0.01% MLMG::mgVcycle_up::2 81 4.624e-05 4.624e-05 4.624e-05 0.01% Castro::finalize_do_advance() 10 4.582e-05 4.582e-05 4.582e-05 0.01% StateData::define() 4 4.444e-05 4.444e-05 4.444e-05 0.00% Castro::post_timestep() 10 4.277e-05 4.277e-05 4.277e-05 0.00% Castro::swap_state_time_levels() 10 3.711e-05 3.711e-05 3.711e-05 0.00% FillPatchSingleLevel 41 3.682e-05 3.682e-05 3.682e-05 0.00% MLMG::ResNormInf() 92 3.557e-05 3.557e-05 3.557e-05 0.00% Castro::construct_new_gravity() 10 3.416e-05 3.416e-05 3.416e-05 0.00% Castro::initMFs() 1 3.211e-05 3.211e-05 3.211e-05 0.00% MLMG::computeResidual() 81 3.126e-05 3.126e-05 3.126e-05 0.00% Amr::writeSmallPlotFile() 1 3.087e-05 3.087e-05 3.087e-05 0.00% MLMG::mgVcycle_bottom 81 2.983e-05 2.983e-05 2.983e-05 0.00% makeSFC 55 2.667e-05 2.667e-05 2.667e-05 0.00% Castro::buildMetrics() 1 2.499e-05 2.499e-05 2.499e-05 0.00% Amr::defBaseLevel() 1 2.452e-05 2.452e-05 2.452e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.393e-05 2.393e-05 2.393e-05 0.00% MLPoisson::define() 11 2.376e-05 2.376e-05 2.376e-05 0.00% Castro::do_old_sources() 10 2.259e-05 2.259e-05 2.259e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.042e-05 2.042e-05 2.042e-05 0.00% Castro::do_new_sources() 10 2.018e-05 2.018e-05 2.018e-05 0.00% Amr::FinalizeInit() 1 1.977e-05 1.977e-05 1.977e-05 0.00% Castro::construct_old_source() 50 1.941e-05 1.941e-05 1.941e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.858e-05 1.858e-05 1.858e-05 0.00% DistributionMapping::Distribute() 56 1.735e-05 1.735e-05 1.735e-05 0.00% MLPoisson::prepareForSolve() 11 1.619e-05 1.619e-05 1.619e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.383e-05 1.383e-05 1.383e-05 0.00% Castro::construct_old_gravity() 10 1.248e-05 1.248e-05 1.248e-05 0.00% MLLinOp::define() 11 1.211e-05 1.211e-05 1.211e-05 0.00% Castro::apply_source_to_state() 20 1.18e-05 1.18e-05 1.18e-05 0.00% Castro::check_for_nan() 20 1.119e-05 1.119e-05 1.119e-05 0.00% Castro::post_init() 1 1.077e-05 1.077e-05 1.077e-05 0.00% MLMG::computeMLResidual() 11 1.07e-05 1.07e-05 1.07e-05 0.00% Gravity::swapTimeLevels() 10 9.199e-06 9.199e-06 9.199e-06 0.00% Amr::initSubcycle() 1 9.004e-06 9.004e-06 9.004e-06 0.00% Gravity::actual_multilevel_solve() 1 8.017e-06 8.017e-06 8.017e-06 0.00% MLMG::getGradSolution() 11 6.82e-06 6.82e-06 6.82e-06 0.00% Castro::expand_state() 10 6.284e-06 6.284e-06 6.284e-06 0.00% Castro::computeNewDt() 9 6.269e-06 6.269e-06 6.269e-06 0.00% AmrLevel::checkPointPost() 3 4.909e-06 4.909e-06 4.909e-06 0.00% Castro::retry_advance_ctu() 10 4.622e-06 4.622e-06 4.622e-06 0.00% Amr::InitializeInit() 1 4.523e-06 4.523e-06 4.523e-06 0.00% MLMG::MLRhsNormInf() 11 4.161e-06 4.161e-06 4.161e-06 0.00% Gravity::set_mass_offset() 11 3.974e-06 3.974e-06 3.974e-06 0.00% MLMG::MLResNormInf() 11 3.812e-06 3.812e-06 3.812e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.326e-06 3.326e-06 3.326e-06 0.00% Castro::FluxRegCrseInit 10 2.815e-06 2.815e-06 2.815e-06 0.00% Castro::computeInitialDt() 2 2.748e-06 2.748e-06 2.748e-06 0.00% Amr::init() 1 2.724e-06 2.724e-06 2.724e-06 0.00% AmrLevel::checkPointPre() 3 2.245e-06 2.245e-06 2.245e-06 0.00% Castro::FluxRegFineAdd() 10 2.093e-06 2.093e-06 2.093e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.954e-06 1.954e-06 1.954e-06 0.00% Castro::post_regrid() 1 1.134e-06 1.134e-06 1.134e-06 0.00% Amr::initialInit() 1 1.116e-06 1.116e-06 1.116e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8959 0.8959 0.8959 100.00% Amr::coarseTimeStep() 10 0.7463 0.7463 0.7463 83.30% Amr::timeStep() 10 0.6541 0.6541 0.6541 73.00% Castro::advance() 10 0.644 0.644 0.644 71.88% Castro::subcycle_advance_ctu() 10 0.6296 0.6296 0.6296 70.27% Castro::do_advance_ctu() 10 0.6294 0.6294 0.6294 70.25% Gravity::solve_phi_with_mlmg() 11 0.2984 0.2984 0.2984 33.31% Gravity::actual_solve_with_mlmg() 11 0.2888 0.2888 0.2888 32.24% Castro::construct_ctu_hydro_source() 10 0.2842 0.2842 0.2842 31.72% Castro::construct_new_gravity() 10 0.2722 0.2722 0.2722 30.38% MLMG::solve() 11 0.2657 0.2657 0.2657 29.66% Gravity::solve_for_phi() 10 0.2558 0.2558 0.2558 28.55% MLMG::oneIter() 81 0.2498 0.2498 0.2498 27.89% MLMG::mgVcycle() 81 0.2462 0.2462 0.2462 27.48% VisMF::Write(FabArray) 11 0.1769 0.1769 0.1769 19.75% Amr::checkPoint() 3 0.1346 0.1346 0.1346 15.03% AmrLevel::checkPoint() 3 0.1292 0.1292 0.1292 14.42% StateData::checkPoint() 12 0.1291 0.1291 0.1291 14.41% Amr::init() 1 0.1238 0.1238 0.1238 13.82% MLCellLinOp::smooth() 1620 0.1225 0.1225 0.1225 13.68% MLCellLinOp::applyBC() 4298 0.1142 0.1142 0.1142 12.74% MLMG::mgVcycle_bottom 81 0.07388 0.07388 0.07388 8.25% MLMG::actualBottomSolve() 81 0.07385 0.07385 0.07385 8.24% MLCGSolver::bicgstab 81 0.07301 0.07301 0.07301 8.15% Castro::clean_state() 62 0.05529 0.05529 0.05529 6.17% Amr::initialInit() 1 0.05228 0.05228 0.05228 5.84% Amr::writePlotFile() 2 0.05028 0.05028 0.05028 5.61% AmrLevel::FillPatch() 41 0.04927 0.04927 0.04927 5.50% Amr::FinalizeInit() 1 0.04719 0.04719 0.04719 5.27% Castro::post_init() 1 0.04563 0.04563 0.04563 5.09% FillPatchIterator::Initialize 41 0.04494 0.04494 0.04494 5.02% FillPatchIterator::FillFromLevel0() 41 0.04328 0.04328 0.04328 4.83% FillPatchSingleLevel 41 0.04322 0.04322 0.04322 4.82% Gravity::multilevel_solve_for_new_phi() 1 0.04312 0.04312 0.04312 4.81% Gravity::actual_multilevel_solve() 1 0.0431 0.0431 0.0431 4.81% StateDataPhysBCFunct::() 41 0.0391 0.0391 0.0391 4.36% MLCellLinOp::apply() 1047 0.03675 0.03675 0.03675 4.10% MLMG::mgVcycle_down::0 81 0.03479 0.03479 0.03479 3.88% MLPoisson::Fsmooth() 3240 0.03373 0.03373 0.03373 3.76% FabArray::FillBoundary() 3893 0.03225 0.03225 0.03225 3.60% FillBoundary_nowait() 3893 0.03138 0.03138 0.03138 3.50% StateData::FillBoundary(geom) 328 0.02767 0.02767 0.02767 3.09% MLMG::mgVcycle_up::0 81 0.0263 0.0263 0.0263 2.94% amrex::Dot() 1100 0.02175 0.02175 0.02175 2.43% Castro::computeTemp() 63 0.02158 0.02158 0.02158 2.41% Castro::normalize_species() 62 0.02132 0.02132 0.02132 2.38% Castro::initialize_do_advance() 10 0.02118 0.02118 0.02118 2.36% MLMG:computeResOfCorrection() 405 0.02066 0.02066 0.02066 2.31% MLCellLinOp::correctionResidual() 405 0.02054 0.02054 0.02054 2.29% FabArray::norminf() 1048 0.02022 0.02022 0.02022 2.26% Castro::do_old_sources() 10 0.01915 0.01915 0.01915 2.14% Gravity::get_new_grav_vector() 11 0.01845 0.01845 0.01845 2.06% MLPoisson::define() 11 0.01816 0.01816 0.01816 2.03% MLMG::mgVcycle_down::1 81 0.01689 0.01689 0.01689 1.89% Castro::construct_old_gravity() 10 0.0159 0.0159 0.0159 1.77% Gravity::get_old_grav_vector() 10 0.01588 0.01588 0.01588 1.77% MLMG::mgVcycle_down::2 81 0.01569 0.01569 0.01569 1.75% MLMG::mgVcycle_down::3 81 0.0153 0.0153 0.0153 1.71% MLMG::mgVcycle_down::4 81 0.01519 0.01519 0.01519 1.69% FabArray::ParallelCopy() 851 0.01495 0.01495 0.01495 1.67% FabArray::ParallelCopy_nowait() 851 0.01469 0.01469 0.01469 1.64% Castro::initialize_advance() 10 0.01376 0.01376 0.01376 1.54% FabArray::setVal() 1054 0.01369 0.01369 0.01369 1.53% Castro::do_new_sources() 10 0.01346 0.01346 0.01346 1.50% FabArray::Saxpy() 1353 0.01328 0.01328 0.01328 1.48% MLCGSolver::ParallelAllReduce 1809 0.0131 0.0131 0.0131 1.46% MLMG::addInterpCorrection() 405 0.01261 0.01261 0.01261 1.41% MLCellLinOp::defineAuxData() 11 0.01227 0.01227 0.01227 1.37% MLMG::mgVcycle_up::1 81 0.0122 0.0122 0.0122 1.36% MLMG::mgVcycle_up::4 81 0.01215 0.01215 0.01215 1.36% Castro::expand_state() 10 0.01211 0.01211 0.01211 1.35% MLMG::mgVcycle_up::2 81 0.01191 0.01191 0.01191 1.33% amrex::average_down 405 0.0118 0.0118 0.0118 1.32% MLMG::mgVcycle_up::3 81 0.0117 0.0117 0.0117 1.31% amrex::Copy() 469 0.01095 0.01095 0.01095 1.22% MLPoisson::Fapply() 1047 0.01044 0.01044 0.01044 1.16% Castro::enforce_min_density() 62 0.009976 0.009976 0.009976 1.11% Castro::post_timestep() 10 0.009856 0.009856 0.009856 1.10% Gravity::fill_multipole_BCs() 11 0.009371 0.009371 0.009371 1.05% FabArray::Xpay() 730 0.007953 0.007953 0.007953 0.89% MLCellLinOp::solutionResidual() 92 0.007868 0.007868 0.007868 0.88% Castro::reset_internal_energy(MultiFab) 63 0.006965 0.006965 0.006965 0.78% MLMG::computeResidual() 81 0.006499 0.006499 0.006499 0.73% Castro::estTimeStep() 21 0.005991 0.005991 0.005991 0.67% MLCellLinOp::defineBC() 11 0.005618 0.005618 0.005618 0.63% MLMG::prepareForSolve() 11 0.005434 0.005434 0.005434 0.61% BndryData::define() 11 0.005327 0.005327 0.005327 0.59% Amr::InitializeInit() 1 0.005086 0.005086 0.005086 0.57% Amr::defBaseLevel() 1 0.005082 0.005082 0.005082 0.57% Castro::initData() 1 0.004385 0.004385 0.004385 0.49% Castro::construct_new_source() 50 0.003705 0.003705 0.003705 0.41% amrex::Add() 81 0.003581 0.003581 0.003581 0.40% Castro::construct_new_gravity_source() 10 0.003546 0.003546 0.003546 0.40% Castro::enforce_speed_limit() 62 0.003384 0.003384 0.003384 0.38% Castro::construct_old_source() 50 0.002968 0.002968 0.002968 0.33% Castro::construct_old_gravity_source() 10 0.002949 0.002949 0.002949 0.33% Castro::computeNewDt() 9 0.002478 0.002478 0.002478 0.28% Castro::finalize_do_advance() 10 0.002415 0.002415 0.002415 0.27% MLMG::ResNormInf() 92 0.002224 0.002224 0.002224 0.25% check_for_negative_density() 10 0.001892 0.001892 0.001892 0.21% Castro::apply_source_to_state() 20 0.001886 0.001886 0.001886 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00187 0.00187 0.00187 0.21% Castro::reset_internal_energy(Fab) 504 0.001781 0.001781 0.001781 0.20% MLCellLinOp::setLevelBC() 11 0.00166 0.00166 0.00166 0.19% MLMG::getGradSolution() 11 0.001632 0.001632 0.001632 0.18% MLCellLinOp::compGrad() 11 0.001625 0.001625 0.001625 0.18% FabArrayBase::getCPC() 1313 0.0015 0.0015 0.0015 0.17% MLPoisson::prepareForSolve() 11 0.001429 0.001429 0.001429 0.16% FabArray::setDomainBndry() 41 0.001421 0.001421 0.001421 0.16% MLCellLinOp::prepareForSolve() 11 0.001413 0.001413 0.001413 0.16% MLMG::computeMLResidual() 11 0.001411 0.001411 0.001411 0.16% FabArray::mult() 43 0.001393 0.001393 0.001393 0.16% Castro::check_for_nan() 20 0.001306 0.001306 0.001306 0.15% MultiFab::contains_nan() 20 0.001295 0.001295 0.001295 0.14% Castro::post_regrid() 1 0.001262 0.001262 0.001262 0.14% Castro::computeInitialDt() 2 0.001153 0.001153 0.001153 0.13% Gravity::update_max_rhs() 11 0.001009 0.001009 0.001009 0.11% FabArrayBase::getFB() 3893 0.0007328 0.0007328 0.0007328 0.08% FabArrayBase::CPC::define() 454 0.0006948 0.0006948 0.0006948 0.08% Amr::InitAmr() 1 0.0006137 0.0006137 0.0006137 0.07% Castro::finalize_advance() 10 0.0006136 0.0006136 0.0006136 0.07% Castro::Castro() 1 0.0006048 0.0006048 0.0006048 0.07% Gravity::swapTimeLevels() 10 0.0004926 0.0004926 0.0004926 0.05% MLMG::MLResNormInf() 11 0.0003554 0.0003554 0.0003554 0.04% MultiFab::max() 11 0.0003331 0.0003331 0.0003331 0.04% Castro::buildMetrics() 1 0.000298 0.000298 0.000298 0.03% MLLinOp::define() 11 0.0002459 0.0002459 0.0002459 0.03% MLMG::MLRhsNormInf() 11 0.0002339 0.0002339 0.0002339 0.03% MLLinOp::defineGrids() 11 0.0002338 0.0002338 0.0002338 0.03% Castro::create_source_corrector() 10 0.0001627 0.0001627 0.0001627 0.02% FabArrayBase::FB::FB() 56 9.763e-05 9.763e-05 9.763e-05 0.01% Castro::enforce_consistent_e() 1 6.831e-05 6.831e-05 6.831e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.302e-05 6.302e-05 6.302e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.672e-05 5.672e-05 5.672e-05 0.01% StateData::define() 4 4.444e-05 4.444e-05 4.444e-05 0.00% makeSFC 55 4.289e-05 4.289e-05 4.289e-05 0.00% Castro::swap_state_time_levels() 10 3.711e-05 3.711e-05 3.711e-05 0.00% Castro::initMFs() 1 3.211e-05 3.211e-05 3.211e-05 0.00% Amr::writeSmallPlotFile() 1 3.087e-05 3.087e-05 3.087e-05 0.00% DistributionMapping::Distribute() 56 1.735e-05 1.735e-05 1.735e-05 0.00% Amr::initSubcycle() 1 9.004e-06 9.004e-06 9.004e-06 0.00% AmrLevel::checkPointPost() 3 4.909e-06 4.909e-06 4.909e-06 0.00% Castro::retry_advance_ctu() 10 4.622e-06 4.622e-06 4.622e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.447e-06 4.447e-06 4.447e-06 0.00% Gravity::set_mass_offset() 11 3.974e-06 3.974e-06 3.974e-06 0.00% Castro::FluxRegCrseInit 10 2.815e-06 2.815e-06 2.815e-06 0.00% AmrLevel::checkPointPre() 3 2.245e-06 2.245e-06 2.245e-06 0.00% Castro::FluxRegFineAdd() 10 2.093e-06 2.093e-06 2.093e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.954e-06 1.954e-06 1.954e-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 90 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1064 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1575 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7618 KiB 14 MiB MLMG::prepareForSolve() 660 660 3646 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 213 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 181 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7513 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2186 B 2048 KiB Gravity::solve_for_phi() 80 80 583 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 334 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 213 KiB 671 KiB Castro::estTimeStep() 21 21 3260 B 480 KiB VisMF::Write(FabArray) 656 656 3488 B 320 KiB Castro::normalize_species() 62 62 7750 B 320 KiB amrex::average_down 1054 1054 1637 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1206 B 257 KiB amrex::Dot() 1343 1343 3587 B 160 KiB FabArray::norminf() 1129 1129 3488 B 160 KiB check_for_negative_density() 10 10 332 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3556 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 298 B 9648 B MLCellLinOp::applyBC() 8596 8596 226 B 9344 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3938 B 6144 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 376 B 1248 B MLCGSolver::bicgstab 405 405 98 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 608 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 42 KiB 8192 KiB VisMF::Write(FabArray) 744 744 432 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3556 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 45 B 10 KiB FillBoundary_nowait() 751 751 298 B 9648 B MLCellLinOp::applyBC() 4298 4298 225 B 9328 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3938 B 6144 B Gravity::get_new_grav_vector() 3 3 2894 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B amrex::average_down 82 82 616 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 303 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 26 B 400 B FabArray::norminf() 1129 1129 10 B 144 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): 2167 [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 (24.02-30-g2ecafcff4013) finalized Initializing AMReX (24.02-30-g2ecafcff4013)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-30-g2ecafcff4013) initialized Starting run at 09:35:15 UTC on 2024-02-23. Successfully read inputs file ... Castro git describe: 24.02-21-g56d243e7a AMReX git describe: 24.02-30-g2ecafcff4 Microphysics git describe: 24.02-23-g3df6ba0c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.510549164 Restart time = 0.072247302 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.068024228 [STEP 6] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.050950133 [STEP 7] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.073802503 [STEP 8] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.085066665 [STEP 9] FAB kilobyte spread across MPI nodes: [368280 ... 368280] 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.051468073 [STEP 10] FAB kilobyte spread across MPI nodes: [368280 ... 368280] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028589017 seconds Ending run at 09:35:15 UTC on 2024-02-23. Run time = 0.431336907 Run time without initialization = 0.358387442 Average number of zones advanced per microsecond: 3.657 Average number of zones advanced per microsecond per rank: 3.657 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4314 ... 0.4314 ... 0.4314 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1307 0.1307 0.1307 30.31% VisMF::Read() 3 0.06054 0.06054 0.06054 14.03% MLCellLinOp::applyBC() 1910 0.04266 0.04266 0.04266 9.89% VisMF::Write(FabArray) 1 0.02607 0.02607 0.02607 6.04% MLPoisson::Fsmooth() 1440 0.01478 0.01478 0.01478 3.43% StateData::FillBoundary(geom) 160 0.01307 0.01307 0.01307 3.03% FillBoundary_nowait() 1730 0.0129 0.0129 0.0129 2.99% amrex::Dot() 484 0.009244 0.009244 0.009244 2.14% FabArray::norminf() 465 0.008682 0.008682 0.008682 2.01% Castro::normalize_species() 30 0.008594 0.008594 0.008594 1.99% Castro::computeTemp() 30 0.007059 0.007059 0.007059 1.64% FabArray::setVal() 501 0.006568 0.006568 0.006568 1.52% FabArray::ParallelCopy_nowait() 380 0.006224 0.006224 0.006224 1.44% Castro::enforce_min_density() 30 0.006176 0.006176 0.006176 1.43% FabArray::Saxpy() 597 0.005874 0.005874 0.005874 1.36% MLCellLinOp::defineAuxData() 6 0.00563 0.00563 0.00563 1.31% Gravity::fill_multipole_BCs() 6 0.005546 0.005546 0.005546 1.29% amrex::Copy() 221 0.005452 0.005452 0.005452 1.26% Amr::restart() 1 0.004801 0.004801 0.004801 1.11% StateDataPhysBCFunct::() 20 0.004716 0.004716 0.004716 1.09% MLPoisson::Fapply() 464 0.004536 0.004536 0.004536 1.05% FabArray::Xpay() 325 0.00349 0.00349 0.00349 0.81% MLMG::addInterpCorrection() 180 0.00315 0.00315 0.00315 0.73% amrex::average_down 180 0.003017 0.003017 0.003017 0.70% Castro::estTimeStep() 10 0.002657 0.002657 0.002657 0.62% Amr::writePlotFile() 1 0.002356 0.002356 0.002356 0.55% BndryData::define() 6 0.002207 0.002207 0.002207 0.51% Castro::reset_internal_energy(MultiFab) 30 0.001974 0.001974 0.001974 0.46% Castro::construct_new_gravity_source() 5 0.001832 0.001832 0.001832 0.42% amrex::Add() 36 0.001546 0.001546 0.001546 0.36% Castro::construct_old_gravity_source() 5 0.00151 0.00151 0.00151 0.35% Castro::enforce_speed_limit() 30 0.001486 0.001486 0.001486 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000982 0.000982 0.000982 0.23% check_for_negative_density() 5 0.0009509 0.0009509 0.0009509 0.22% MLCellLinOp::setLevelBC() 6 0.0008815 0.0008815 0.0008815 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008806 0.0008806 0.0008806 0.20% Castro::reset_internal_energy(Fab) 240 0.0008358 0.0008358 0.0008358 0.19% MLCellLinOp::prepareForSolve() 6 0.0007716 0.0007716 0.0007716 0.18% MLCGSolver::bicgstab 36 0.0007288 0.0007288 0.0007288 0.17% FabArray::setDomainBndry() 20 0.0007036 0.0007036 0.0007036 0.16% FabArray::mult() 22 0.0007006 0.0007006 0.0007006 0.16% MultiFab::contains_nan() 10 0.0006568 0.0006568 0.0006568 0.15% MLCellLinOp::compGrad() 6 0.0006459 0.0006459 0.0006459 0.15% MLMG::prepareForSolve() 6 0.0005614 0.0005614 0.0005614 0.13% MLCellLinOp::smooth() 720 0.0005237 0.0005237 0.0005237 0.12% Amr::InitAmr() 1 0.0005105 0.0005105 0.0005105 0.12% FabArrayBase::CPC::define() 244 0.0004192 0.0004192 0.0004192 0.10% FabArray::FillBoundary() 1730 0.0003792 0.0003792 0.0003792 0.09% FabArrayBase::getCPC() 632 0.0003705 0.0003705 0.0003705 0.09% Gravity::get_old_grav_vector() 5 0.0003271 0.0003271 0.0003271 0.08% main() 1 0.0002919 0.0002919 0.0002919 0.07% Gravity::get_new_grav_vector() 5 0.0002749 0.0002749 0.0002749 0.06% FabArrayBase::getFB() 1730 0.0002717 0.0002717 0.0002717 0.06% AmrLevel::FillPatch() 20 0.0002434 0.0002434 0.0002434 0.06% MultiFab::max() 6 0.000211 0.000211 0.000211 0.05% MLCellLinOp::apply() 464 0.0001963 0.0001963 0.0001963 0.05% Amr::coarseTimeStep() 5 0.0001899 0.0001899 0.0001899 0.04% MLCGSolver::ParallelAllReduce 798 0.0001584 0.0001584 0.0001584 0.04% MLCellLinOp::defineBC() 6 0.000146 0.000146 0.000146 0.03% FabArray::ParallelCopy() 380 0.0001122 0.0001122 0.0001122 0.03% FillPatchIterator::Initialize 20 0.0001062 0.0001062 0.0001062 0.02% Castro::create_source_corrector() 5 0.0001049 0.0001049 0.0001049 0.02% MLLinOp::defineGrids() 6 9.717e-05 9.717e-05 9.717e-05 0.02% MLMG::mgVcycle() 36 9.333e-05 9.333e-05 9.333e-05 0.02% Castro::subcycle_advance_ctu() 5 9.104e-05 9.104e-05 9.104e-05 0.02% Amr::timeStep() 5 9.077e-05 9.077e-05 9.077e-05 0.02% AmrLevel::restart() 1 7.831e-05 7.831e-05 7.831e-05 0.02% MLCellLinOp::correctionResidual() 180 7.811e-05 7.811e-05 7.811e-05 0.02% StateData::restartDoit() 4 6.792e-05 6.792e-05 6.792e-05 0.02% Castro::initialize_do_advance() 5 6.644e-05 6.644e-05 6.644e-05 0.02% Gravity::update_max_rhs() 6 6.133e-05 6.133e-05 6.133e-05 0.01% FabArrayBase::FB::FB() 26 5.97e-05 5.97e-05 5.97e-05 0.01% Gravity::solve_for_phi() 5 5.467e-05 5.467e-05 5.467e-05 0.01% Castro::construct_new_source() 25 5.402e-05 5.402e-05 5.402e-05 0.01% MLMG:computeResOfCorrection() 180 5.365e-05 5.365e-05 5.365e-05 0.01% Castro::advance() 5 5.228e-05 5.228e-05 5.228e-05 0.01% Castro::finalize_do_advance() 5 4.527e-05 4.527e-05 4.527e-05 0.01% Castro::do_advance_ctu() 5 4.339e-05 4.339e-05 4.339e-05 0.01% MLMG::actualBottomSolve() 36 4.1e-05 4.1e-05 4.1e-05 0.01% MLMG::mgVcycle_down::0 36 3.935e-05 3.935e-05 3.935e-05 0.01% MLMG::mgVcycle_down::1 36 3.778e-05 3.778e-05 3.778e-05 0.01% MLMG::mgVcycle_down::2 36 3.594e-05 3.594e-05 3.594e-05 0.01% Castro::initialize_advance() 5 3.522e-05 3.522e-05 3.522e-05 0.01% MLMG::solve() 6 3.47e-05 3.47e-05 3.47e-05 0.01% Amr::writeSmallPlotFile() 1 3.381e-05 3.381e-05 3.381e-05 0.01% Castro::clean_state() 30 3.265e-05 3.265e-05 3.265e-05 0.01% MLMG::mgVcycle_down::4 36 3.232e-05 3.232e-05 3.232e-05 0.01% MLMG::mgVcycle_down::3 36 3.086e-05 3.086e-05 3.086e-05 0.01% Castro::post_restart() 1 2.996e-05 2.996e-05 2.996e-05 0.01% Castro::finalize_advance() 5 2.916e-05 2.916e-05 2.916e-05 0.01% Castro::post_timestep() 5 2.837e-05 2.837e-05 2.837e-05 0.01% Castro::buildMetrics() 1 2.832e-05 2.832e-05 2.832e-05 0.01% MLMG::oneIter() 36 2.826e-05 2.826e-05 2.826e-05 0.01% Castro::do_new_sources() 5 2.822e-05 2.822e-05 2.822e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.8e-05 2.8e-05 2.8e-05 0.01% MLMG::mgVcycle_up::4 36 2.791e-05 2.791e-05 2.791e-05 0.01% Castro::construct_old_source() 25 2.724e-05 2.724e-05 2.724e-05 0.01% MLMG::mgVcycle_up::0 36 2.639e-05 2.639e-05 2.639e-05 0.01% Castro::swap_state_time_levels() 5 2.48e-05 2.48e-05 2.48e-05 0.01% Castro::initMFs() 1 2.409e-05 2.409e-05 2.409e-05 0.01% MLMG::ResNormInf() 42 2.368e-05 2.368e-05 2.368e-05 0.01% MLMG::mgVcycle_up::3 36 2.365e-05 2.365e-05 2.365e-05 0.01% MLCellLinOp::solutionResidual() 42 2.334e-05 2.334e-05 2.334e-05 0.01% MLMG::mgVcycle_up::2 36 2.179e-05 2.179e-05 2.179e-05 0.01% Gravity::solve_phi_with_mlmg() 6 2.13e-05 2.13e-05 2.13e-05 0.00% MLMG::mgVcycle_up::1 36 2.106e-05 2.106e-05 2.106e-05 0.00% Castro::construct_new_gravity() 5 1.651e-05 1.651e-05 1.651e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.633e-05 1.633e-05 1.633e-05 0.00% FillPatchSingleLevel 20 1.565e-05 1.565e-05 1.565e-05 0.00% MLMG::computeResidual() 36 1.487e-05 1.487e-05 1.487e-05 0.00% makeSFC 30 1.441e-05 1.441e-05 1.441e-05 0.00% MLPoisson::define() 6 1.42e-05 1.42e-05 1.42e-05 0.00% MLMG::mgVcycle_bottom 36 1.357e-05 1.357e-05 1.357e-05 0.00% Castro::do_old_sources() 5 1.153e-05 1.153e-05 1.153e-05 0.00% MLPoisson::prepareForSolve() 6 1.122e-05 1.122e-05 1.122e-05 0.00% DistributionMapping::Distribute() 31 9.805e-06 9.805e-06 9.805e-06 0.00% Amr::initSubcycle() 1 8.83e-06 8.83e-06 8.83e-06 0.00% Gravity::actual_multilevel_solve() 1 8.253e-06 8.253e-06 8.253e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.344e-06 7.344e-06 7.344e-06 0.00% Castro::apply_source_to_state() 10 6.834e-06 6.834e-06 6.834e-06 0.00% Castro::check_for_nan() 10 6.83e-06 6.83e-06 6.83e-06 0.00% MLLinOp::define() 6 6.126e-06 6.126e-06 6.126e-06 0.00% Castro::construct_old_gravity() 5 6.069e-06 6.069e-06 6.069e-06 0.00% MLMG::computeMLResidual() 6 4.311e-06 4.311e-06 4.311e-06 0.00% Gravity::swapTimeLevels() 5 4.111e-06 4.111e-06 4.111e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.522e-06 3.522e-06 3.522e-06 0.00% MLMG::getGradSolution() 6 3.321e-06 3.321e-06 3.321e-06 0.00% Castro::computeNewDt() 5 3.26e-06 3.26e-06 3.26e-06 0.00% Castro::expand_state() 5 3.129e-06 3.129e-06 3.129e-06 0.00% MLMG::MLResNormInf() 6 2.446e-06 2.446e-06 2.446e-06 0.00% MLMG::MLRhsNormInf() 6 2.429e-06 2.429e-06 2.429e-06 0.00% Gravity::set_mass_offset() 6 2.372e-06 2.372e-06 2.372e-06 0.00% Castro::retry_advance_ctu() 5 1.767e-06 1.767e-06 1.767e-06 0.00% Castro::FluxRegCrseInit 5 1.5e-06 1.5e-06 1.5e-06 0.00% Castro::FluxRegFineAdd() 5 1.147e-06 1.147e-06 1.147e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.114e-06 1.114e-06 1.114e-06 0.00% Amr::init() 1 1.092e-06 1.092e-06 1.092e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4313 0.4313 0.4313 100.00% Amr::coarseTimeStep() 5 0.3295 0.3295 0.3295 76.38% Amr::timeStep() 5 0.3276 0.3276 0.3276 75.95% Castro::advance() 5 0.3224 0.3224 0.3224 74.75% Castro::subcycle_advance_ctu() 5 0.3152 0.3152 0.3152 73.06% Castro::do_advance_ctu() 5 0.3151 0.3151 0.3151 73.04% Castro::construct_new_gravity() 5 0.1431 0.1431 0.1431 33.18% Gravity::solve_phi_with_mlmg() 6 0.1408 0.1408 0.1408 32.64% Castro::construct_ctu_hydro_source() 5 0.1362 0.1362 0.1362 31.56% Gravity::solve_for_phi() 5 0.135 0.135 0.135 31.29% Gravity::actual_solve_with_mlmg() 6 0.135 0.135 0.135 31.29% MLMG::solve() 6 0.1228 0.1228 0.1228 28.46% MLMG::oneIter() 36 0.1151 0.1151 0.1151 26.67% MLMG::mgVcycle() 36 0.1135 0.1135 0.1135 26.31% Amr::init() 1 0.07231 0.07231 0.07231 16.76% Amr::restart() 1 0.07231 0.07231 0.07231 16.76% AmrLevel::restart() 1 0.06092 0.06092 0.06092 14.12% StateData::restartDoit() 4 0.06084 0.06084 0.06084 14.10% VisMF::Read() 3 0.06054 0.06054 0.06054 14.03% MLCellLinOp::smooth() 720 0.05994 0.05994 0.05994 13.90% MLCellLinOp::applyBC() 1910 0.05626 0.05626 0.05626 13.04% MLMG::mgVcycle_bottom 36 0.03169 0.03169 0.03169 7.35% MLMG::actualBottomSolve() 36 0.03168 0.03168 0.03168 7.34% MLCGSolver::bicgstab 36 0.03131 0.03131 0.03131 7.26% Amr::writePlotFile() 1 0.0287 0.0287 0.0287 6.65% Castro::clean_state() 30 0.02616 0.02616 0.02616 6.06% VisMF::Write(FabArray) 1 0.02607 0.02607 0.02607 6.04% AmrLevel::FillPatch() 20 0.02285 0.02285 0.02285 5.30% FillPatchIterator::Initialize 20 0.02071 0.02071 0.02071 4.80% FillPatchIterator::FillFromLevel0() 20 0.0199 0.0199 0.0199 4.61% FillPatchSingleLevel 20 0.01987 0.01987 0.01987 4.61% MLMG::mgVcycle_up::0 36 0.01833 0.01833 0.01833 4.25% StateDataPhysBCFunct::() 20 0.01779 0.01779 0.01779 4.12% MLCellLinOp::apply() 464 0.01608 0.01608 0.01608 3.73% MLMG::mgVcycle_down::0 36 0.01514 0.01514 0.01514 3.51% MLPoisson::Fsmooth() 1440 0.01478 0.01478 0.01478 3.43% FabArray::FillBoundary() 1730 0.01361 0.01361 0.01361 3.15% FillBoundary_nowait() 1730 0.01323 0.01323 0.01323 3.07% StateData::FillBoundary(geom) 160 0.01307 0.01307 0.01307 3.03% Castro::initialize_do_advance() 5 0.01143 0.01143 0.01143 2.65% Castro::computeTemp() 30 0.009869 0.009869 0.009869 2.29% MLPoisson::define() 6 0.009512 0.009512 0.009512 2.21% Castro::do_old_sources() 5 0.009435 0.009435 0.009435 2.19% amrex::Dot() 484 0.009244 0.009244 0.009244 2.14% MLMG:computeResOfCorrection() 180 0.008954 0.008954 0.008954 2.08% MLCellLinOp::correctionResidual() 180 0.0089 0.0089 0.0089 2.06% FabArray::norminf() 465 0.008682 0.008682 0.008682 2.01% Castro::normalize_species() 30 0.008594 0.008594 0.008594 1.99% Gravity::get_new_grav_vector() 5 0.008004 0.008004 0.008004 1.86% Castro::construct_old_gravity() 5 0.007646 0.007646 0.007646 1.77% Gravity::get_old_grav_vector() 5 0.00764 0.00764 0.00764 1.77% MLMG::mgVcycle_down::1 36 0.007476 0.007476 0.007476 1.73% Castro::initialize_advance() 5 0.006937 0.006937 0.006937 1.61% MLMG::mgVcycle_down::2 36 0.006784 0.006784 0.006784 1.57% FabArray::ParallelCopy() 380 0.006728 0.006728 0.006728 1.56% MLMG::mgVcycle_down::3 36 0.006637 0.006637 0.006637 1.54% FabArray::ParallelCopy_nowait() 380 0.006616 0.006616 0.006616 1.53% FabArray::setVal() 501 0.006568 0.006568 0.006568 1.52% MLMG::mgVcycle_down::4 36 0.006561 0.006561 0.006561 1.52% MLCellLinOp::defineAuxData() 6 0.006421 0.006421 0.006421 1.49% Castro::post_restart() 1 0.006408 0.006408 0.006408 1.49% Castro::enforce_min_density() 30 0.006176 0.006176 0.006176 1.43% Gravity::multilevel_solve_for_new_phi() 1 0.006029 0.006029 0.006029 1.40% Gravity::actual_multilevel_solve() 1 0.006013 0.006013 0.006013 1.39% Castro::expand_state() 5 0.005896 0.005896 0.005896 1.37% FabArray::Saxpy() 597 0.005874 0.005874 0.005874 1.36% Castro::do_new_sources() 5 0.00575 0.00575 0.00575 1.33% Gravity::fill_multipole_BCs() 6 0.005669 0.005669 0.005669 1.31% MLCGSolver::ParallelAllReduce 798 0.005647 0.005647 0.005647 1.31% MLMG::addInterpCorrection() 180 0.005463 0.005463 0.005463 1.27% amrex::Copy() 221 0.005452 0.005452 0.005452 1.26% amrex::average_down 180 0.005369 0.005369 0.005369 1.24% MLMG::mgVcycle_up::4 36 0.005288 0.005288 0.005288 1.23% MLMG::mgVcycle_up::1 36 0.005284 0.005284 0.005284 1.22% MLMG::mgVcycle_up::2 36 0.005161 0.005161 0.005161 1.20% Castro::post_timestep() 5 0.005074 0.005074 0.005074 1.18% MLMG::mgVcycle_up::3 36 0.005043 0.005043 0.005043 1.17% MLPoisson::Fapply() 464 0.004536 0.004536 0.004536 1.05% MLCellLinOp::solutionResidual() 42 0.003629 0.003629 0.003629 0.84% FabArray::Xpay() 325 0.00349 0.00349 0.00349 0.81% MLCellLinOp::defineBC() 6 0.002942 0.002942 0.002942 0.68% MLMG::prepareForSolve() 6 0.002904 0.002904 0.002904 0.67% MLMG::computeResidual() 36 0.002839 0.002839 0.002839 0.66% Castro::reset_internal_energy(MultiFab) 30 0.00281 0.00281 0.00281 0.65% BndryData::define() 6 0.002796 0.002796 0.002796 0.65% Castro::estTimeStep() 10 0.002657 0.002657 0.002657 0.62% Castro::construct_new_source() 25 0.001886 0.001886 0.001886 0.44% Castro::construct_new_gravity_source() 5 0.001832 0.001832 0.001832 0.42% Castro::computeNewDt() 5 0.001696 0.001696 0.001696 0.39% amrex::Add() 36 0.001546 0.001546 0.001546 0.36% Castro::construct_old_source() 25 0.001537 0.001537 0.001537 0.36% Castro::construct_old_gravity_source() 5 0.00151 0.00151 0.00151 0.35% Castro::enforce_speed_limit() 30 0.001486 0.001486 0.001486 0.34% Castro::finalize_do_advance() 5 0.00101 0.00101 0.00101 0.23% MLMG::ResNormInf() 42 0.001006 0.001006 0.001006 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000982 0.000982 0.000982 0.23% Castro::apply_source_to_state() 10 0.0009714 0.0009714 0.0009714 0.23% check_for_negative_density() 5 0.0009509 0.0009509 0.0009509 0.22% MLMG::getGradSolution() 6 0.0009304 0.0009304 0.0009304 0.22% MLCellLinOp::compGrad() 6 0.0009271 0.0009271 0.0009271 0.21% MLCellLinOp::setLevelBC() 6 0.0008815 0.0008815 0.0008815 0.20% Castro::reset_internal_energy(Fab) 240 0.0008358 0.0008358 0.0008358 0.19% MLMG::computeMLResidual() 6 0.00081 0.00081 0.00081 0.19% FabArrayBase::getCPC() 632 0.0007897 0.0007897 0.0007897 0.18% MLPoisson::prepareForSolve() 6 0.0007829 0.0007829 0.0007829 0.18% MLCellLinOp::prepareForSolve() 6 0.0007716 0.0007716 0.0007716 0.18% Gravity::update_max_rhs() 6 0.0007185 0.0007185 0.0007185 0.17% FabArray::setDomainBndry() 20 0.0007036 0.0007036 0.0007036 0.16% FabArray::mult() 22 0.0007006 0.0007006 0.0007006 0.16% Castro::check_for_nan() 10 0.0006637 0.0006637 0.0006637 0.15% MultiFab::contains_nan() 10 0.0006568 0.0006568 0.0006568 0.15% Amr::InitAmr() 1 0.0005193 0.0005193 0.0005193 0.12% FabArrayBase::CPC::define() 244 0.0004192 0.0004192 0.0004192 0.10% FabArrayBase::getFB() 1730 0.0003314 0.0003314 0.0003314 0.08% Castro::finalize_advance() 5 0.0002994 0.0002994 0.0002994 0.07% Gravity::swapTimeLevels() 5 0.0002405 0.0002405 0.0002405 0.06% MultiFab::max() 6 0.000211 0.000211 0.000211 0.05% MLMG::MLResNormInf() 6 0.0002008 0.0002008 0.0002008 0.05% Castro::buildMetrics() 1 0.0001563 0.0001563 0.0001563 0.04% MLLinOp::define() 6 0.0001347 0.0001347 0.0001347 0.03% MLLinOp::defineGrids() 6 0.0001286 0.0001286 0.0001286 0.03% MLMG::MLRhsNormInf() 6 0.0001215 0.0001215 0.0001215 0.03% Castro::create_source_corrector() 5 0.0001049 0.0001049 0.0001049 0.02% FabArrayBase::FB::FB() 26 5.97e-05 5.97e-05 5.97e-05 0.01% Amr::writeSmallPlotFile() 1 3.381e-05 3.381e-05 3.381e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.029e-05 3.029e-05 3.029e-05 0.01% Castro::swap_state_time_levels() 5 2.48e-05 2.48e-05 2.48e-05 0.01% Castro::initMFs() 1 2.409e-05 2.409e-05 2.409e-05 0.01% makeSFC 30 2.294e-05 2.294e-05 2.294e-05 0.01% DistributionMapping::Distribute() 31 9.805e-06 9.805e-06 9.805e-06 0.00% Amr::initSubcycle() 1 8.83e-06 8.83e-06 8.83e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.791e-06 4.791e-06 4.791e-06 0.00% Gravity::set_mass_offset() 6 2.372e-06 2.372e-06 2.372e-06 0.00% Castro::retry_advance_ctu() 5 1.767e-06 1.767e-06 1.767e-06 0.00% Castro::FluxRegCrseInit 5 1.5e-06 1.5e-06 1.5e-06 0.00% Castro::FluxRegFineAdd() 5 1.147e-06 1.147e-06 1.147e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.114e-06 1.114e-06 1.114e-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 186 MiB 9042 MiB Castro::initMFs() 48 48 57 MiB 68 MiB Castro::swap_state_time_levels() 32 32 46 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1046 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1783 KiB 28 MiB Castro::initialize_advance() 40 40 17 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6409 KiB 14 MiB MLMG::prepareForSolve() 361 361 3494 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 183 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 189 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6396 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 21 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3319 B 2048 KiB Gravity::solve_for_phi() 40 40 639 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 321 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 206 KiB 671 KiB Castro::estTimeStep() 10 10 2909 B 480 KiB VisMF::Write(FabArray) 112 112 2318 B 320 KiB Castro::normalize_species() 30 30 6479 B 320 KiB amrex::average_down 469 469 1542 B 257 KiB MLMG::addInterpCorrection() 468 468 1085 B 257 KiB amrex::Dot() 592 592 3161 B 160 KiB FabArray::norminf() 501 501 3107 B 160 KiB check_for_negative_density() 5 5 354 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3391 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 3820 3820 356 B 9344 B amrex::Copy() 56 56 5879 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 361 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1236 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 87 KiB 8192 KiB VisMF::Write(FabArray) 120 120 159 KiB 3584 KiB VisMF::Read() 24 24 211 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3391 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 258 B 9648 B MLCellLinOp::applyBC() 1910 1910 354 B 9328 B amrex::Copy() 56 56 5879 B 8816 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2508 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2688 B MLMG::prepareForSolve() 7 7 810 B 1648 B amrex::average_down 37 37 461 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 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): 2167 [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 (24.02-30-g2ecafcff4013) finalized