Initializing AMReX (24.01-10-g9b799efb04e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-10-g9b799efb04e0) initialized Starting run at 09:40:25 UTC on 2024-01-17. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-10-g9b799efb0 Microphysics git describe: 24.01-9-ga4d7ab4d 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.046121839 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025578971 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.067099872 [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.069866072 [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.07609541 [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.06663189 [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.063729107 [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.04609483 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.04960122 [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.074283905 [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.073119318 [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.061421343 [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.063711266 [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.044701418 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025230388 seconds Ending run at 09:40:25 UTC on 2024-01-17. Run time = 0.909464417 Run time without initialization = 0.782250236 Average number of zones advanced per microsecond: 3.351 Average number of zones advanced per microsecond per rank: 3.351 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9095 ... 0.9095 ... 0.9095 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2835 0.2835 0.2835 31.17% VisMF::Write(FabArray) 11 0.1791 0.1791 0.1791 19.70% MLCellLinOp::applyBC() 4351 0.07971 0.07971 0.07971 8.76% MLPoisson::Fsmooth() 3280 0.03405 0.03405 0.03405 3.74% FillBoundary_nowait() 3941 0.03002 0.03002 0.03002 3.30% StateData::FillBoundary(geom) 328 0.02708 0.02708 0.02708 2.98% amrex::Dot() 1114 0.02161 0.02161 0.02161 2.38% Castro::normalize_species() 62 0.02014 0.02014 0.02014 2.21% FabArray::norminf() 1061 0.02007 0.02007 0.02007 2.21% Castro::computeTemp() 63 0.0178 0.0178 0.0178 1.96% FabArray::ParallelCopy_nowait() 861 0.01349 0.01349 0.01349 1.48% Castro::enforce_min_density() 62 0.01334 0.01334 0.01334 1.47% FabArray::Saxpy() 1370 0.01323 0.01323 0.01323 1.45% FabArray::setVal() 1062 0.01321 0.01321 0.01321 1.45% StateDataPhysBCFunct::() 41 0.01313 0.01313 0.01313 1.44% amrex::Copy() 472 0.01081 0.01081 0.01081 1.19% MLCellLinOp::defineAuxData() 11 0.01077 0.01077 0.01077 1.18% MLPoisson::Fapply() 1060 0.01034 0.01034 0.01034 1.14% Gravity::fill_multipole_BCs() 11 0.009575 0.009575 0.009575 1.05% FabArray::Xpay() 739 0.007831 0.007831 0.007831 0.86% MLMG::addInterpCorrection() 410 0.007044 0.007044 0.007044 0.77% amrex::average_down 410 0.006286 0.006286 0.006286 0.69% Castro::estTimeStep() 21 0.006282 0.006282 0.006282 0.69% Amr::checkPoint() 3 0.00601 0.00601 0.00601 0.66% Castro::reset_internal_energy(MultiFab) 63 0.005181 0.005181 0.005181 0.57% BndryData::define() 11 0.003934 0.003934 0.003934 0.43% amrex::Add() 82 0.003575 0.003575 0.003575 0.39% Castro::construct_new_gravity_source() 10 0.00348 0.00348 0.00348 0.38% Castro::construct_old_gravity_source() 10 0.002842 0.002842 0.002842 0.31% Amr::writePlotFile() 2 0.002109 0.002109 0.002109 0.23% check_for_negative_density() 10 0.001894 0.001894 0.001894 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001797 0.001797 0.001797 0.20% Castro::enforce_speed_limit() 62 0.001719 0.001719 0.001719 0.19% Castro::reset_internal_energy(Fab) 504 0.0017 0.0017 0.0017 0.19% MLCGSolver::bicgstab 82 0.001678 0.001678 0.001678 0.18% Gravity::actual_solve_with_mlmg() 11 0.001609 0.001609 0.001609 0.18% MLCellLinOp::setLevelBC() 11 0.00159 0.00159 0.00159 0.17% Castro::initData() 1 0.001521 0.001521 0.001521 0.17% FabArray::mult() 43 0.001382 0.001382 0.001382 0.15% MLCellLinOp::prepareForSolve() 11 0.001365 0.001365 0.001365 0.15% FabArray::setDomainBndry() 41 0.001354 0.001354 0.001354 0.15% MultiFab::contains_nan() 20 0.001304 0.001304 0.001304 0.14% MLCellLinOp::smooth() 1640 0.001151 0.001151 0.001151 0.13% MLCellLinOp::compGrad() 11 0.00106 0.00106 0.00106 0.12% MLMG::prepareForSolve() 11 0.0009807 0.0009807 0.0009807 0.11% FabArray::FillBoundary() 3941 0.0008529 0.0008529 0.0008529 0.09% FabArrayBase::getCPC() 1323 0.0007841 0.0007841 0.0007841 0.09% FabArrayBase::CPC::define() 454 0.0006704 0.0006704 0.0006704 0.07% FabArrayBase::getFB() 3941 0.0006111 0.0006111 0.0006111 0.07% Gravity::get_new_grav_vector() 11 0.0006019 0.0006019 0.0006019 0.07% Amr::InitAmr() 1 0.000587 0.000587 0.000587 0.06% Gravity::get_old_grav_vector() 10 0.0004802 0.0004802 0.0004802 0.05% AmrLevel::FillPatch() 41 0.0004201 0.0004201 0.0004201 0.05% MLCellLinOp::apply() 1060 0.0003975 0.0003975 0.0003975 0.04% Amr::coarseTimeStep() 10 0.0003655 0.0003655 0.0003655 0.04% MLCGSolver::ParallelAllReduce 1832 0.0003434 0.0003434 0.0003434 0.04% MultiFab::max() 11 0.0003405 0.0003405 0.0003405 0.04% main() 1 0.0003088 0.0003088 0.0003088 0.03% MLCellLinOp::defineBC() 11 0.0002943 0.0002943 0.0002943 0.03% FabArray::ParallelCopy() 861 0.0002392 0.0002392 0.0002392 0.03% FillPatchIterator::Initialize 41 0.0002079 0.0002079 0.0002079 0.02% MLMG::mgVcycle() 82 0.0001971 0.0001971 0.0001971 0.02% MLLinOp::defineGrids() 11 0.0001784 0.0001784 0.0001784 0.02% MLCellLinOp::correctionResidual() 410 0.0001668 0.0001668 0.0001668 0.02% Amr::timeStep() 10 0.0001659 0.0001659 0.0001659 0.02% Castro::create_source_corrector() 10 0.0001655 0.0001655 0.0001655 0.02% Castro::subcycle_advance_ctu() 10 0.0001648 0.0001648 0.0001648 0.02% StateData::checkPoint() 12 0.0001397 0.0001397 0.0001397 0.02% Gravity::update_max_rhs() 11 0.0001368 0.0001368 0.0001368 0.02% MLMG:computeResOfCorrection() 410 0.0001192 0.0001192 0.0001192 0.01% Gravity::solve_for_phi() 10 0.0001192 0.0001192 0.0001192 0.01% Castro::Castro() 1 0.0001027 0.0001027 0.0001027 0.01% Castro::construct_new_source() 50 9.838e-05 9.838e-05 9.838e-05 0.01% FabArrayBase::FB::FB() 56 9.63e-05 9.63e-05 9.63e-05 0.01% MLMG::actualBottomSolve() 82 9.44e-05 9.44e-05 9.44e-05 0.01% MLMG::mgVcycle_down::0 82 9.39e-05 9.39e-05 9.39e-05 0.01% Castro::advance() 10 8.646e-05 8.646e-05 8.646e-05 0.01% MLMG::mgVcycle_down::1 82 8.214e-05 8.214e-05 8.214e-05 0.01% Castro::initialize_advance() 10 8.181e-05 8.181e-05 8.181e-05 0.01% MLMG::mgVcycle_down::2 82 8.162e-05 8.162e-05 8.162e-05 0.01% AmrLevel::checkPoint() 3 7.892e-05 7.892e-05 7.892e-05 0.01% MLMG::mgVcycle_down::4 82 7.87e-05 7.87e-05 7.87e-05 0.01% MLMG::mgVcycle_down::3 82 7.644e-05 7.644e-05 7.644e-05 0.01% Castro::clean_state() 62 7.499e-05 7.499e-05 7.499e-05 0.01% Castro::enforce_consistent_e() 1 7.229e-05 7.229e-05 7.229e-05 0.01% MLMG::solve() 11 7.225e-05 7.225e-05 7.225e-05 0.01% Castro::finalize_advance() 10 6.405e-05 6.405e-05 6.405e-05 0.01% Castro::initialize_do_advance() 10 6.08e-05 6.08e-05 6.08e-05 0.01% Castro::finalize_do_advance() 10 5.977e-05 5.977e-05 5.977e-05 0.01% MLMG::mgVcycle_up::4 82 5.802e-05 5.802e-05 5.802e-05 0.01% Castro::do_advance_ctu() 10 5.251e-05 5.251e-05 5.251e-05 0.01% MLMG::oneIter() 82 5.204e-05 5.204e-05 5.204e-05 0.01% MLMG::mgVcycle_up::0 82 5.106e-05 5.106e-05 5.106e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.793e-05 4.793e-05 4.793e-05 0.01% MLMG::mgVcycle_up::3 82 4.766e-05 4.766e-05 4.766e-05 0.01% MLMG::mgVcycle_up::1 82 4.623e-05 4.623e-05 4.623e-05 0.01% MLCellLinOp::solutionResidual() 93 4.568e-05 4.568e-05 4.568e-05 0.01% Castro::do_new_sources() 10 4.48e-05 4.48e-05 4.48e-05 0.00% MLMG::mgVcycle_up::2 82 4.428e-05 4.428e-05 4.428e-05 0.00% StateData::define() 4 3.752e-05 3.752e-05 3.752e-05 0.00% Castro::post_timestep() 10 3.732e-05 3.732e-05 3.732e-05 0.00% MLMG::ResNormInf() 93 3.732e-05 3.732e-05 3.732e-05 0.00% Castro::swap_state_time_levels() 10 3.637e-05 3.637e-05 3.637e-05 0.00% MLMG::computeResidual() 82 3.602e-05 3.602e-05 3.602e-05 0.00% FillPatchSingleLevel 41 3.516e-05 3.516e-05 3.516e-05 0.00% MLMG::mgVcycle_bottom 82 3.455e-05 3.455e-05 3.455e-05 0.00% Amr::writeSmallPlotFile() 1 3.43e-05 3.43e-05 3.43e-05 0.00% Castro::initMFs() 1 3.37e-05 3.37e-05 3.37e-05 0.00% Castro::construct_new_gravity() 10 3.201e-05 3.201e-05 3.201e-05 0.00% Castro::buildMetrics() 1 2.847e-05 2.847e-05 2.847e-05 0.00% makeSFC 55 2.697e-05 2.697e-05 2.697e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.6e-05 2.6e-05 2.6e-05 0.00% Amr::defBaseLevel() 1 2.485e-05 2.485e-05 2.485e-05 0.00% MLPoisson::define() 11 2.232e-05 2.232e-05 2.232e-05 0.00% Castro::do_old_sources() 10 2.229e-05 2.229e-05 2.229e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.061e-05 2.061e-05 2.061e-05 0.00% Amr::FinalizeInit() 1 2.033e-05 2.033e-05 2.033e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.859e-05 1.859e-05 1.859e-05 0.00% Castro::construct_old_source() 50 1.804e-05 1.804e-05 1.804e-05 0.00% MLMG::computeMLResidual() 11 1.739e-05 1.739e-05 1.739e-05 0.00% DistributionMapping::Distribute() 56 1.714e-05 1.714e-05 1.714e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.589e-05 1.589e-05 1.589e-05 0.00% MLPoisson::prepareForSolve() 11 1.419e-05 1.419e-05 1.419e-05 0.00% Castro::apply_source_to_state() 20 1.284e-05 1.284e-05 1.284e-05 0.00% MLLinOp::define() 11 1.234e-05 1.234e-05 1.234e-05 0.00% Castro::check_for_nan() 20 1.215e-05 1.215e-05 1.215e-05 0.00% Castro::construct_old_gravity() 10 1.153e-05 1.153e-05 1.153e-05 0.00% Castro::post_init() 1 1.073e-05 1.073e-05 1.073e-05 0.00% Amr::initSubcycle() 1 9.308e-06 9.308e-06 9.308e-06 0.00% Gravity::swapTimeLevels() 10 9.104e-06 9.104e-06 9.104e-06 0.00% Gravity::actual_multilevel_solve() 1 8.617e-06 8.617e-06 8.617e-06 0.00% Castro::computeNewDt() 9 6.637e-06 6.637e-06 6.637e-06 0.00% MLMG::getGradSolution() 11 6.515e-06 6.515e-06 6.515e-06 0.00% Castro::expand_state() 10 6.006e-06 6.006e-06 6.006e-06 0.00% Amr::InitializeInit() 1 5.625e-06 5.625e-06 5.625e-06 0.00% AmrLevel::checkPointPost() 3 5.593e-06 5.593e-06 5.593e-06 0.00% Castro::retry_advance_ctu() 10 4.616e-06 4.616e-06 4.616e-06 0.00% Gravity::set_mass_offset() 11 4.41e-06 4.41e-06 4.41e-06 0.00% MLMG::MLResNormInf() 11 4.063e-06 4.063e-06 4.063e-06 0.00% MLMG::MLRhsNormInf() 11 3.886e-06 3.886e-06 3.886e-06 0.00% Castro::computeInitialDt() 2 3.721e-06 3.721e-06 3.721e-06 0.00% Castro::FluxRegCrseInit 10 3.108e-06 3.108e-06 3.108e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.998e-06 2.998e-06 2.998e-06 0.00% Amr::init() 1 2.453e-06 2.453e-06 2.453e-06 0.00% AmrLevel::checkPointPre() 3 2.393e-06 2.393e-06 2.393e-06 0.00% Castro::FluxRegFineAdd() 10 2.217e-06 2.217e-06 2.217e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.997e-06 1.997e-06 1.997e-06 0.00% Castro::post_regrid() 1 1.366e-06 1.366e-06 1.366e-06 0.00% Amr::initialInit() 1 1.055e-06 1.055e-06 1.055e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9095 0.9095 0.9095 100.00% Amr::coarseTimeStep() 10 0.7568 0.7568 0.7568 83.21% Amr::timeStep() 10 0.662 0.662 0.662 72.79% Castro::advance() 10 0.6516 0.6516 0.6516 71.65% Castro::subcycle_advance_ctu() 10 0.6384 0.6384 0.6384 70.20% Castro::do_advance_ctu() 10 0.6383 0.6383 0.6383 70.18% Castro::construct_ctu_hydro_source() 10 0.2947 0.2947 0.2947 32.40% Gravity::solve_phi_with_mlmg() 11 0.2943 0.2943 0.2943 32.36% Gravity::actual_solve_with_mlmg() 11 0.2843 0.2843 0.2843 31.26% Castro::construct_new_gravity() 10 0.2661 0.2661 0.2661 29.26% MLMG::solve() 11 0.2618 0.2618 0.2618 28.79% Gravity::solve_for_phi() 10 0.2493 0.2493 0.2493 27.41% MLMG::oneIter() 82 0.2465 0.2465 0.2465 27.10% MLMG::mgVcycle() 82 0.2428 0.2428 0.2428 26.70% VisMF::Write(FabArray) 11 0.1791 0.1791 0.1791 19.70% Amr::checkPoint() 3 0.1371 0.1371 0.1371 15.07% AmrLevel::checkPoint() 3 0.131 0.131 0.131 14.41% StateData::checkPoint() 12 0.131 0.131 0.131 14.40% Amr::init() 1 0.1265 0.1265 0.1265 13.91% MLCellLinOp::smooth() 1640 0.1207 0.1207 0.1207 13.27% MLCellLinOp::applyBC() 4351 0.1113 0.1113 0.1113 12.24% MLMG::mgVcycle_bottom 82 0.0733 0.0733 0.0733 8.06% MLMG::actualBottomSolve() 82 0.07327 0.07327 0.07327 8.06% MLCGSolver::bicgstab 82 0.07251 0.07251 0.07251 7.97% Castro::clean_state() 62 0.05893 0.05893 0.05893 6.48% Amr::initialInit() 1 0.05463 0.05463 0.05463 6.01% Amr::writePlotFile() 2 0.05093 0.05093 0.05093 5.60% AmrLevel::FillPatch() 41 0.05017 0.05017 0.05017 5.52% Amr::FinalizeInit() 1 0.04953 0.04953 0.04953 5.45% Castro::post_init() 1 0.04807 0.04807 0.04807 5.29% FillPatchIterator::Initialize 41 0.04589 0.04589 0.04589 5.05% Gravity::multilevel_solve_for_new_phi() 1 0.04547 0.04547 0.04547 5.00% Gravity::actual_multilevel_solve() 1 0.04545 0.04545 0.04545 5.00% FillPatchIterator::FillFromLevel0() 41 0.04433 0.04433 0.04433 4.87% FillPatchSingleLevel 41 0.04428 0.04428 0.04428 4.87% StateDataPhysBCFunct::() 41 0.04021 0.04021 0.04021 4.42% MLCellLinOp::apply() 1060 0.03602 0.03602 0.03602 3.96% MLMG::mgVcycle_down::0 82 0.03407 0.03407 0.03407 3.75% MLPoisson::Fsmooth() 3280 0.03405 0.03405 0.03405 3.74% FabArray::FillBoundary() 3941 0.03158 0.03158 0.03158 3.47% FillBoundary_nowait() 3941 0.03073 0.03073 0.03073 3.38% StateData::FillBoundary(geom) 328 0.02708 0.02708 0.02708 2.98% MLMG::mgVcycle_up::0 82 0.0256 0.0256 0.0256 2.81% Castro::computeTemp() 63 0.02468 0.02468 0.02468 2.71% Castro::initialize_do_advance() 10 0.02284 0.02284 0.02284 2.51% amrex::Dot() 1114 0.02161 0.02161 0.02161 2.38% Castro::do_old_sources() 10 0.02054 0.02054 0.02054 2.26% MLMG:computeResOfCorrection() 410 0.02032 0.02032 0.02032 2.23% MLCellLinOp::correctionResidual() 410 0.02021 0.02021 0.02021 2.22% Castro::normalize_species() 62 0.02014 0.02014 0.02014 2.21% FabArray::norminf() 1061 0.02007 0.02007 0.02007 2.21% Gravity::get_new_grav_vector() 11 0.01897 0.01897 0.01897 2.09% MLPoisson::define() 11 0.01774 0.01774 0.01774 1.95% MLMG::mgVcycle_down::1 82 0.01663 0.01663 0.01663 1.83% Castro::construct_old_gravity() 10 0.01593 0.01593 0.01593 1.75% Gravity::get_old_grav_vector() 10 0.01592 0.01592 0.01592 1.75% MLMG::mgVcycle_down::2 82 0.01552 0.01552 0.01552 1.71% MLMG::mgVcycle_down::3 82 0.01517 0.01517 0.01517 1.67% MLMG::mgVcycle_down::4 82 0.01502 0.01502 0.01502 1.65% Castro::do_new_sources() 10 0.0146 0.0146 0.0146 1.61% FabArray::ParallelCopy() 861 0.01452 0.01452 0.01452 1.60% FabArray::ParallelCopy_nowait() 861 0.01428 0.01428 0.01428 1.57% Castro::enforce_min_density() 62 0.01334 0.01334 0.01334 1.47% FabArray::Saxpy() 1370 0.01323 0.01323 0.01323 1.45% FabArray::setVal() 1062 0.01321 0.01321 0.01321 1.45% MLCGSolver::ParallelAllReduce 1832 0.01298 0.01298 0.01298 1.43% Castro::initialize_advance() 10 0.01251 0.01251 0.01251 1.38% Castro::expand_state() 10 0.01231 0.01231 0.01231 1.35% MLMG::addInterpCorrection() 410 0.01225 0.01225 0.01225 1.35% MLCellLinOp::defineAuxData() 11 0.01222 0.01222 0.01222 1.34% MLMG::mgVcycle_up::1 82 0.01203 0.01203 0.01203 1.32% MLMG::mgVcycle_up::4 82 0.01192 0.01192 0.01192 1.31% MLMG::mgVcycle_up::2 82 0.01182 0.01182 0.01182 1.30% amrex::average_down 410 0.01156 0.01156 0.01156 1.27% MLMG::mgVcycle_up::3 82 0.01154 0.01154 0.01154 1.27% amrex::Copy() 472 0.01081 0.01081 0.01081 1.19% MLPoisson::Fapply() 1060 0.01034 0.01034 0.01034 1.14% Castro::post_timestep() 10 0.01022 0.01022 0.01022 1.12% Gravity::fill_multipole_BCs() 11 0.009807 0.009807 0.009807 1.08% FabArray::Xpay() 739 0.007831 0.007831 0.007831 0.86% MLCellLinOp::solutionResidual() 93 0.007626 0.007626 0.007626 0.84% Castro::reset_internal_energy(MultiFab) 63 0.006881 0.006881 0.006881 0.76% MLMG::computeResidual() 82 0.006327 0.006327 0.006327 0.70% Castro::estTimeStep() 21 0.006282 0.006282 0.006282 0.69% MLCellLinOp::defineBC() 11 0.005241 0.005241 0.005241 0.58% MLMG::prepareForSolve() 11 0.005201 0.005201 0.005201 0.57% Amr::InitializeInit() 1 0.005105 0.005105 0.005105 0.56% Amr::defBaseLevel() 1 0.0051 0.0051 0.0051 0.56% BndryData::define() 11 0.004947 0.004947 0.004947 0.54% Castro::initData() 1 0.004422 0.004422 0.004422 0.49% Castro::construct_new_source() 50 0.003578 0.003578 0.003578 0.39% amrex::Add() 82 0.003575 0.003575 0.003575 0.39% Castro::construct_new_gravity_source() 10 0.00348 0.00348 0.00348 0.38% Castro::construct_old_source() 50 0.00286 0.00286 0.00286 0.31% Castro::construct_old_gravity_source() 10 0.002842 0.002842 0.002842 0.31% Castro::computeNewDt() 9 0.002733 0.002733 0.002733 0.30% Castro::finalize_do_advance() 10 0.002523 0.002523 0.002523 0.28% MLMG::ResNormInf() 93 0.00218 0.00218 0.00218 0.24% check_for_negative_density() 10 0.001894 0.001894 0.001894 0.21% Castro::apply_source_to_state() 20 0.001863 0.001863 0.001863 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001797 0.001797 0.001797 0.20% Castro::enforce_speed_limit() 62 0.001719 0.001719 0.001719 0.19% Castro::reset_internal_energy(Fab) 504 0.0017 0.0017 0.0017 0.19% MLCellLinOp::setLevelBC() 11 0.00159 0.00159 0.00159 0.17% MLMG::getGradSolution() 11 0.001561 0.001561 0.001561 0.17% MLCellLinOp::compGrad() 11 0.001554 0.001554 0.001554 0.17% FabArrayBase::getCPC() 1323 0.001454 0.001454 0.001454 0.16% FabArray::mult() 43 0.001382 0.001382 0.001382 0.15% MLPoisson::prepareForSolve() 11 0.001379 0.001379 0.001379 0.15% MLCellLinOp::prepareForSolve() 11 0.001365 0.001365 0.001365 0.15% FabArray::setDomainBndry() 41 0.001354 0.001354 0.001354 0.15% MLMG::computeMLResidual() 11 0.001352 0.001352 0.001352 0.15% Castro::check_for_nan() 20 0.001316 0.001316 0.001316 0.14% MultiFab::contains_nan() 20 0.001304 0.001304 0.001304 0.14% Castro::post_regrid() 1 0.00115 0.00115 0.00115 0.13% Castro::computeInitialDt() 2 0.001096 0.001096 0.001096 0.12% Gravity::update_max_rhs() 11 0.001011 0.001011 0.001011 0.11% FabArrayBase::getFB() 3941 0.0007074 0.0007074 0.0007074 0.08% FabArrayBase::CPC::define() 454 0.0006704 0.0006704 0.0006704 0.07% Amr::InitAmr() 1 0.0005963 0.0005963 0.0005963 0.07% Castro::Castro() 1 0.0005903 0.0005903 0.0005903 0.06% Castro::finalize_advance() 10 0.000588 0.000588 0.000588 0.06% Gravity::swapTimeLevels() 10 0.0004495 0.0004495 0.0004495 0.05% MultiFab::max() 11 0.0003405 0.0003405 0.0003405 0.04% MLMG::MLResNormInf() 11 0.0003337 0.0003337 0.0003337 0.04% Castro::buildMetrics() 1 0.0002853 0.0002853 0.0002853 0.03% MLLinOp::define() 11 0.0002516 0.0002516 0.0002516 0.03% MLLinOp::defineGrids() 11 0.0002393 0.0002393 0.0002393 0.03% MLMG::MLRhsNormInf() 11 0.0002263 0.0002263 0.0002263 0.02% Castro::create_source_corrector() 10 0.0001655 0.0001655 0.0001655 0.02% FabArrayBase::FB::FB() 56 9.63e-05 9.63e-05 9.63e-05 0.01% Castro::enforce_consistent_e() 1 7.229e-05 7.229e-05 7.229e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.891e-05 5.891e-05 5.891e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.813e-05 5.813e-05 5.813e-05 0.01% makeSFC 55 4.302e-05 4.302e-05 4.302e-05 0.00% StateData::define() 4 3.752e-05 3.752e-05 3.752e-05 0.00% Castro::swap_state_time_levels() 10 3.637e-05 3.637e-05 3.637e-05 0.00% Amr::writeSmallPlotFile() 1 3.43e-05 3.43e-05 3.43e-05 0.00% Castro::initMFs() 1 3.37e-05 3.37e-05 3.37e-05 0.00% DistributionMapping::Distribute() 56 1.714e-05 1.714e-05 1.714e-05 0.00% Amr::initSubcycle() 1 9.308e-06 9.308e-06 9.308e-06 0.00% AmrLevel::checkPointPost() 3 5.593e-06 5.593e-06 5.593e-06 0.00% Castro::retry_advance_ctu() 10 4.616e-06 4.616e-06 4.616e-06 0.00% Gravity::set_mass_offset() 11 4.41e-06 4.41e-06 4.41e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.084e-06 4.084e-06 4.084e-06 0.00% Castro::FluxRegCrseInit 10 3.108e-06 3.108e-06 3.108e-06 0.00% AmrLevel::checkPointPre() 3 2.393e-06 2.393e-06 2.393e-06 0.00% Castro::FluxRegFineAdd() 10 2.217e-06 2.217e-06 2.217e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.997e-06 1.997e-06 1.997e-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 87 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 1066 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1563 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 3539 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 216 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 179 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7516 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2147 B 2048 KiB Gravity::solve_for_phi() 80 80 560 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 102 KiB 2048 KiB BndryData::define() 1056 1056 323 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 206 KiB 671 KiB Castro::estTimeStep() 21 21 3364 B 480 KiB VisMF::Write(FabArray) 656 656 3389 B 320 KiB Castro::normalize_species() 62 62 7210 B 320 KiB amrex::average_down 1067 1067 1249 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1136 B 257 KiB amrex::Dot() 1360 1360 3508 B 160 KiB FabArray::norminf() 1143 1143 3411 B 160 KiB check_for_negative_density() 10 10 328 B 160 KiB Castro::initData() 1 1 53 B 160 KiB MultiFab::max() 11 11 58 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3454 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 8702 8702 218 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3918 B 6144 B StateData::FillBoundary(geom) 1992 1992 49 B 3744 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 364 B 1248 B MLCGSolver::bicgstab 410 410 96 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 511 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 431 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3454 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 43 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 4351 4351 216 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3918 B 6144 B StateData::FillBoundary(geom) 1992 1992 49 B 3744 B Gravity::get_new_grav_vector() 3 3 2890 B 3072 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 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 294 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 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): 2189 [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.01-10-g9b799efb04e0) finalized Initializing AMReX (24.01-10-g9b799efb04e0)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-10-g9b799efb04e0) initialized Starting run at 09:40:26 UTC on 2024-01-17. Successfully read inputs file ... Castro git describe: 24.01-11-g44d0e551d AMReX git describe: 24.01-10-g9b799efb0 Microphysics git describe: 24.01-9-ga4d7ab4d reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.516757063 Restart time = 0.072170965 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.069926794 [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.055064236 [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.072466096 [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.07878742 [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.062455534 [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.02912348 seconds Ending run at 09:40:27 UTC on 2024-01-17. Run time = 0.441118103 Run time without initialization = 0.368284606 Average number of zones advanced per microsecond: 3.559 Average number of zones advanced per microsecond per rank: 3.559 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4412 ... 0.4412 ... 0.4412 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1392 0.1392 0.1392 31.54% VisMF::Read() 3 0.06057 0.06057 0.06057 13.73% MLCellLinOp::applyBC() 1910 0.03501 0.03501 0.03501 7.94% VisMF::Write(FabArray) 1 0.02639 0.02639 0.02639 5.98% StateData::FillBoundary(geom) 160 0.01982 0.01982 0.01982 4.49% MLPoisson::Fsmooth() 1440 0.01478 0.01478 0.01478 3.35% FillBoundary_nowait() 1730 0.01279 0.01279 0.01279 2.90% Castro::normalize_species() 30 0.01156 0.01156 0.01156 2.62% amrex::Dot() 484 0.009351 0.009351 0.009351 2.12% FabArray::norminf() 465 0.008957 0.008957 0.008957 2.03% Castro::computeTemp() 30 0.007415 0.007415 0.007415 1.68% FabArray::setVal() 501 0.006489 0.006489 0.006489 1.47% Castro::enforce_min_density() 30 0.006454 0.006454 0.006454 1.46% FabArray::ParallelCopy_nowait() 380 0.00614 0.00614 0.00614 1.39% FabArray::Saxpy() 597 0.005869 0.005869 0.005869 1.33% MLCellLinOp::defineAuxData() 6 0.005771 0.005771 0.005771 1.31% Gravity::fill_multipole_BCs() 6 0.005687 0.005687 0.005687 1.29% amrex::Copy() 221 0.005449 0.005449 0.005449 1.24% Amr::restart() 1 0.004808 0.004808 0.004808 1.09% StateDataPhysBCFunct::() 20 0.004622 0.004622 0.004622 1.05% MLPoisson::Fapply() 464 0.004493 0.004493 0.004493 1.02% FabArray::Xpay() 325 0.003447 0.003447 0.003447 0.78% MLMG::addInterpCorrection() 180 0.003161 0.003161 0.003161 0.72% Castro::estTimeStep() 10 0.002948 0.002948 0.002948 0.67% amrex::average_down 180 0.002762 0.002762 0.002762 0.63% Amr::writePlotFile() 1 0.002565 0.002565 0.002565 0.58% BndryData::define() 6 0.002157 0.002157 0.002157 0.49% Castro::construct_new_gravity_source() 5 0.001686 0.001686 0.001686 0.38% Castro::reset_internal_energy(MultiFab) 30 0.001561 0.001561 0.001561 0.35% amrex::Add() 36 0.001531 0.001531 0.001531 0.35% Castro::construct_old_gravity_source() 5 0.001258 0.001258 0.001258 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009941 0.0009941 0.0009941 0.23% check_for_negative_density() 5 0.0009265 0.0009265 0.0009265 0.21% MLCellLinOp::setLevelBC() 6 0.0008738 0.0008738 0.0008738 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008733 0.0008733 0.0008733 0.20% Castro::reset_internal_energy(Fab) 240 0.0007845 0.0007845 0.0007845 0.18% MLCellLinOp::prepareForSolve() 6 0.0007584 0.0007584 0.0007584 0.17% MLCGSolver::bicgstab 36 0.0007344 0.0007344 0.0007344 0.17% FabArray::setDomainBndry() 20 0.0006899 0.0006899 0.0006899 0.16% FabArray::mult() 22 0.0006853 0.0006853 0.0006853 0.16% MultiFab::contains_nan() 10 0.0006583 0.0006583 0.0006583 0.15% MLCellLinOp::compGrad() 6 0.0005829 0.0005829 0.0005829 0.13% MLMG::prepareForSolve() 6 0.0005586 0.0005586 0.0005586 0.13% MLCellLinOp::smooth() 720 0.0004947 0.0004947 0.0004947 0.11% Amr::InitAmr() 1 0.000474 0.000474 0.000474 0.11% Castro::enforce_speed_limit() 30 0.0004345 0.0004345 0.0004345 0.10% FabArrayBase::CPC::define() 244 0.0004232 0.0004232 0.0004232 0.10% FabArrayBase::getCPC() 632 0.0003746 0.0003746 0.0003746 0.08% FabArray::FillBoundary() 1730 0.0003692 0.0003692 0.0003692 0.08% Gravity::get_old_grav_vector() 5 0.0003579 0.0003579 0.0003579 0.08% main() 1 0.0002932 0.0002932 0.0002932 0.07% Gravity::get_new_grav_vector() 5 0.0002893 0.0002893 0.0002893 0.07% FabArrayBase::getFB() 1730 0.0002638 0.0002638 0.0002638 0.06% AmrLevel::FillPatch() 20 0.0002173 0.0002173 0.0002173 0.05% MultiFab::max() 6 0.0002064 0.0002064 0.0002064 0.05% Amr::coarseTimeStep() 5 0.0001782 0.0001782 0.0001782 0.04% MLCellLinOp::apply() 464 0.0001701 0.0001701 0.0001701 0.04% MLCellLinOp::defineBC() 6 0.0001581 0.0001581 0.0001581 0.04% MLCGSolver::ParallelAllReduce 798 0.0001495 0.0001495 0.0001495 0.03% Castro::subcycle_advance_ctu() 5 0.0001174 0.0001174 0.0001174 0.03% FabArray::ParallelCopy() 380 0.0001133 0.0001133 0.0001133 0.03% FillPatchIterator::Initialize 20 0.0001066 0.0001066 0.0001066 0.02% Castro::create_source_corrector() 5 0.0001009 0.0001009 0.0001009 0.02% MLLinOp::defineGrids() 6 9.719e-05 9.719e-05 9.719e-05 0.02% Amr::timeStep() 5 9.132e-05 9.132e-05 9.132e-05 0.02% MLMG::mgVcycle() 36 8.849e-05 8.849e-05 8.849e-05 0.02% Castro::do_advance_ctu() 5 8.222e-05 8.222e-05 8.222e-05 0.02% Castro::construct_new_source() 25 7.974e-05 7.974e-05 7.974e-05 0.02% AmrLevel::restart() 1 7.824e-05 7.824e-05 7.824e-05 0.02% MLCellLinOp::correctionResidual() 180 7.311e-05 7.311e-05 7.311e-05 0.02% StateData::restartDoit() 4 6.865e-05 6.865e-05 6.865e-05 0.02% Gravity::update_max_rhs() 6 6.739e-05 6.739e-05 6.739e-05 0.02% FabArrayBase::FB::FB() 26 6.307e-05 6.307e-05 6.307e-05 0.01% Gravity::solve_for_phi() 5 5.426e-05 5.426e-05 5.426e-05 0.01% MLMG:computeResOfCorrection() 180 5.326e-05 5.326e-05 5.326e-05 0.01% Castro::advance() 5 5.257e-05 5.257e-05 5.257e-05 0.01% MLMG::mgVcycle_down::0 36 4.626e-05 4.626e-05 4.626e-05 0.01% Castro::finalize_do_advance() 5 4.344e-05 4.344e-05 4.344e-05 0.01% MLMG::actualBottomSolve() 36 3.963e-05 3.963e-05 3.963e-05 0.01% Castro::initialize_advance() 5 3.797e-05 3.797e-05 3.797e-05 0.01% Castro::finalize_advance() 5 3.792e-05 3.792e-05 3.792e-05 0.01% MLMG::mgVcycle_down::1 36 3.625e-05 3.625e-05 3.625e-05 0.01% MLMG::mgVcycle_down::2 36 3.441e-05 3.441e-05 3.441e-05 0.01% MLMG::mgVcycle_down::4 36 3.389e-05 3.389e-05 3.389e-05 0.01% MLMG::solve() 6 3.358e-05 3.358e-05 3.358e-05 0.01% Amr::writeSmallPlotFile() 1 3.245e-05 3.245e-05 3.245e-05 0.01% MLMG::mgVcycle_down::3 36 3.226e-05 3.226e-05 3.226e-05 0.01% Castro::clean_state() 30 3.175e-05 3.175e-05 3.175e-05 0.01% Castro::post_timestep() 5 3.171e-05 3.171e-05 3.171e-05 0.01% Castro::initialize_do_advance() 5 3.079e-05 3.079e-05 3.079e-05 0.01% Castro::post_restart() 1 2.938e-05 2.938e-05 2.938e-05 0.01% MLMG::mgVcycle_up::4 36 2.844e-05 2.844e-05 2.844e-05 0.01% Castro::buildMetrics() 1 2.781e-05 2.781e-05 2.781e-05 0.01% Castro::construct_old_source() 25 2.717e-05 2.717e-05 2.717e-05 0.01% Castro::initMFs() 1 2.481e-05 2.481e-05 2.481e-05 0.01% Castro::swap_state_time_levels() 5 2.475e-05 2.475e-05 2.475e-05 0.01% MLMG::oneIter() 36 2.36e-05 2.36e-05 2.36e-05 0.01% MLMG::mgVcycle_up::0 36 2.317e-05 2.317e-05 2.317e-05 0.01% MLMG::ResNormInf() 42 2.203e-05 2.203e-05 2.203e-05 0.00% MLCellLinOp::solutionResidual() 42 2.166e-05 2.166e-05 2.166e-05 0.00% MLMG::mgVcycle_up::3 36 2.164e-05 2.164e-05 2.164e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.157e-05 2.157e-05 2.157e-05 0.00% MLMG::mgVcycle_up::2 36 1.995e-05 1.995e-05 1.995e-05 0.00% MLMG::mgVcycle_up::1 36 1.983e-05 1.983e-05 1.983e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.743e-05 1.743e-05 1.743e-05 0.00% MLPoisson::define() 6 1.606e-05 1.606e-05 1.606e-05 0.00% MLMG::mgVcycle_bottom 36 1.491e-05 1.491e-05 1.491e-05 0.00% Castro::construct_new_gravity() 5 1.486e-05 1.486e-05 1.486e-05 0.00% FillPatchSingleLevel 20 1.473e-05 1.473e-05 1.473e-05 0.00% MLMG::computeResidual() 36 1.458e-05 1.458e-05 1.458e-05 0.00% makeSFC 30 1.432e-05 1.432e-05 1.432e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.394e-05 1.394e-05 1.394e-05 0.00% Castro::do_new_sources() 5 1.201e-05 1.201e-05 1.201e-05 0.00% Castro::do_old_sources() 5 1.16e-05 1.16e-05 1.16e-05 0.00% MLPoisson::prepareForSolve() 6 1.086e-05 1.086e-05 1.086e-05 0.00% MLMG::computeMLResidual() 6 1.009e-05 1.009e-05 1.009e-05 0.00% DistributionMapping::Distribute() 31 9.767e-06 9.767e-06 9.767e-06 0.00% Amr::initSubcycle() 1 8.665e-06 8.665e-06 8.665e-06 0.00% Gravity::actual_multilevel_solve() 1 8.646e-06 8.646e-06 8.646e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.732e-06 7.732e-06 7.732e-06 0.00% Castro::check_for_nan() 10 6.932e-06 6.932e-06 6.932e-06 0.00% MLLinOp::define() 6 6.34e-06 6.34e-06 6.34e-06 0.00% Castro::apply_source_to_state() 10 6.1e-06 6.1e-06 6.1e-06 0.00% Castro::construct_old_gravity() 5 5.905e-06 5.905e-06 5.905e-06 0.00% Gravity::swapTimeLevels() 5 4.364e-06 4.364e-06 4.364e-06 0.00% Gravity::set_mass_offset() 6 3.914e-06 3.914e-06 3.914e-06 0.00% Castro::computeNewDt() 5 3.727e-06 3.727e-06 3.727e-06 0.00% Castro::retry_advance_ctu() 5 3.59e-06 3.59e-06 3.59e-06 0.00% MLMG::getGradSolution() 6 3.244e-06 3.244e-06 3.244e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.134e-06 3.134e-06 3.134e-06 0.00% Castro::expand_state() 5 2.802e-06 2.802e-06 2.802e-06 0.00% MLMG::MLResNormInf() 6 2.52e-06 2.52e-06 2.52e-06 0.00% MLMG::MLRhsNormInf() 6 2.245e-06 2.245e-06 2.245e-06 0.00% Castro::FluxRegCrseInit 5 1.584e-06 1.584e-06 1.584e-06 0.00% Amr::init() 1 1.351e-06 1.351e-06 1.351e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.13e-06 1.13e-06 1.13e-06 0.00% Castro::FluxRegFineAdd() 5 1.098e-06 1.098e-06 1.098e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4411 0.4411 0.4411 100.00% Amr::coarseTimeStep() 5 0.3389 0.3389 0.3389 76.82% Amr::timeStep() 5 0.3368 0.3368 0.3368 76.34% Castro::advance() 5 0.3313 0.3313 0.3313 75.10% Castro::subcycle_advance_ctu() 5 0.3245 0.3245 0.3245 73.56% Castro::do_advance_ctu() 5 0.3244 0.3244 0.3244 73.53% Castro::construct_ctu_hydro_source() 5 0.1444 0.1444 0.1444 32.73% Castro::construct_new_gravity() 5 0.1423 0.1423 0.1423 32.25% Gravity::solve_phi_with_mlmg() 6 0.1331 0.1331 0.1331 30.17% Gravity::solve_for_phi() 5 0.1274 0.1274 0.1274 28.88% Gravity::actual_solve_with_mlmg() 6 0.1272 0.1272 0.1272 28.82% MLMG::solve() 6 0.1149 0.1149 0.1149 26.05% MLMG::oneIter() 36 0.1074 0.1074 0.1074 24.33% MLMG::mgVcycle() 36 0.1058 0.1058 0.1058 23.98% Amr::init() 1 0.07223 0.07223 0.07223 16.37% Amr::restart() 1 0.07223 0.07223 0.07223 16.37% AmrLevel::restart() 1 0.06093 0.06093 0.06093 13.81% StateData::restartDoit() 4 0.06085 0.06085 0.06085 13.79% VisMF::Read() 3 0.06057 0.06057 0.06057 13.73% MLCellLinOp::smooth() 720 0.05236 0.05236 0.05236 11.87% MLCellLinOp::applyBC() 1910 0.0485 0.0485 0.0485 10.99% MLMG::mgVcycle_bottom 36 0.03198 0.03198 0.03198 7.25% MLMG::actualBottomSolve() 36 0.03197 0.03197 0.03197 7.25% MLCGSolver::bicgstab 36 0.03164 0.03164 0.03164 7.17% AmrLevel::FillPatch() 20 0.02943 0.02943 0.02943 6.67% Amr::writePlotFile() 1 0.02922 0.02922 0.02922 6.62% Castro::clean_state() 30 0.02824 0.02824 0.02824 6.40% FillPatchIterator::Initialize 20 0.0273 0.0273 0.0273 6.19% FillPatchIterator::FillFromLevel0() 20 0.0265 0.0265 0.0265 6.01% FillPatchSingleLevel 20 0.02648 0.02648 0.02648 6.00% VisMF::Write(FabArray) 1 0.02639 0.02639 0.02639 5.98% StateDataPhysBCFunct::() 20 0.02445 0.02445 0.02445 5.54% StateData::FillBoundary(geom) 160 0.01982 0.01982 0.01982 4.49% MLCellLinOp::apply() 464 0.0158 0.0158 0.0158 3.58% MLMG::mgVcycle_down::0 36 0.01485 0.01485 0.01485 3.37% MLPoisson::Fsmooth() 1440 0.01478 0.01478 0.01478 3.35% Gravity::get_new_grav_vector() 5 0.01475 0.01475 0.01475 3.34% FabArray::FillBoundary() 1730 0.01349 0.01349 0.01349 3.06% FillBoundary_nowait() 1730 0.01312 0.01312 0.01312 2.97% Castro::normalize_species() 30 0.01156 0.01156 0.01156 2.62% MLMG::mgVcycle_up::0 36 0.01107 0.01107 0.01107 2.51% Castro::initialize_do_advance() 5 0.01075 0.01075 0.01075 2.44% Castro::computeTemp() 30 0.009761 0.009761 0.009761 2.21% MLPoisson::define() 6 0.009637 0.009637 0.009637 2.18% Castro::do_old_sources() 5 0.009556 0.009556 0.009556 2.17% amrex::Dot() 484 0.009351 0.009351 0.009351 2.12% FabArray::norminf() 465 0.008957 0.008957 0.008957 2.03% MLMG:computeResOfCorrection() 180 0.008833 0.008833 0.008833 2.00% MLCellLinOp::correctionResidual() 180 0.00878 0.00878 0.00878 1.99% Castro::do_new_sources() 5 0.00821 0.00821 0.00821 1.86% Castro::construct_old_gravity() 5 0.007558 0.007558 0.007558 1.71% Gravity::get_old_grav_vector() 5 0.007552 0.007552 0.007552 1.71% MLMG::mgVcycle_down::1 36 0.007324 0.007324 0.007324 1.66% MLMG::mgVcycle_down::2 36 0.006759 0.006759 0.006759 1.53% FabArray::ParallelCopy() 380 0.006647 0.006647 0.006647 1.51% MLCellLinOp::defineAuxData() 6 0.00658 0.00658 0.00658 1.49% MLMG::mgVcycle_down::3 36 0.006566 0.006566 0.006566 1.49% MLMG::mgVcycle_down::4 36 0.006534 0.006534 0.006534 1.48% FabArray::ParallelCopy_nowait() 380 0.006533 0.006533 0.006533 1.48% FabArray::setVal() 501 0.006489 0.006489 0.006489 1.47% Castro::enforce_min_density() 30 0.006454 0.006454 0.006454 1.46% Castro::initialize_advance() 5 0.006447 0.006447 0.006447 1.46% Castro::post_restart() 1 0.006313 0.006313 0.006313 1.43% Gravity::multilevel_solve_for_new_phi() 1 0.00594 0.00594 0.00594 1.35% Gravity::actual_multilevel_solve() 1 0.005923 0.005923 0.005923 1.34% FabArray::Saxpy() 597 0.005869 0.005869 0.005869 1.33% Gravity::fill_multipole_BCs() 6 0.005812 0.005812 0.005812 1.32% Castro::expand_state() 5 0.005709 0.005709 0.005709 1.29% MLCGSolver::ParallelAllReduce 798 0.005693 0.005693 0.005693 1.29% MLMG::addInterpCorrection() 180 0.005465 0.005465 0.005465 1.24% amrex::Copy() 221 0.005449 0.005449 0.005449 1.24% Castro::post_timestep() 5 0.005388 0.005388 0.005388 1.22% MLMG::mgVcycle_up::4 36 0.005241 0.005241 0.005241 1.19% MLMG::mgVcycle_up::1 36 0.005228 0.005228 0.005228 1.18% MLMG::mgVcycle_up::2 36 0.005116 0.005116 0.005116 1.16% amrex::average_down 180 0.005088 0.005088 0.005088 1.15% MLMG::mgVcycle_up::3 36 0.005042 0.005042 0.005042 1.14% MLPoisson::Fapply() 464 0.004493 0.004493 0.004493 1.02% MLCellLinOp::solutionResidual() 42 0.003528 0.003528 0.003528 0.80% FabArray::Xpay() 325 0.003447 0.003447 0.003447 0.78% Castro::estTimeStep() 10 0.002948 0.002948 0.002948 0.67% MLCellLinOp::defineBC() 6 0.002906 0.002906 0.002906 0.66% MLMG::prepareForSolve() 6 0.002874 0.002874 0.002874 0.65% MLMG::computeResidual() 36 0.002752 0.002752 0.002752 0.62% BndryData::define() 6 0.002747 0.002747 0.002747 0.62% Castro::reset_internal_energy(MultiFab) 30 0.002346 0.002346 0.002346 0.53% Castro::computeNewDt() 5 0.001902 0.001902 0.001902 0.43% Castro::construct_new_source() 25 0.001766 0.001766 0.001766 0.40% Castro::construct_new_gravity_source() 5 0.001686 0.001686 0.001686 0.38% amrex::Add() 36 0.001531 0.001531 0.001531 0.35% Castro::construct_old_source() 25 0.001285 0.001285 0.001285 0.29% Castro::construct_old_gravity_source() 5 0.001258 0.001258 0.001258 0.29% Castro::finalize_do_advance() 5 0.001093 0.001093 0.001093 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009941 0.0009941 0.0009941 0.23% MLMG::ResNormInf() 42 0.0009806 0.0009806 0.0009806 0.22% Castro::apply_source_to_state() 10 0.0009657 0.0009657 0.0009657 0.22% check_for_negative_density() 5 0.0009265 0.0009265 0.0009265 0.21% MLCellLinOp::setLevelBC() 6 0.0008738 0.0008738 0.0008738 0.20% MLMG::getGradSolution() 6 0.0008645 0.0008645 0.0008645 0.20% MLCellLinOp::compGrad() 6 0.0008612 0.0008612 0.0008612 0.20% MLMG::computeMLResidual() 6 0.0008003 0.0008003 0.0008003 0.18% FabArrayBase::getCPC() 632 0.0007977 0.0007977 0.0007977 0.18% Castro::reset_internal_energy(Fab) 240 0.0007845 0.0007845 0.0007845 0.18% MLPoisson::prepareForSolve() 6 0.0007693 0.0007693 0.0007693 0.17% MLCellLinOp::prepareForSolve() 6 0.0007584 0.0007584 0.0007584 0.17% Gravity::update_max_rhs() 6 0.0007121 0.0007121 0.0007121 0.16% FabArray::setDomainBndry() 20 0.0006899 0.0006899 0.0006899 0.16% FabArray::mult() 22 0.0006853 0.0006853 0.0006853 0.16% Castro::check_for_nan() 10 0.0006653 0.0006653 0.0006653 0.15% MultiFab::contains_nan() 10 0.0006583 0.0006583 0.0006583 0.15% Amr::InitAmr() 1 0.0004827 0.0004827 0.0004827 0.11% Castro::enforce_speed_limit() 30 0.0004345 0.0004345 0.0004345 0.10% FabArrayBase::CPC::define() 244 0.0004232 0.0004232 0.0004232 0.10% FabArrayBase::getFB() 1730 0.0003269 0.0003269 0.0003269 0.07% Castro::finalize_advance() 5 0.0003023 0.0003023 0.0003023 0.07% Gravity::swapTimeLevels() 5 0.0002385 0.0002385 0.0002385 0.05% MultiFab::max() 6 0.0002064 0.0002064 0.0002064 0.05% MLMG::MLResNormInf() 6 0.0001914 0.0001914 0.0001914 0.04% Castro::buildMetrics() 1 0.0001502 0.0001502 0.0001502 0.03% MLLinOp::define() 6 0.0001352 0.0001352 0.0001352 0.03% MLLinOp::defineGrids() 6 0.0001288 0.0001288 0.0001288 0.03% MLMG::MLRhsNormInf() 6 0.0001187 0.0001187 0.0001187 0.03% Castro::create_source_corrector() 5 0.0001009 0.0001009 0.0001009 0.02% FabArrayBase::FB::FB() 26 6.307e-05 6.307e-05 6.307e-05 0.01% Amr::writeSmallPlotFile() 1 3.245e-05 3.245e-05 3.245e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.049e-05 3.049e-05 3.049e-05 0.01% Castro::initMFs() 1 2.481e-05 2.481e-05 2.481e-05 0.01% Castro::swap_state_time_levels() 5 2.475e-05 2.475e-05 2.475e-05 0.01% makeSFC 30 2.276e-05 2.276e-05 2.276e-05 0.01% DistributionMapping::Distribute() 31 9.767e-06 9.767e-06 9.767e-06 0.00% Amr::initSubcycle() 1 8.665e-06 8.665e-06 8.665e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.455e-06 4.455e-06 4.455e-06 0.00% Gravity::set_mass_offset() 6 3.914e-06 3.914e-06 3.914e-06 0.00% Castro::retry_advance_ctu() 5 3.59e-06 3.59e-06 3.59e-06 0.00% Castro::FluxRegCrseInit 5 1.584e-06 1.584e-06 1.584e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.13e-06 1.13e-06 1.13e-06 0.00% Castro::FluxRegFineAdd() 5 1.098e-06 1.098e-06 1.098e-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 189 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 1168 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1765 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 6437 KiB 14 MiB MLMG::prepareForSolve() 361 361 3196 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 177 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 342 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6424 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3205 B 2048 KiB Gravity::solve_for_phi() 40 40 590 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 295 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 189 KiB 671 KiB Castro::estTimeStep() 10 10 3203 B 480 KiB VisMF::Write(FabArray) 112 112 2313 B 320 KiB Castro::normalize_species() 30 30 8529 B 320 KiB amrex::average_down 469 469 1112 B 257 KiB MLMG::addInterpCorrection() 468 468 1048 B 257 KiB amrex::Dot() 592 592 3126 B 160 KiB FabArray::norminf() 501 501 3140 B 160 KiB check_for_negative_density() 5 5 337 B 160 KiB MultiFab::max() 6 6 73 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3098 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 251 B 9648 B MLCellLinOp::applyBC() 3820 3820 197 B 9344 B amrex::Copy() 56 56 5556 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 331 B 1248 B MLCGSolver::bicgstab 180 180 86 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1113 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 158 KiB 3584 KiB VisMF::Read() 24 24 207 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3098 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 251 B 9648 B MLCellLinOp::applyBC() 1910 1910 196 B 9328 B amrex::Copy() 56 56 5556 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2523 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 494 B 1296 B amrex::average_down 37 37 203 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 22 B 400 B FabArray::norminf() 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): 2189 [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.01-10-g9b799efb04e0) finalized