Initializing AMReX (24.02-12-g68244ec91d11)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-12-g68244ec91d11) initialized Starting run at 16:09:23 UTC on 2024-02-11. Successfully read inputs file ... Castro git describe: 24.02-15-g9bbf9dc13 AMReX git describe: 24.02-12-g68244ec91 Microphysics git describe: 24.02-12-g1627ef5d 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.046090828 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025594292 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.068404491 [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.050335552 [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.072115962 [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.086075632 [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.064779143 [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.0460956 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.050910305 [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.075390919 [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.073449871 [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.058773832 [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.060739859 [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.043225581 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.024918145 seconds Ending run at 16:09:24 UTC on 2024-02-11. Run time = 0.903209025 Run time without initialization = 0.775912901 Average number of zones advanced per microsecond: 3.379 Average number of zones advanced per microsecond per rank: 3.379 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9032 ... 0.9032 ... 0.9032 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2707 0.2707 0.2707 29.98% VisMF::Write(FabArray) 11 0.1774 0.1774 0.1774 19.64% MLCellLinOp::applyBC() 4351 0.08865 0.08865 0.08865 9.82% MLPoisson::Fsmooth() 3280 0.03402 0.03402 0.03402 3.77% FillBoundary_nowait() 3941 0.03191 0.03191 0.03191 3.53% StateData::FillBoundary(geom) 328 0.02735 0.02735 0.02735 3.03% amrex::Dot() 1114 0.02186 0.02186 0.02186 2.42% Castro::normalize_species() 62 0.02043 0.02043 0.02043 2.26% FabArray::norminf() 1061 0.02036 0.02036 0.02036 2.25% Castro::computeTemp() 63 0.01679 0.01679 0.01679 1.86% FabArray::ParallelCopy_nowait() 861 0.01386 0.01386 0.01386 1.53% FabArray::setVal() 1062 0.01356 0.01356 0.01356 1.50% FabArray::Saxpy() 1370 0.01332 0.01332 0.01332 1.47% StateDataPhysBCFunct::() 41 0.01169 0.01169 0.01169 1.29% Castro::enforce_min_density() 62 0.01132 0.01132 0.01132 1.25% amrex::Copy() 472 0.01092 0.01092 0.01092 1.21% MLCellLinOp::defineAuxData() 11 0.01048 0.01048 0.01048 1.16% MLPoisson::Fapply() 1060 0.01046 0.01046 0.01046 1.16% Gravity::fill_multipole_BCs() 11 0.009035 0.009035 0.009035 1.00% FabArray::Xpay() 739 0.007973 0.007973 0.007973 0.88% MLMG::addInterpCorrection() 410 0.007127 0.007127 0.007127 0.79% amrex::average_down 410 0.006244 0.006244 0.006244 0.69% Amr::checkPoint() 3 0.005921 0.005921 0.005921 0.66% Castro::estTimeStep() 21 0.005645 0.005645 0.005645 0.63% Castro::reset_internal_energy(MultiFab) 63 0.005325 0.005325 0.005325 0.59% BndryData::define() 11 0.004046 0.004046 0.004046 0.45% amrex::Add() 82 0.003651 0.003651 0.003651 0.40% Castro::construct_new_gravity_source() 10 0.003414 0.003414 0.003414 0.38% Castro::construct_old_gravity_source() 10 0.002839 0.002839 0.002839 0.31% Castro::enforce_speed_limit() 62 0.002442 0.002442 0.002442 0.27% Amr::writePlotFile() 2 0.002088 0.002088 0.002088 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001808 0.001808 0.001808 0.20% check_for_negative_density() 10 0.001765 0.001765 0.001765 0.20% MLCGSolver::bicgstab 82 0.001726 0.001726 0.001726 0.19% Castro::reset_internal_energy(Fab) 504 0.001636 0.001636 0.001636 0.18% MLCellLinOp::setLevelBC() 11 0.001622 0.001622 0.001622 0.18% Gravity::actual_solve_with_mlmg() 11 0.001583 0.001583 0.001583 0.18% Castro::initData() 1 0.001543 0.001543 0.001543 0.17% FabArray::setDomainBndry() 41 0.001417 0.001417 0.001417 0.16% FabArray::mult() 43 0.00138 0.00138 0.00138 0.15% MLCellLinOp::prepareForSolve() 11 0.00135 0.00135 0.00135 0.15% MultiFab::contains_nan() 20 0.001276 0.001276 0.001276 0.14% MLCellLinOp::smooth() 1640 0.001135 0.001135 0.001135 0.13% MLCellLinOp::compGrad() 11 0.001109 0.001109 0.001109 0.12% MLMG::prepareForSolve() 11 0.0009852 0.0009852 0.0009852 0.11% FabArray::FillBoundary() 3941 0.0008244 0.0008244 0.0008244 0.09% FabArrayBase::getCPC() 1323 0.0007974 0.0007974 0.0007974 0.09% FabArrayBase::CPC::define() 454 0.0006585 0.0006585 0.0006585 0.07% Gravity::get_new_grav_vector() 11 0.0006235 0.0006235 0.0006235 0.07% FabArrayBase::getFB() 3941 0.0006143 0.0006143 0.0006143 0.07% Amr::InitAmr() 1 0.0005537 0.0005537 0.0005537 0.06% Gravity::get_old_grav_vector() 10 0.0004905 0.0004905 0.0004905 0.05% MLCellLinOp::apply() 1060 0.0004518 0.0004518 0.0004518 0.05% AmrLevel::FillPatch() 41 0.0004294 0.0004294 0.0004294 0.05% Amr::coarseTimeStep() 10 0.0003925 0.0003925 0.0003925 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003813 0.0003813 0.0003813 0.04% MultiFab::max() 11 0.0003349 0.0003349 0.0003349 0.04% MLCellLinOp::defineBC() 11 0.0002922 0.0002922 0.0002922 0.03% main() 1 0.0002832 0.0002832 0.0002832 0.03% FabArray::ParallelCopy() 861 0.0002388 0.0002388 0.0002388 0.03% FillPatchIterator::Initialize 41 0.0002193 0.0002193 0.0002193 0.02% MLMG::mgVcycle() 82 0.0002099 0.0002099 0.0002099 0.02% Castro::create_source_corrector() 10 0.0001837 0.0001837 0.0001837 0.02% MLCellLinOp::correctionResidual() 410 0.000181 0.000181 0.000181 0.02% Castro::subcycle_advance_ctu() 10 0.0001733 0.0001733 0.0001733 0.02% MLLinOp::defineGrids() 11 0.0001707 0.0001707 0.0001707 0.02% Amr::timeStep() 10 0.0001649 0.0001649 0.0001649 0.02% StateData::checkPoint() 12 0.0001368 0.0001368 0.0001368 0.02% Gravity::update_max_rhs() 11 0.0001348 0.0001348 0.0001348 0.01% Castro::construct_new_source() 50 0.0001297 0.0001297 0.0001297 0.01% MLMG:computeResOfCorrection() 410 0.0001244 0.0001244 0.0001244 0.01% Gravity::solve_for_phi() 10 0.0001112 0.0001112 0.0001112 0.01% Castro::advance() 10 0.0001095 0.0001095 0.0001095 0.01% FabArrayBase::FB::FB() 56 9.46e-05 9.46e-05 9.46e-05 0.01% Castro::Castro() 1 9.246e-05 9.246e-05 9.246e-05 0.01% MLMG::mgVcycle_down::0 82 9.084e-05 9.084e-05 9.084e-05 0.01% MLMG::actualBottomSolve() 82 8.71e-05 8.71e-05 8.71e-05 0.01% MLMG::mgVcycle_down::1 82 8.498e-05 8.498e-05 8.498e-05 0.01% Castro::initialize_advance() 10 8.125e-05 8.125e-05 8.125e-05 0.01% MLMG::mgVcycle_down::2 82 8.074e-05 8.074e-05 8.074e-05 0.01% MLMG::solve() 11 7.85e-05 7.85e-05 7.85e-05 0.01% AmrLevel::checkPoint() 3 7.689e-05 7.689e-05 7.689e-05 0.01% MLMG::mgVcycle_down::4 82 7.674e-05 7.674e-05 7.674e-05 0.01% Castro::do_new_sources() 10 7.491e-05 7.491e-05 7.491e-05 0.01% MLMG::mgVcycle_down::3 82 7.486e-05 7.486e-05 7.486e-05 0.01% Castro::clean_state() 62 7.016e-05 7.016e-05 7.016e-05 0.01% Castro::finalize_advance() 10 6.801e-05 6.801e-05 6.801e-05 0.01% Castro::enforce_consistent_e() 1 6.523e-05 6.523e-05 6.523e-05 0.01% Castro::initialize_do_advance() 10 6.439e-05 6.439e-05 6.439e-05 0.01% MLMG::mgVcycle_up::4 82 6.106e-05 6.106e-05 6.106e-05 0.01% MLMG::mgVcycle_up::0 82 5.699e-05 5.699e-05 5.699e-05 0.01% MLMG::oneIter() 82 5.619e-05 5.619e-05 5.619e-05 0.01% StateData::define() 4 5.546e-05 5.546e-05 5.546e-05 0.01% MLMG::mgVcycle_up::2 82 5.298e-05 5.298e-05 5.298e-05 0.01% MLMG::mgVcycle_up::1 82 5.205e-05 5.205e-05 5.205e-05 0.01% MLMG::mgVcycle_up::3 82 5.177e-05 5.177e-05 5.177e-05 0.01% MLCellLinOp::solutionResidual() 93 5.125e-05 5.125e-05 5.125e-05 0.01% Castro::do_advance_ctu() 10 4.838e-05 4.838e-05 4.838e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.832e-05 4.832e-05 4.832e-05 0.01% Castro::finalize_do_advance() 10 4.604e-05 4.604e-05 4.604e-05 0.01% Castro::initMFs() 1 3.796e-05 3.796e-05 3.796e-05 0.00% MLMG::computeResidual() 82 3.678e-05 3.678e-05 3.678e-05 0.00% Castro::swap_state_time_levels() 10 3.665e-05 3.665e-05 3.665e-05 0.00% MLMG::ResNormInf() 93 3.619e-05 3.619e-05 3.619e-05 0.00% FillPatchSingleLevel 41 3.491e-05 3.491e-05 3.491e-05 0.00% Amr::defBaseLevel() 1 3.485e-05 3.485e-05 3.485e-05 0.00% MLMG::mgVcycle_bottom 82 3.392e-05 3.392e-05 3.392e-05 0.00% Amr::writeSmallPlotFile() 1 3.125e-05 3.125e-05 3.125e-05 0.00% Castro::construct_new_gravity() 10 2.729e-05 2.729e-05 2.729e-05 0.00% Castro::buildMetrics() 1 2.622e-05 2.622e-05 2.622e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.52e-05 2.52e-05 2.52e-05 0.00% makeSFC 55 2.492e-05 2.492e-05 2.492e-05 0.00% Castro::do_old_sources() 10 2.322e-05 2.322e-05 2.322e-05 0.00% MLPoisson::define() 11 1.985e-05 1.985e-05 1.985e-05 0.00% Amr::FinalizeInit() 1 1.959e-05 1.959e-05 1.959e-05 0.00% Castro::construct_old_source() 50 1.849e-05 1.849e-05 1.849e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.78e-05 1.78e-05 1.78e-05 0.00% DistributionMapping::Distribute() 56 1.574e-05 1.574e-05 1.574e-05 0.00% Castro::check_for_nan() 20 1.397e-05 1.397e-05 1.397e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.368e-05 1.368e-05 1.368e-05 0.00% Castro::apply_source_to_state() 20 1.338e-05 1.338e-05 1.338e-05 0.00% MLPoisson::prepareForSolve() 11 1.321e-05 1.321e-05 1.321e-05 0.00% MLLinOp::define() 11 1.263e-05 1.263e-05 1.263e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.255e-05 1.255e-05 1.255e-05 0.00% Castro::construct_old_gravity() 10 1.094e-05 1.094e-05 1.094e-05 0.00% Gravity::swapTimeLevels() 10 1.051e-05 1.051e-05 1.051e-05 0.00% Castro::post_init() 1 9.704e-06 9.704e-06 9.704e-06 0.00% MLMG::computeMLResidual() 11 9.2e-06 9.2e-06 9.2e-06 0.00% Gravity::set_mass_offset() 11 8.826e-06 8.826e-06 8.826e-06 0.00% Amr::initSubcycle() 1 8.583e-06 8.583e-06 8.583e-06 0.00% Castro::post_timestep() 10 8.132e-06 8.132e-06 8.132e-06 0.00% Gravity::actual_multilevel_solve() 1 7.699e-06 7.699e-06 7.699e-06 0.00% Castro::computeNewDt() 9 6.601e-06 6.601e-06 6.601e-06 0.00% Castro::expand_state() 10 6.502e-06 6.502e-06 6.502e-06 0.00% MLMG::getGradSolution() 11 6.172e-06 6.172e-06 6.172e-06 0.00% AmrLevel::checkPointPost() 3 4.676e-06 4.676e-06 4.676e-06 0.00% Amr::InitializeInit() 1 4.633e-06 4.633e-06 4.633e-06 0.00% Castro::retry_advance_ctu() 10 4.165e-06 4.165e-06 4.165e-06 0.00% MLMG::MLRhsNormInf() 11 3.943e-06 3.943e-06 3.943e-06 0.00% MLMG::MLResNormInf() 11 3.601e-06 3.601e-06 3.601e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.103e-06 3.103e-06 3.103e-06 0.00% Castro::computeInitialDt() 2 2.862e-06 2.862e-06 2.862e-06 0.00% Castro::FluxRegCrseInit 10 2.728e-06 2.728e-06 2.728e-06 0.00% AmrLevel::checkPointPre() 3 2.683e-06 2.683e-06 2.683e-06 0.00% Amr::init() 1 2.421e-06 2.421e-06 2.421e-06 0.00% Castro::FluxRegFineAdd() 10 2.242e-06 2.242e-06 2.242e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.181e-06 2.181e-06 2.181e-06 0.00% Castro::post_regrid() 1 1.219e-06 1.219e-06 1.219e-06 0.00% Amr::initialInit() 1 1.154e-06 1.154e-06 1.154e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9032 0.9032 0.9032 100.00% Amr::coarseTimeStep() 10 0.7508 0.7508 0.7508 83.12% Amr::timeStep() 10 0.6577 0.6577 0.6577 72.82% Castro::advance() 10 0.6477 0.6477 0.6477 71.71% Castro::subcycle_advance_ctu() 10 0.6331 0.6331 0.6331 70.09% Castro::do_advance_ctu() 10 0.6329 0.6329 0.6329 70.07% Gravity::solve_phi_with_mlmg() 11 0.3062 0.3062 0.3062 33.90% Gravity::actual_solve_with_mlmg() 11 0.2967 0.2967 0.2967 32.85% Castro::construct_ctu_hydro_source() 10 0.2825 0.2825 0.2825 31.27% Castro::construct_new_gravity() 10 0.2772 0.2772 0.2772 30.69% MLMG::solve() 11 0.2743 0.2743 0.2743 30.37% Gravity::solve_for_phi() 10 0.2607 0.2607 0.2607 28.86% MLMG::oneIter() 82 0.2586 0.2586 0.2586 28.63% MLMG::mgVcycle() 82 0.2549 0.2549 0.2549 28.22% VisMF::Write(FabArray) 11 0.1774 0.1774 0.1774 19.64% Amr::checkPoint() 3 0.1355 0.1355 0.1355 15.01% MLCellLinOp::smooth() 1640 0.1308 0.1308 0.1308 14.48% AmrLevel::checkPoint() 3 0.1296 0.1296 0.1296 14.35% StateData::checkPoint() 12 0.1295 0.1295 0.1295 14.34% Amr::init() 1 0.1266 0.1266 0.1266 14.02% MLCellLinOp::applyBC() 4351 0.1221 0.1221 0.1221 13.52% MLMG::mgVcycle_bottom 82 0.07428 0.07428 0.07428 8.22% MLMG::actualBottomSolve() 82 0.07425 0.07425 0.07425 8.22% MLCGSolver::bicgstab 82 0.07343 0.07343 0.07343 8.13% Castro::clean_state() 62 0.05705 0.05705 0.05705 6.32% Amr::initialInit() 1 0.05482 0.05482 0.05482 6.07% Amr::writePlotFile() 2 0.05063 0.05063 0.05063 5.60% Amr::FinalizeInit() 1 0.04962 0.04962 0.04962 5.49% AmrLevel::FillPatch() 41 0.04919 0.04919 0.04919 5.45% Castro::post_init() 1 0.04847 0.04847 0.04847 5.37% Gravity::multilevel_solve_for_new_phi() 1 0.04593 0.04593 0.04593 5.08% Gravity::actual_multilevel_solve() 1 0.04591 0.04591 0.04591 5.08% FillPatchIterator::Initialize 41 0.04487 0.04487 0.04487 4.97% FillPatchIterator::FillFromLevel0() 41 0.04323 0.04323 0.04323 4.79% FillPatchSingleLevel 41 0.04318 0.04318 0.04318 4.78% StateDataPhysBCFunct::() 41 0.03904 0.03904 0.03904 4.32% MLCellLinOp::apply() 1060 0.03687 0.03687 0.03687 4.08% MLMG::mgVcycle_down::0 82 0.03543 0.03543 0.03543 3.92% MLPoisson::Fsmooth() 3280 0.03402 0.03402 0.03402 3.77% FabArray::FillBoundary() 3941 0.03345 0.03345 0.03345 3.70% FillBoundary_nowait() 3941 0.03262 0.03262 0.03262 3.61% StateData::FillBoundary(geom) 328 0.02735 0.02735 0.02735 3.03% MLMG::mgVcycle_up::0 82 0.02705 0.02705 0.02705 2.99% Castro::computeTemp() 63 0.02375 0.02375 0.02375 2.63% Castro::initialize_do_advance() 10 0.02262 0.02262 0.02262 2.50% amrex::Dot() 1114 0.02186 0.02186 0.02186 2.42% MLMG:computeResOfCorrection() 410 0.02079 0.02079 0.02079 2.30% MLCellLinOp::correctionResidual() 410 0.02066 0.02066 0.02066 2.29% Castro::normalize_species() 62 0.02043 0.02043 0.02043 2.26% FabArray::norminf() 1061 0.02036 0.02036 0.02036 2.25% MLMG::mgVcycle_up::1 82 0.01923 0.01923 0.01923 2.13% Gravity::get_new_grav_vector() 11 0.01862 0.01862 0.01862 2.06% Castro::do_old_sources() 10 0.01847 0.01847 0.01847 2.04% MLPoisson::define() 11 0.01753 0.01753 0.01753 1.94% MLMG::mgVcycle_down::1 82 0.01683 0.01683 0.01683 1.86% Castro::construct_old_gravity() 10 0.01568 0.01568 0.01568 1.74% MLMG::mgVcycle_down::2 82 0.01567 0.01567 0.01567 1.73% Gravity::get_old_grav_vector() 10 0.01567 0.01567 0.01567 1.73% MLMG::mgVcycle_down::3 82 0.01528 0.01528 0.01528 1.69% MLMG::mgVcycle_down::4 82 0.01515 0.01515 0.01515 1.68% FabArray::ParallelCopy() 861 0.01491 0.01491 0.01491 1.65% FabArray::ParallelCopy_nowait() 861 0.01467 0.01467 0.01467 1.62% Castro::initialize_advance() 10 0.01391 0.01391 0.01391 1.54% FabArray::setVal() 1062 0.01356 0.01356 0.01356 1.50% Castro::do_new_sources() 10 0.01336 0.01336 0.01336 1.48% FabArray::Saxpy() 1370 0.01332 0.01332 0.01332 1.47% MLCGSolver::ParallelAllReduce 1832 0.01326 0.01326 0.01326 1.47% MLMG::addInterpCorrection() 410 0.01255 0.01255 0.01255 1.39% Castro::expand_state() 10 0.01226 0.01226 0.01226 1.36% MLMG::mgVcycle_up::4 82 0.01211 0.01211 0.01211 1.34% MLMG::mgVcycle_up::2 82 0.01192 0.01192 0.01192 1.32% MLCellLinOp::defineAuxData() 11 0.01191 0.01191 0.01191 1.32% MLMG::mgVcycle_up::3 82 0.01169 0.01169 0.01169 1.29% amrex::average_down 410 0.01163 0.01163 0.01163 1.29% Castro::enforce_min_density() 62 0.01132 0.01132 0.01132 1.25% amrex::Copy() 472 0.01092 0.01092 0.01092 1.21% MLPoisson::Fapply() 1060 0.01046 0.01046 0.01046 1.16% Castro::post_timestep() 10 0.00982 0.00982 0.00982 1.09% Gravity::fill_multipole_BCs() 11 0.009272 0.009272 0.009272 1.03% FabArray::Xpay() 739 0.007973 0.007973 0.007973 0.88% MLCellLinOp::solutionResidual() 93 0.007852 0.007852 0.007852 0.87% Castro::reset_internal_energy(MultiFab) 63 0.006961 0.006961 0.006961 0.77% MLMG::computeResidual() 82 0.006541 0.006541 0.006541 0.72% Castro::estTimeStep() 21 0.005645 0.005645 0.005645 0.63% MLCellLinOp::defineBC() 11 0.00536 0.00536 0.00536 0.59% MLMG::prepareForSolve() 11 0.00528 0.00528 0.00528 0.58% Amr::InitializeInit() 1 0.005206 0.005206 0.005206 0.58% Amr::defBaseLevel() 1 0.005201 0.005201 0.005201 0.58% BndryData::define() 11 0.005068 0.005068 0.005068 0.56% Castro::initData() 1 0.004502 0.004502 0.004502 0.50% amrex::Add() 82 0.003651 0.003651 0.003651 0.40% Castro::construct_new_source() 50 0.003543 0.003543 0.003543 0.39% Castro::construct_new_gravity_source() 10 0.003414 0.003414 0.003414 0.38% Castro::construct_old_source() 50 0.002857 0.002857 0.002857 0.32% Castro::construct_old_gravity_source() 10 0.002839 0.002839 0.002839 0.31% Castro::computeNewDt() 9 0.00248 0.00248 0.00248 0.27% Castro::enforce_speed_limit() 62 0.002442 0.002442 0.002442 0.27% MLMG::ResNormInf() 93 0.00226 0.00226 0.00226 0.25% Castro::finalize_do_advance() 10 0.002147 0.002147 0.002147 0.24% Castro::apply_source_to_state() 20 0.001868 0.001868 0.001868 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001808 0.001808 0.001808 0.20% check_for_negative_density() 10 0.001765 0.001765 0.001765 0.20% Castro::reset_internal_energy(Fab) 504 0.001636 0.001636 0.001636 0.18% MLCellLinOp::setLevelBC() 11 0.001622 0.001622 0.001622 0.18% MLMG::getGradSolution() 11 0.001613 0.001613 0.001613 0.18% MLCellLinOp::compGrad() 11 0.001607 0.001607 0.001607 0.18% FabArrayBase::getCPC() 1323 0.001456 0.001456 0.001456 0.16% FabArray::setDomainBndry() 41 0.001417 0.001417 0.001417 0.16% FabArray::mult() 43 0.00138 0.00138 0.00138 0.15% MLPoisson::prepareForSolve() 11 0.001363 0.001363 0.001363 0.15% MLMG::computeMLResidual() 11 0.001357 0.001357 0.001357 0.15% MLCellLinOp::prepareForSolve() 11 0.00135 0.00135 0.00135 0.15% Castro::check_for_nan() 20 0.00129 0.00129 0.00129 0.14% MultiFab::contains_nan() 20 0.001276 0.001276 0.001276 0.14% Castro::computeInitialDt() 2 0.001073 0.001073 0.001073 0.12% Gravity::update_max_rhs() 11 0.00101 0.00101 0.00101 0.11% Castro::post_regrid() 1 0.0008126 0.0008126 0.0008126 0.09% FabArrayBase::getFB() 3941 0.0007089 0.0007089 0.0007089 0.08% FabArrayBase::CPC::define() 454 0.0006585 0.0006585 0.0006585 0.07% Castro::finalize_advance() 10 0.0006048 0.0006048 0.0006048 0.07% Castro::Castro() 1 0.0005918 0.0005918 0.0005918 0.07% Amr::InitAmr() 1 0.0005623 0.0005623 0.0005623 0.06% Gravity::swapTimeLevels() 10 0.0004642 0.0004642 0.0004642 0.05% MLMG::MLResNormInf() 11 0.0003356 0.0003356 0.0003356 0.04% MultiFab::max() 11 0.0003349 0.0003349 0.0003349 0.04% Castro::buildMetrics() 1 0.0002876 0.0002876 0.0002876 0.03% MLLinOp::define() 11 0.0002388 0.0002388 0.0002388 0.03% MLMG::MLRhsNormInf() 11 0.0002354 0.0002354 0.0002354 0.03% MLLinOp::defineGrids() 11 0.0002262 0.0002262 0.0002262 0.03% Castro::create_source_corrector() 10 0.0001837 0.0001837 0.0001837 0.02% FabArrayBase::FB::FB() 56 9.46e-05 9.46e-05 9.46e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.801e-05 6.801e-05 6.801e-05 0.01% Castro::enforce_consistent_e() 1 6.523e-05 6.523e-05 6.523e-05 0.01% StateData::define() 4 5.546e-05 5.546e-05 5.546e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.329e-05 5.329e-05 5.329e-05 0.01% makeSFC 55 3.961e-05 3.961e-05 3.961e-05 0.00% Castro::initMFs() 1 3.796e-05 3.796e-05 3.796e-05 0.00% Castro::swap_state_time_levels() 10 3.665e-05 3.665e-05 3.665e-05 0.00% Amr::writeSmallPlotFile() 1 3.125e-05 3.125e-05 3.125e-05 0.00% DistributionMapping::Distribute() 56 1.574e-05 1.574e-05 1.574e-05 0.00% Gravity::set_mass_offset() 11 8.826e-06 8.826e-06 8.826e-06 0.00% Amr::initSubcycle() 1 8.583e-06 8.583e-06 8.583e-06 0.00% AmrLevel::checkPointPost() 3 4.676e-06 4.676e-06 4.676e-06 0.00% Castro::retry_advance_ctu() 10 4.165e-06 4.165e-06 4.165e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.153e-06 4.153e-06 4.153e-06 0.00% Castro::FluxRegCrseInit 10 2.728e-06 2.728e-06 2.728e-06 0.00% AmrLevel::checkPointPre() 3 2.683e-06 2.683e-06 2.683e-06 0.00% Castro::FluxRegFineAdd() 10 2.242e-06 2.242e-06 2.242e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.181e-06 2.181e-06 2.181e-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 88 MiB 9042 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 1056 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1565 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3735 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 214 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7517 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2167 B 2048 KiB Gravity::solve_for_phi() 80 80 590 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 103 KiB 2048 KiB BndryData::define() 1056 1056 341 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 217 KiB 671 KiB Castro::estTimeStep() 21 21 3045 B 480 KiB VisMF::Write(FabArray) 656 656 3406 B 320 KiB Castro::normalize_species() 62 62 7364 B 320 KiB amrex::average_down 1067 1067 1270 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1190 B 257 KiB amrex::Dot() 1360 1360 3580 B 160 KiB FabArray::norminf() 1143 1143 3479 B 160 KiB check_for_negative_density() 10 10 314 B 160 KiB Castro::initData() 1 1 51 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3648 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 310 B 9648 B MLCellLinOp::applyBC() 8702 8702 235 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3943 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 384 B 1248 B MLCGSolver::bicgstab 410 410 98 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 542 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 40 KiB 8192 KiB VisMF::Write(FabArray) 744 744 425 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3648 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 310 B 9648 B MLCellLinOp::applyBC() 4351 4351 233 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3943 B 6144 B Gravity::get_new_grav_vector() 3 3 2888 B 3072 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 311 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 26 B 400 B FabArray::norminf() 1143 1143 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-12-g68244ec91d11) finalized Initializing AMReX (24.02-12-g68244ec91d11)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-12-g68244ec91d11) initialized Starting run at 16:09:24 UTC on 2024-02-11. Successfully read inputs file ... Castro git describe: 24.02-15-g9bbf9dc13 AMReX git describe: 24.02-12-g68244ec91 Microphysics git describe: 24.02-12-g1627ef5d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.515157402 Restart time = 0.082790987 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.06986586 [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.047430229 [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.072462872 [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.075904242 [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.078099745 [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.028131672 seconds Ending run at 16:09:25 UTC on 2024-02-11. Run time = 0.455909804 Run time without initialization = 0.372383241 Average number of zones advanced per microsecond: 3.520 Average number of zones advanced per microsecond per rank: 3.520 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4559 ... 0.4559 ... 0.4559 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1416 0.1416 0.1416 31.07% VisMF::Read() 3 0.071 0.071 0.071 15.57% MLCellLinOp::applyBC() 1910 0.04285 0.04285 0.04285 9.40% VisMF::Write(FabArray) 1 0.02549 0.02549 0.02549 5.59% MLPoisson::Fsmooth() 1440 0.015 0.015 0.015 3.29% StateData::FillBoundary(geom) 160 0.01318 0.01318 0.01318 2.89% FillBoundary_nowait() 1730 0.0131 0.0131 0.0131 2.87% amrex::Dot() 484 0.009426 0.009426 0.009426 2.07% Castro::normalize_species() 30 0.009241 0.009241 0.009241 2.03% FabArray::norminf() 465 0.008892 0.008892 0.008892 1.95% Castro::computeTemp() 30 0.00821 0.00821 0.00821 1.80% FabArray::setVal() 501 0.006644 0.006644 0.006644 1.46% FabArray::ParallelCopy_nowait() 380 0.006278 0.006278 0.006278 1.38% FabArray::Saxpy() 597 0.005884 0.005884 0.005884 1.29% Castro::enforce_min_density() 30 0.00572 0.00572 0.00572 1.25% MLCellLinOp::defineAuxData() 6 0.005647 0.005647 0.005647 1.24% amrex::Copy() 221 0.005469 0.005469 0.005469 1.20% Gravity::fill_multipole_BCs() 6 0.005442 0.005442 0.005442 1.19% StateDataPhysBCFunct::() 20 0.005062 0.005062 0.005062 1.11% Amr::restart() 1 0.004886 0.004886 0.004886 1.07% MLPoisson::Fapply() 464 0.004624 0.004624 0.004624 1.01% FabArray::Xpay() 325 0.003509 0.003509 0.003509 0.77% Castro::estTimeStep() 10 0.003212 0.003212 0.003212 0.70% MLMG::addInterpCorrection() 180 0.003203 0.003203 0.003203 0.70% amrex::average_down 180 0.002754 0.002754 0.002754 0.60% Amr::writePlotFile() 1 0.002506 0.002506 0.002506 0.55% BndryData::define() 6 0.002198 0.002198 0.002198 0.48% Castro::reset_internal_energy(MultiFab) 30 0.002076 0.002076 0.002076 0.46% Castro::construct_new_gravity_source() 5 0.001791 0.001791 0.001791 0.39% Castro::enforce_speed_limit() 30 0.001632 0.001632 0.001632 0.36% amrex::Add() 36 0.001593 0.001593 0.001593 0.35% Castro::construct_old_gravity_source() 5 0.001396 0.001396 0.001396 0.31% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009758 0.0009758 0.0009758 0.21% check_for_negative_density() 5 0.0009516 0.0009516 0.0009516 0.21% MLCellLinOp::setLevelBC() 6 0.0008943 0.0008943 0.0008943 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008737 0.0008737 0.0008737 0.19% Castro::reset_internal_energy(Fab) 240 0.0008229 0.0008229 0.0008229 0.18% MLCellLinOp::prepareForSolve() 6 0.0007563 0.0007563 0.0007563 0.17% MLCGSolver::bicgstab 36 0.0007563 0.0007563 0.0007563 0.17% FabArray::setDomainBndry() 20 0.0007051 0.0007051 0.0007051 0.15% FabArray::mult() 22 0.0007008 0.0007008 0.0007008 0.15% MultiFab::contains_nan() 10 0.0006622 0.0006622 0.0006622 0.15% MLCellLinOp::compGrad() 6 0.0006398 0.0006398 0.0006398 0.14% MLMG::prepareForSolve() 6 0.0005709 0.0005709 0.0005709 0.13% Amr::InitAmr() 1 0.00055 0.00055 0.00055 0.12% MLCellLinOp::smooth() 720 0.0005031 0.0005031 0.0005031 0.11% FabArrayBase::CPC::define() 244 0.0004301 0.0004301 0.0004301 0.09% FabArray::FillBoundary() 1730 0.0003837 0.0003837 0.0003837 0.08% FabArrayBase::getCPC() 632 0.0003648 0.0003648 0.0003648 0.08% Gravity::get_old_grav_vector() 5 0.0003233 0.0003233 0.0003233 0.07% Gravity::get_new_grav_vector() 5 0.0002759 0.0002759 0.0002759 0.06% main() 1 0.0002759 0.0002759 0.0002759 0.06% FabArrayBase::getFB() 1730 0.0002612 0.0002612 0.0002612 0.06% AmrLevel::FillPatch() 20 0.0002081 0.0002081 0.0002081 0.05% MultiFab::max() 6 0.0002078 0.0002078 0.0002078 0.05% MLCellLinOp::apply() 464 0.000195 0.000195 0.000195 0.04% Amr::coarseTimeStep() 5 0.0001909 0.0001909 0.0001909 0.04% MLCGSolver::ParallelAllReduce 798 0.0001643 0.0001643 0.0001643 0.04% MLCellLinOp::defineBC() 6 0.0001621 0.0001621 0.0001621 0.04% FabArray::ParallelCopy() 380 0.0001119 0.0001119 0.0001119 0.02% FillPatchIterator::Initialize 20 0.0001076 0.0001076 0.0001076 0.02% Castro::create_source_corrector() 5 0.0001069 0.0001069 0.0001069 0.02% Castro::subcycle_advance_ctu() 5 9.405e-05 9.405e-05 9.405e-05 0.02% MLLinOp::defineGrids() 6 9.236e-05 9.236e-05 9.236e-05 0.02% MLMG::mgVcycle() 36 9.064e-05 9.064e-05 9.064e-05 0.02% Amr::timeStep() 5 8.996e-05 8.996e-05 8.996e-05 0.02% Castro::do_advance_ctu() 5 8.275e-05 8.275e-05 8.275e-05 0.02% MLCellLinOp::correctionResidual() 180 7.869e-05 7.869e-05 7.869e-05 0.02% AmrLevel::restart() 1 7.62e-05 7.62e-05 7.62e-05 0.02% Castro::construct_new_source() 25 7.484e-05 7.484e-05 7.484e-05 0.02% StateData::restartDoit() 4 7.318e-05 7.318e-05 7.318e-05 0.02% Castro::initialize_do_advance() 5 6.801e-05 6.801e-05 6.801e-05 0.01% Gravity::update_max_rhs() 6 6.596e-05 6.596e-05 6.596e-05 0.01% FabArrayBase::FB::FB() 26 6.217e-05 6.217e-05 6.217e-05 0.01% Castro::advance() 5 5.868e-05 5.868e-05 5.868e-05 0.01% MLMG:computeResOfCorrection() 180 5.801e-05 5.801e-05 5.801e-05 0.01% Gravity::solve_for_phi() 5 5.663e-05 5.663e-05 5.663e-05 0.01% Castro::do_new_sources() 5 5.371e-05 5.371e-05 5.371e-05 0.01% Castro::finalize_do_advance() 5 4.433e-05 4.433e-05 4.433e-05 0.01% Castro::finalize_advance() 5 4.233e-05 4.233e-05 4.233e-05 0.01% MLMG::mgVcycle_down::0 36 3.919e-05 3.919e-05 3.919e-05 0.01% MLMG::actualBottomSolve() 36 3.915e-05 3.915e-05 3.915e-05 0.01% MLMG::mgVcycle_down::1 36 3.762e-05 3.762e-05 3.762e-05 0.01% MLMG::solve() 6 3.683e-05 3.683e-05 3.683e-05 0.01% Castro::initialize_advance() 5 3.652e-05 3.652e-05 3.652e-05 0.01% MLMG::mgVcycle_down::2 36 3.45e-05 3.45e-05 3.45e-05 0.01% MLMG::mgVcycle_up::4 36 3.346e-05 3.346e-05 3.346e-05 0.01% MLMG::mgVcycle_down::4 36 3.332e-05 3.332e-05 3.332e-05 0.01% Castro::post_timestep() 5 3.293e-05 3.293e-05 3.293e-05 0.01% MLMG::mgVcycle_down::3 36 3.233e-05 3.233e-05 3.233e-05 0.01% Amr::writeSmallPlotFile() 1 3.167e-05 3.167e-05 3.167e-05 0.01% Castro::clean_state() 30 3.151e-05 3.151e-05 3.151e-05 0.01% Castro::buildMetrics() 1 3.083e-05 3.083e-05 3.083e-05 0.01% Castro::post_restart() 1 2.982e-05 2.982e-05 2.982e-05 0.01% Castro::construct_old_source() 25 2.746e-05 2.746e-05 2.746e-05 0.01% MLMG::oneIter() 36 2.534e-05 2.534e-05 2.534e-05 0.01% Castro::initMFs() 1 2.465e-05 2.465e-05 2.465e-05 0.01% Castro::swap_state_time_levels() 5 2.389e-05 2.389e-05 2.389e-05 0.01% MLCellLinOp::solutionResidual() 42 2.303e-05 2.303e-05 2.303e-05 0.01% MLMG::mgVcycle_up::0 36 2.267e-05 2.267e-05 2.267e-05 0.00% MLMG::mgVcycle_up::3 36 2.197e-05 2.197e-05 2.197e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.151e-05 2.151e-05 2.151e-05 0.00% MLMG::mgVcycle_up::2 36 2.099e-05 2.099e-05 2.099e-05 0.00% MLMG::mgVcycle_up::1 36 2.039e-05 2.039e-05 2.039e-05 0.00% MLMG::ResNormInf() 42 1.811e-05 1.811e-05 1.811e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.77e-05 1.77e-05 1.77e-05 0.00% Castro::construct_new_gravity() 5 1.726e-05 1.726e-05 1.726e-05 0.00% FillPatchSingleLevel 20 1.604e-05 1.604e-05 1.604e-05 0.00% MLMG::computeResidual() 36 1.547e-05 1.547e-05 1.547e-05 0.00% MLPoisson::define() 6 1.481e-05 1.481e-05 1.481e-05 0.00% makeSFC 30 1.473e-05 1.473e-05 1.473e-05 0.00% MLMG::mgVcycle_bottom 36 1.47e-05 1.47e-05 1.47e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.469e-05 1.469e-05 1.469e-05 0.00% Castro::do_old_sources() 5 1.167e-05 1.167e-05 1.167e-05 0.00% DistributionMapping::Distribute() 31 9.145e-06 9.145e-06 9.145e-06 0.00% Gravity::actual_multilevel_solve() 1 8.967e-06 8.967e-06 8.967e-06 0.00% MLPoisson::prepareForSolve() 6 8.899e-06 8.899e-06 8.899e-06 0.00% Amr::initSubcycle() 1 8.897e-06 8.897e-06 8.897e-06 0.00% Castro::check_for_nan() 10 7.433e-06 7.433e-06 7.433e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.179e-06 7.179e-06 7.179e-06 0.00% MLLinOp::define() 6 6.668e-06 6.668e-06 6.668e-06 0.00% Castro::apply_source_to_state() 10 6.027e-06 6.027e-06 6.027e-06 0.00% Castro::construct_old_gravity() 5 5.968e-06 5.968e-06 5.968e-06 0.00% MLMG::computeMLResidual() 6 4.284e-06 4.284e-06 4.284e-06 0.00% Gravity::swapTimeLevels() 5 4.253e-06 4.253e-06 4.253e-06 0.00% Castro::retry_advance_ctu() 5 4.04e-06 4.04e-06 4.04e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.459e-06 3.459e-06 3.459e-06 0.00% MLMG::getGradSolution() 6 3.417e-06 3.417e-06 3.417e-06 0.00% Castro::expand_state() 5 3.275e-06 3.275e-06 3.275e-06 0.00% MLMG::MLResNormInf() 6 3.229e-06 3.229e-06 3.229e-06 0.00% Castro::computeNewDt() 5 3.187e-06 3.187e-06 3.187e-06 0.00% Gravity::set_mass_offset() 6 2.329e-06 2.329e-06 2.329e-06 0.00% MLMG::MLRhsNormInf() 6 2.113e-06 2.113e-06 2.113e-06 0.00% Castro::FluxRegCrseInit 5 1.64e-06 1.64e-06 1.64e-06 0.00% Castro::FluxRegFineAdd() 5 1.289e-06 1.289e-06 1.289e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.033e-06 1.033e-06 1.033e-06 0.00% Amr::init() 1 9.97e-07 9.97e-07 9.97e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4559 0.4559 0.4559 100.00% Amr::coarseTimeStep() 5 0.3439 0.3439 0.3439 75.44% Amr::timeStep() 5 0.3418 0.3418 0.3418 74.97% Castro::advance() 5 0.3364 0.3364 0.3364 73.78% Castro::subcycle_advance_ctu() 5 0.329 0.329 0.329 72.16% Castro::do_advance_ctu() 5 0.3289 0.3289 0.3289 72.14% Castro::construct_ctu_hydro_source() 5 0.148 0.148 0.148 32.46% Castro::construct_new_gravity() 5 0.1443 0.1443 0.1443 31.65% Gravity::solve_phi_with_mlmg() 6 0.1418 0.1418 0.1418 31.10% Gravity::actual_solve_with_mlmg() 6 0.1361 0.1361 0.1361 29.85% Gravity::solve_for_phi() 5 0.136 0.136 0.136 29.84% MLMG::solve() 6 0.1239 0.1239 0.1239 27.17% MLMG::oneIter() 36 0.1161 0.1161 0.1161 25.47% MLMG::mgVcycle() 36 0.1145 0.1145 0.1145 25.11% Amr::init() 1 0.08285 0.08285 0.08285 18.17% Amr::restart() 1 0.08285 0.08285 0.08285 18.17% AmrLevel::restart() 1 0.07138 0.07138 0.07138 15.66% StateData::restartDoit() 4 0.0713 0.0713 0.0713 15.64% VisMF::Read() 3 0.071 0.071 0.071 15.57% MLCellLinOp::applyBC() 1910 0.05665 0.05665 0.05665 12.43% MLCellLinOp::smooth() 720 0.05366 0.05366 0.05366 11.77% MLMG::mgVcycle_bottom 36 0.03901 0.03901 0.03901 8.56% MLMG::actualBottomSolve() 36 0.039 0.039 0.039 8.55% MLCGSolver::bicgstab 36 0.03863 0.03863 0.03863 8.47% Amr::writePlotFile() 1 0.02825 0.02825 0.02825 6.20% Castro::clean_state() 30 0.02773 0.02773 0.02773 6.08% VisMF::Write(FabArray) 1 0.02549 0.02549 0.02549 5.59% AmrLevel::FillPatch() 20 0.02327 0.02327 0.02327 5.10% MLCellLinOp::apply() 464 0.02302 0.02302 0.02302 5.05% FillPatchIterator::Initialize 20 0.02115 0.02115 0.02115 4.64% FillPatchIterator::FillFromLevel0() 20 0.02033 0.02033 0.02033 4.46% FillPatchSingleLevel 20 0.02031 0.02031 0.02031 4.45% StateDataPhysBCFunct::() 20 0.01824 0.01824 0.01824 4.00% MLMG::mgVcycle_down::0 36 0.01514 0.01514 0.01514 3.32% MLPoisson::Fsmooth() 1440 0.015 0.015 0.015 3.29% FabArray::FillBoundary() 1730 0.01381 0.01381 0.01381 3.03% FillBoundary_nowait() 1730 0.01342 0.01342 0.01342 2.94% StateData::FillBoundary(geom) 160 0.01318 0.01318 0.01318 2.89% MLMG::mgVcycle_up::0 36 0.01147 0.01147 0.01147 2.52% Castro::computeTemp() 30 0.01111 0.01111 0.01111 2.44% Castro::initialize_do_advance() 5 0.0109 0.0109 0.0109 2.39% Castro::do_old_sources() 5 0.009604 0.009604 0.009604 2.11% MLPoisson::define() 6 0.009523 0.009523 0.009523 2.09% amrex::Dot() 484 0.009426 0.009426 0.009426 2.07% Castro::normalize_species() 30 0.009241 0.009241 0.009241 2.03% MLMG:computeResOfCorrection() 180 0.009013 0.009013 0.009013 1.98% MLCellLinOp::correctionResidual() 180 0.008955 0.008955 0.008955 1.96% FabArray::norminf() 465 0.008892 0.008892 0.008892 1.95% Gravity::get_new_grav_vector() 5 0.008122 0.008122 0.008122 1.78% Castro::construct_old_gravity() 5 0.007747 0.007747 0.007747 1.70% Gravity::get_old_grav_vector() 5 0.007741 0.007741 0.007741 1.70% MLMG::mgVcycle_down::1 36 0.007702 0.007702 0.007702 1.69% Castro::initialize_advance() 5 0.007021 0.007021 0.007021 1.54% MLMG::mgVcycle_down::2 36 0.006832 0.006832 0.006832 1.50% FabArray::ParallelCopy() 380 0.00679 0.00679 0.00679 1.49% FabArray::ParallelCopy_nowait() 380 0.006678 0.006678 0.006678 1.46% FabArray::setVal() 501 0.006644 0.006644 0.006644 1.46% MLMG::mgVcycle_down::3 36 0.006623 0.006623 0.006623 1.45% MLMG::mgVcycle_down::4 36 0.006617 0.006617 0.006617 1.45% Castro::do_new_sources() 5 0.006516 0.006516 0.006516 1.43% MLCellLinOp::defineAuxData() 6 0.006432 0.006432 0.006432 1.41% Castro::post_restart() 1 0.006407 0.006407 0.006407 1.41% Castro::expand_state() 5 0.006031 0.006031 0.006031 1.32% Gravity::multilevel_solve_for_new_phi() 1 0.006016 0.006016 0.006016 1.32% Gravity::actual_multilevel_solve() 1 0.005998 0.005998 0.005998 1.32% FabArray::Saxpy() 597 0.005884 0.005884 0.005884 1.29% MLCGSolver::ParallelAllReduce 798 0.005721 0.005721 0.005721 1.25% Castro::enforce_min_density() 30 0.00572 0.00572 0.00572 1.25% Gravity::fill_multipole_BCs() 6 0.005569 0.005569 0.005569 1.22% MLMG::addInterpCorrection() 180 0.005565 0.005565 0.005565 1.22% amrex::Copy() 221 0.005469 0.005469 0.005469 1.20% MLMG::mgVcycle_up::4 36 0.005381 0.005381 0.005381 1.18% MLMG::mgVcycle_up::1 36 0.005352 0.005352 0.005352 1.17% Castro::post_timestep() 5 0.005305 0.005305 0.005305 1.16% MLMG::mgVcycle_up::2 36 0.00519 0.00519 0.00519 1.14% amrex::average_down 180 0.00513 0.00513 0.00513 1.13% MLMG::mgVcycle_up::3 36 0.005078 0.005078 0.005078 1.11% MLPoisson::Fapply() 464 0.004624 0.004624 0.004624 1.01% MLCellLinOp::solutionResidual() 42 0.003648 0.003648 0.003648 0.80% FabArray::Xpay() 325 0.003509 0.003509 0.003509 0.77% Castro::estTimeStep() 10 0.003212 0.003212 0.003212 0.70% MLCellLinOp::defineBC() 6 0.002946 0.002946 0.002946 0.65% MLMG::prepareForSolve() 6 0.002929 0.002929 0.002929 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002899 0.002899 0.002899 0.64% MLMG::computeResidual() 36 0.002861 0.002861 0.002861 0.63% BndryData::define() 6 0.002784 0.002784 0.002784 0.61% Castro::computeNewDt() 5 0.001952 0.001952 0.001952 0.43% Castro::construct_new_source() 25 0.001866 0.001866 0.001866 0.41% Castro::construct_new_gravity_source() 5 0.001791 0.001791 0.001791 0.39% Castro::enforce_speed_limit() 30 0.001632 0.001632 0.001632 0.36% amrex::Add() 36 0.001593 0.001593 0.001593 0.35% Castro::construct_old_source() 25 0.001424 0.001424 0.001424 0.31% Castro::construct_old_gravity_source() 5 0.001396 0.001396 0.001396 0.31% Castro::finalize_do_advance() 5 0.001307 0.001307 0.001307 0.29% MLMG::ResNormInf() 42 0.001028 0.001028 0.001028 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009758 0.0009758 0.0009758 0.21% Castro::apply_source_to_state() 10 0.000958 0.000958 0.000958 0.21% check_for_negative_density() 5 0.0009516 0.0009516 0.0009516 0.21% MLMG::getGradSolution() 6 0.0009268 0.0009268 0.0009268 0.20% MLCellLinOp::compGrad() 6 0.0009234 0.0009234 0.0009234 0.20% MLCellLinOp::setLevelBC() 6 0.0008943 0.0008943 0.0008943 0.20% Castro::reset_internal_energy(Fab) 240 0.0008229 0.0008229 0.0008229 0.18% MLMG::computeMLResidual() 6 0.0008069 0.0008069 0.0008069 0.18% FabArrayBase::getCPC() 632 0.000795 0.000795 0.000795 0.17% MLPoisson::prepareForSolve() 6 0.0007652 0.0007652 0.0007652 0.17% MLCellLinOp::prepareForSolve() 6 0.0007563 0.0007563 0.0007563 0.17% Gravity::update_max_rhs() 6 0.0007349 0.0007349 0.0007349 0.16% FabArray::setDomainBndry() 20 0.0007051 0.0007051 0.0007051 0.15% FabArray::mult() 22 0.0007008 0.0007008 0.0007008 0.15% Castro::check_for_nan() 10 0.0006696 0.0006696 0.0006696 0.15% MultiFab::contains_nan() 10 0.0006622 0.0006622 0.0006622 0.15% Amr::InitAmr() 1 0.0005589 0.0005589 0.0005589 0.12% FabArrayBase::CPC::define() 244 0.0004301 0.0004301 0.0004301 0.09% FabArrayBase::getFB() 1730 0.0003234 0.0003234 0.0003234 0.07% Castro::finalize_advance() 5 0.0003158 0.0003158 0.0003158 0.07% Gravity::swapTimeLevels() 5 0.0002336 0.0002336 0.0002336 0.05% MultiFab::max() 6 0.0002078 0.0002078 0.0002078 0.05% MLMG::MLResNormInf() 6 0.0001926 0.0001926 0.0001926 0.04% Castro::buildMetrics() 1 0.0001559 0.0001559 0.0001559 0.03% MLLinOp::define() 6 0.0001298 0.0001298 0.0001298 0.03% MLMG::MLRhsNormInf() 6 0.0001252 0.0001252 0.0001252 0.03% MLLinOp::defineGrids() 6 0.0001232 0.0001232 0.0001232 0.03% Castro::create_source_corrector() 5 0.0001069 0.0001069 0.0001069 0.02% FabArrayBase::FB::FB() 26 6.217e-05 6.217e-05 6.217e-05 0.01% Amr::writeSmallPlotFile() 1 3.167e-05 3.167e-05 3.167e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.977e-05 2.977e-05 2.977e-05 0.01% Castro::initMFs() 1 2.465e-05 2.465e-05 2.465e-05 0.01% Castro::swap_state_time_levels() 5 2.389e-05 2.389e-05 2.389e-05 0.01% makeSFC 30 2.259e-05 2.259e-05 2.259e-05 0.00% DistributionMapping::Distribute() 31 9.145e-06 9.145e-06 9.145e-06 0.00% Amr::initSubcycle() 1 8.897e-06 8.897e-06 8.897e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.75e-06 4.75e-06 4.75e-06 0.00% Castro::retry_advance_ctu() 5 4.04e-06 4.04e-06 4.04e-06 0.00% Gravity::set_mass_offset() 6 2.329e-06 2.329e-06 2.329e-06 0.00% Castro::FluxRegCrseInit 5 1.64e-06 1.64e-06 1.64e-06 0.00% Castro::FluxRegFineAdd() 5 1.289e-06 1.289e-06 1.289e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.033e-06 1.033e-06 1.033e-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 180 MiB 9042 MiB Castro::initMFs() 48 48 56 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 1010 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1650 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 6298 KiB 14 MiB MLMG::prepareForSolve() 361 361 3337 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 176 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 182 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6285 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3207 B 2048 KiB Gravity::solve_for_phi() 40 40 609 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 307 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 196 KiB 671 KiB Castro::estTimeStep() 10 10 3349 B 480 KiB VisMF::Write(FabArray) 112 112 2229 B 320 KiB Castro::normalize_species() 30 30 6598 B 320 KiB amrex::average_down 469 469 1092 B 257 KiB MLMG::addInterpCorrection() 468 468 1045 B 257 KiB amrex::Dot() 592 592 3046 B 160 KiB FabArray::norminf() 501 501 3004 B 160 KiB check_for_negative_density() 5 5 335 B 160 KiB MultiFab::max() 6 6 71 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3238 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 249 B 9648 B MLCellLinOp::applyBC() 3820 3820 215 B 9344 B amrex::Copy() 56 56 5473 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2400 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 345 B 1248 B MLCGSolver::bicgstab 180 180 102 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1077 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 81 KiB 8192 KiB VisMF::Write(FabArray) 120 120 146 KiB 3584 KiB VisMF::Read() 24 24 234 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3238 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 43 B 10 KiB FillBoundary_nowait() 336 336 249 B 9648 B MLCellLinOp::applyBC() 1910 1910 213 B 9328 B amrex::Copy() 56 56 5473 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2469 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2448 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 501 B 1296 B amrex::average_down 37 37 199 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 26 B 400 B FabArray::norminf() 501 501 10 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-12-g68244ec91d11) finalized