Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-22-gb2052f2d2e5c) initialized Starting run at 07:13:57 UTC on 2023-09-21. Successfully read inputs file ... Castro git describe: 23.09-15-ga7802fd46 AMReX git describe: 23.09-22-gb2052f2d2 Microphysics git describe: 23.09-11-g5ddd146e 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.05191093 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028757127 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.053066796 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.049393938 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.083558795 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.081594352 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.05764985 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.063162475 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.060629337 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.079363379 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.083785865 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.047580132 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.050924266 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.063298257 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028028311 seconds Ending run at 07:13:58 UTC on 2023-09-21. Run time = 0.938168652 Run time without initialization = 0.802752488 Average number of zones advanced per microsecond: 3.266 Average number of zones advanced per microsecond per rank: 3.266 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9382 ... 0.9382 ... 0.9382 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2765 0.2765 0.2765 29.47% VisMF::Write(FabArray) 11 0.2134 0.2134 0.2134 22.74% MLCellLinOp::applyBC() 4433 0.07776 0.07776 0.07776 8.29% MLPoisson::Fsmooth() 3280 0.03311 0.03311 0.03311 3.53% FillBoundary_nowait() 4023 0.03092 0.03092 0.03092 3.30% StateData::FillBoundary(geom) 328 0.02692 0.02692 0.02692 2.87% Castro::normalize_species() 62 0.02172 0.02172 0.02172 2.32% amrex::Dot() 1114 0.02103 0.02103 0.02103 2.24% Amr::checkPoint() 3 0.0193 0.0193 0.0193 2.06% amrex::Copy() 1029 0.01515 0.01515 0.01515 1.62% FabArray::norminf() 743 0.01469 0.01469 0.01469 1.57% Castro::computeTemp() 63 0.01433 0.01433 0.01433 1.53% FabArray::ParallelCopy_nowait() 861 0.0135 0.0135 0.0135 1.44% FabArray::setVal() 1144 0.01347 0.01347 0.01347 1.44% StateDataPhysBCFunct::() 41 0.01095 0.01095 0.01095 1.17% MLPoisson::Fapply() 1142 0.0106 0.0106 0.0106 1.13% MLCellLinOp::defineAuxData() 11 0.01042 0.01042 0.01042 1.11% Castro::enforce_min_density() 62 0.009562 0.009562 0.009562 1.02% Gravity::fill_multipole_BCs() 11 0.009182 0.009182 0.009182 0.98% FabArray::Saxpy() 813 0.008412 0.008412 0.008412 0.90% FabArray::Xpay() 821 0.008295 0.008295 0.008295 0.88% MLMG::addInterpCorrection() 410 0.006851 0.006851 0.006851 0.73% amrex::average_down 410 0.00614 0.00614 0.00614 0.65% Castro::estTimeStep() 21 0.005377 0.005377 0.005377 0.57% Castro::reset_internal_energy(MultiFab) 63 0.004984 0.004984 0.004984 0.53% FabArray::LinComb() 557 0.004644 0.004644 0.004644 0.49% amrex::Add() 164 0.004428 0.004428 0.004428 0.47% BndryData::define() 11 0.003857 0.003857 0.003857 0.41% Castro::construct_new_gravity_source() 10 0.003308 0.003308 0.003308 0.35% Castro::construct_old_gravity_source() 10 0.002949 0.002949 0.002949 0.31% Castro::enforce_speed_limit() 62 0.002449 0.002449 0.002449 0.26% MLCGSolver::bicgstab 82 0.002204 0.002204 0.002204 0.23% Amr::writePlotFile() 2 0.002018 0.002018 0.002018 0.22% check_for_negative_density() 10 0.001815 0.001815 0.001815 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001775 0.001775 0.001775 0.19% Castro::reset_internal_energy(Fab) 504 0.001752 0.001752 0.001752 0.19% Castro::initData() 1 0.00157 0.00157 0.00157 0.17% Gravity::actual_solve_with_mlmg() 11 0.001534 0.001534 0.001534 0.16% MLCellLinOp::setLevelBC() 11 0.001468 0.001468 0.001468 0.16% FabArray::mult() 43 0.001359 0.001359 0.001359 0.14% FabArray::setDomainBndry() 41 0.001351 0.001351 0.001351 0.14% MLCellLinOp::prepareForSolve() 11 0.001285 0.001285 0.001285 0.14% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% MLCellLinOp::smooth() 1640 0.001121 0.001121 0.001121 0.12% MLCellLinOp::compGrad() 11 0.00105 0.00105 0.00105 0.11% MLMG::prepareForSolve() 11 0.0009365 0.0009365 0.0009365 0.10% FabArray::FillBoundary() 4023 0.0008515 0.0008515 0.0008515 0.09% FabArrayBase::getCPC() 1323 0.0007735 0.0007735 0.0007735 0.08% FabArrayBase::CPC::define() 454 0.0006781 0.0006781 0.0006781 0.07% FabArrayBase::getFB() 4023 0.0006359 0.0006359 0.0006359 0.07% Gravity::get_new_grav_vector() 11 0.0005927 0.0005927 0.0005927 0.06% Amr::InitAmr() 1 0.0005023 0.0005023 0.0005023 0.05% Gravity::get_old_grav_vector() 10 0.0004858 0.0004858 0.0004858 0.05% MLCellLinOp::apply() 1142 0.0004564 0.0004564 0.0004564 0.05% Amr::coarseTimeStep() 10 0.0003918 0.0003918 0.0003918 0.04% AmrLevel::FillPatch() 41 0.000333 0.000333 0.000333 0.04% MultiFab::max() 11 0.0003328 0.0003328 0.0003328 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002952 0.0002952 0.0002952 0.03% main() 1 0.0002929 0.0002929 0.0002929 0.03% FabArray::ParallelCopy() 861 0.0002544 0.0002544 0.0002544 0.03% Castro::subcycle_advance_ctu() 10 0.0002406 0.0002406 0.0002406 0.03% MLCellLinOp::correctionResidual() 492 0.0002261 0.0002261 0.0002261 0.02% FillPatchIterator::Initialize 41 0.000219 0.000219 0.000219 0.02% MLCellLinOp::defineBC() 11 0.0002188 0.0002188 0.0002188 0.02% MLMG::mgVcycle() 82 0.0001835 0.0001835 0.0001835 0.02% Castro::create_source_corrector() 10 0.0001605 0.0001605 0.0001605 0.02% MLLinOp::defineGrids() 11 0.0001596 0.0001596 0.0001596 0.02% Amr::timeStep() 10 0.000154 0.000154 0.000154 0.02% Gravity::solve_for_phi() 10 0.0001391 0.0001391 0.0001391 0.01% StateData::checkPoint() 12 0.0001373 0.0001373 0.0001373 0.01% Gravity::update_max_rhs() 11 0.0001326 0.0001326 0.0001326 0.01% MLMG:computeResOfCorrection() 410 0.0001221 0.0001221 0.0001221 0.01% AmrLevel::checkPoint() 3 9.889e-05 9.889e-05 9.889e-05 0.01% Castro::Castro() 1 9.886e-05 9.886e-05 9.886e-05 0.01% FabArrayBase::FB::FB() 56 9.307e-05 9.307e-05 9.307e-05 0.01% MLMG::actualBottomSolve() 82 8.711e-05 8.711e-05 8.711e-05 0.01% Castro::advance() 10 8.658e-05 8.658e-05 8.658e-05 0.01% MLMG::mgVcycle_down::0 82 8.293e-05 8.293e-05 8.293e-05 0.01% Castro::initialize_advance() 10 7.669e-05 7.669e-05 7.669e-05 0.01% Castro::clean_state() 62 7.423e-05 7.423e-05 7.423e-05 0.01% MLMG::mgVcycle_down::2 82 7.24e-05 7.24e-05 7.24e-05 0.01% MLMG::mgVcycle_down::1 82 7.179e-05 7.179e-05 7.179e-05 0.01% Castro::enforce_consistent_e() 1 7.166e-05 7.166e-05 7.166e-05 0.01% MLMG::solve() 11 7.107e-05 7.107e-05 7.107e-05 0.01% MLMG::mgVcycle_down::4 82 6.953e-05 6.953e-05 6.953e-05 0.01% Castro::finalize_advance() 10 6.819e-05 6.819e-05 6.819e-05 0.01% MLMG::mgVcycle_down::3 82 6.675e-05 6.675e-05 6.675e-05 0.01% Castro::initialize_do_advance() 10 5.99e-05 5.99e-05 5.99e-05 0.01% MLMG::mgVcycle_up::4 82 5.834e-05 5.834e-05 5.834e-05 0.01% MLMG::mgVcycle_up::0 82 5.19e-05 5.19e-05 5.19e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.087e-05 5.087e-05 5.087e-05 0.01% MLMG::oneIter() 82 5.055e-05 5.055e-05 5.055e-05 0.01% MLMG::mgVcycle_up::3 82 4.981e-05 4.981e-05 4.981e-05 0.01% Castro::do_advance_ctu() 10 4.856e-05 4.856e-05 4.856e-05 0.01% MLMG::mgVcycle_up::1 82 4.808e-05 4.808e-05 4.808e-05 0.01% MLMG::mgVcycle_up::2 82 4.743e-05 4.743e-05 4.743e-05 0.01% MLCellLinOp::solutionResidual() 93 4.584e-05 4.584e-05 4.584e-05 0.00% Castro::construct_new_source() 50 4.412e-05 4.412e-05 4.412e-05 0.00% Castro::finalize_do_advance() 10 4.288e-05 4.288e-05 4.288e-05 0.00% FillPatchSingleLevel 41 4.119e-05 4.119e-05 4.119e-05 0.00% StateData::define() 4 4.115e-05 4.115e-05 4.115e-05 0.00% Castro::swap_state_time_levels() 10 3.745e-05 3.745e-05 3.745e-05 0.00% MLMG::ResNormInf() 93 3.363e-05 3.363e-05 3.363e-05 0.00% MLMG::mgVcycle_bottom 82 3.314e-05 3.314e-05 3.314e-05 0.00% MLMG::computeResidual() 82 3.217e-05 3.217e-05 3.217e-05 0.00% Castro::initMFs() 1 2.948e-05 2.948e-05 2.948e-05 0.00% Amr::writeSmallPlotFile() 1 2.862e-05 2.862e-05 2.862e-05 0.00% makeSFC 55 2.534e-05 2.534e-05 2.534e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.39e-05 2.39e-05 2.39e-05 0.00% Castro::buildMetrics() 1 2.39e-05 2.39e-05 2.39e-05 0.00% Castro::construct_new_gravity() 10 2.37e-05 2.37e-05 2.37e-05 0.00% Amr::defBaseLevel() 1 2.213e-05 2.213e-05 2.213e-05 0.00% Castro::do_old_sources() 10 2.154e-05 2.154e-05 2.154e-05 0.00% MLPoisson::define() 11 2.002e-05 2.002e-05 2.002e-05 0.00% Castro::construct_old_source() 50 1.953e-05 1.953e-05 1.953e-05 0.00% Amr::FinalizeInit() 1 1.914e-05 1.914e-05 1.914e-05 0.00% Castro::do_new_sources() 10 1.913e-05 1.913e-05 1.913e-05 0.00% DistributionMapping::Distribute() 56 1.852e-05 1.852e-05 1.852e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.826e-05 1.826e-05 1.826e-05 0.00% MLLinOp::define() 11 1.453e-05 1.453e-05 1.453e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.284e-05 1.284e-05 1.284e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.262e-05 1.262e-05 1.262e-05 0.00% Castro::construct_old_gravity() 10 1.171e-05 1.171e-05 1.171e-05 0.00% Castro::check_for_nan() 20 1.151e-05 1.151e-05 1.151e-05 0.00% Castro::apply_source_to_state() 20 1.13e-05 1.13e-05 1.13e-05 0.00% Castro::post_init() 1 9.759e-06 9.759e-06 9.759e-06 0.00% Amr::initSubcycle() 1 9.508e-06 9.508e-06 9.508e-06 0.00% MLMG::computeMLResidual() 11 9.274e-06 9.274e-06 9.274e-06 0.00% Castro::post_timestep() 10 8.816e-06 8.816e-06 8.816e-06 0.00% Gravity::actual_multilevel_solve() 1 8.374e-06 8.374e-06 8.374e-06 0.00% Gravity::swapTimeLevels() 10 8.185e-06 8.185e-06 8.185e-06 0.00% MLPoisson::prepareForSolve() 11 8.027e-06 8.027e-06 8.027e-06 0.00% Castro::computeNewDt() 9 7.488e-06 7.488e-06 7.488e-06 0.00% MLMG::getGradSolution() 11 6.051e-06 6.051e-06 6.051e-06 0.00% Castro::expand_state() 10 5.789e-06 5.789e-06 5.789e-06 0.00% AmrLevel::checkPointPost() 3 5.068e-06 5.068e-06 5.068e-06 0.00% Castro::retry_advance_ctu() 10 4.681e-06 4.681e-06 4.681e-06 0.00% Gravity::set_mass_offset() 11 4.502e-06 4.502e-06 4.502e-06 0.00% MLMG::MLRhsNormInf() 11 4.452e-06 4.452e-06 4.452e-06 0.00% AmrLevel::checkPointPre() 3 4.144e-06 4.144e-06 4.144e-06 0.00% Amr::InitializeInit() 1 4.115e-06 4.115e-06 4.115e-06 0.00% Castro::computeInitialDt() 2 4.028e-06 4.028e-06 4.028e-06 0.00% MLMG::MLResNormInf() 11 3.87e-06 3.87e-06 3.87e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.133e-06 3.133e-06 3.133e-06 0.00% Castro::FluxRegCrseInit 10 3.013e-06 3.013e-06 3.013e-06 0.00% Castro::FluxRegFineAdd() 10 2.432e-06 2.432e-06 2.432e-06 0.00% Amr::init() 1 2.415e-06 2.415e-06 2.415e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.148e-06 2.148e-06 2.148e-06 0.00% Castro::post_regrid() 1 1.247e-06 1.247e-06 1.247e-06 0.00% Amr::initialInit() 1 1.05e-06 1.05e-06 1.05e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9382 0.9382 0.9382 100.00% Amr::coarseTimeStep() 10 0.7745 0.7745 0.7745 82.55% Amr::timeStep() 10 0.6445 0.6445 0.6445 68.69% Castro::advance() 10 0.6349 0.6349 0.6349 67.67% Castro::subcycle_advance_ctu() 10 0.6216 0.6216 0.6216 66.25% Castro::do_advance_ctu() 10 0.6213 0.6213 0.6213 66.23% Gravity::solve_phi_with_mlmg() 11 0.2912 0.2912 0.2912 31.04% Castro::construct_ctu_hydro_source() 10 0.2878 0.2878 0.2878 30.67% Gravity::actual_solve_with_mlmg() 11 0.2816 0.2816 0.2816 30.02% Castro::construct_new_gravity() 10 0.2622 0.2622 0.2622 27.95% MLMG::solve() 11 0.2599 0.2599 0.2599 27.70% Gravity::solve_for_phi() 10 0.2465 0.2465 0.2465 26.27% MLMG::oneIter() 82 0.2449 0.2449 0.2449 26.10% MLMG::mgVcycle() 82 0.2412 0.2412 0.2412 25.71% VisMF::Write(FabArray) 11 0.2134 0.2134 0.2134 22.74% Amr::checkPoint() 3 0.1785 0.1785 0.1785 19.03% AmrLevel::checkPoint() 3 0.1592 0.1592 0.1592 16.97% StateData::checkPoint() 12 0.1591 0.1591 0.1591 16.96% Amr::init() 1 0.1348 0.1348 0.1348 14.37% MLCellLinOp::smooth() 1640 0.1181 0.1181 0.1181 12.59% MLCellLinOp::applyBC() 4433 0.1103 0.1103 0.1103 11.75% MLMG::mgVcycle_bottom 82 0.07532 0.07532 0.07532 8.03% MLMG::actualBottomSolve() 82 0.07528 0.07528 0.07528 8.02% MLCGSolver::bicgstab 82 0.07457 0.07457 0.07457 7.95% Amr::writePlotFile() 2 0.05692 0.05692 0.05692 6.07% Castro::clean_state() 62 0.05402 0.05402 0.05402 5.76% Amr::initialInit() 1 0.05399 0.05399 0.05399 5.75% Amr::FinalizeInit() 1 0.04898 0.04898 0.04898 5.22% AmrLevel::FillPatch() 41 0.04777 0.04777 0.04777 5.09% Castro::post_init() 1 0.04758 0.04758 0.04758 5.07% Gravity::multilevel_solve_for_new_phi() 1 0.04521 0.04521 0.04521 4.82% Gravity::actual_multilevel_solve() 1 0.04519 0.04519 0.04519 4.82% FillPatchIterator::Initialize 41 0.04357 0.04357 0.04357 4.64% FillPatchIterator::FillFromLevel0() 41 0.042 0.042 0.042 4.48% FillPatchSingleLevel 41 0.04195 0.04195 0.04195 4.47% StateDataPhysBCFunct::() 41 0.03787 0.03787 0.03787 4.04% MLCellLinOp::apply() 1142 0.03694 0.03694 0.03694 3.94% MLMG::mgVcycle_down::0 82 0.03391 0.03391 0.03391 3.61% MLPoisson::Fsmooth() 3280 0.03311 0.03311 0.03311 3.53% FabArray::FillBoundary() 4023 0.0325 0.0325 0.0325 3.46% FillBoundary_nowait() 4023 0.03165 0.03165 0.03165 3.37% StateData::FillBoundary(geom) 328 0.02692 0.02692 0.02692 2.87% MLMG::mgVcycle_up::0 82 0.02562 0.02562 0.02562 2.73% MLCellLinOp::correctionResidual() 492 0.02251 0.02251 0.02251 2.40% Castro::normalize_species() 62 0.02172 0.02172 0.02172 2.32% Castro::computeTemp() 63 0.02107 0.02107 0.02107 2.25% amrex::Dot() 1114 0.02103 0.02103 0.02103 2.24% Castro::initialize_do_advance() 10 0.02079 0.02079 0.02079 2.22% MLMG:computeResOfCorrection() 410 0.01983 0.01983 0.01983 2.11% Castro::do_old_sources() 10 0.01878 0.01878 0.01878 2.00% Gravity::get_new_grav_vector() 11 0.01761 0.01761 0.01761 1.88% MLPoisson::define() 11 0.01717 0.01717 0.01717 1.83% MLMG::mgVcycle_down::1 82 0.01617 0.01617 0.01617 1.72% Castro::construct_old_gravity() 10 0.01554 0.01554 0.01554 1.66% Gravity::get_old_grav_vector() 10 0.01553 0.01553 0.01553 1.65% amrex::Copy() 1029 0.01515 0.01515 0.01515 1.62% MLMG::mgVcycle_down::2 82 0.01497 0.01497 0.01497 1.60% FabArray::norminf() 743 0.01469 0.01469 0.01469 1.57% MLMG::mgVcycle_down::3 82 0.01464 0.01464 0.01464 1.56% FabArray::ParallelCopy() 861 0.01456 0.01456 0.01456 1.55% MLMG::mgVcycle_down::4 82 0.01444 0.01444 0.01444 1.54% FabArray::ParallelCopy_nowait() 861 0.01431 0.01431 0.01431 1.53% FabArray::setVal() 1144 0.01347 0.01347 0.01347 1.44% Castro::do_new_sources() 10 0.01318 0.01318 0.01318 1.41% MLCGSolver::ParallelAllReduce 1514 0.01264 0.01264 0.01264 1.35% Castro::initialize_advance() 10 0.01262 0.01262 0.01262 1.35% MLMG::addInterpCorrection() 410 0.01207 0.01207 0.01207 1.29% MLCellLinOp::defineAuxData() 11 0.01185 0.01185 0.01185 1.26% Castro::expand_state() 10 0.01182 0.01182 0.01182 1.26% MLMG::mgVcycle_up::4 82 0.01166 0.01166 0.01166 1.24% MLMG::mgVcycle_up::1 82 0.01166 0.01166 0.01166 1.24% amrex::average_down 410 0.01145 0.01145 0.01145 1.22% MLMG::mgVcycle_up::2 82 0.01144 0.01144 0.01144 1.22% MLMG::mgVcycle_up::3 82 0.01119 0.01119 0.01119 1.19% MLPoisson::Fapply() 1142 0.0106 0.0106 0.0106 1.13% Castro::enforce_min_density() 62 0.009562 0.009562 0.009562 1.02% Castro::post_timestep() 10 0.009433 0.009433 0.009433 1.01% Gravity::fill_multipole_BCs() 11 0.009411 0.009411 0.009411 1.00% FabArray::Saxpy() 813 0.008412 0.008412 0.008412 0.90% FabArray::Xpay() 821 0.008295 0.008295 0.008295 0.88% MLCellLinOp::solutionResidual() 93 0.007514 0.007514 0.007514 0.80% Castro::reset_internal_energy(MultiFab) 63 0.006736 0.006736 0.006736 0.72% MLMG::computeResidual() 82 0.006232 0.006232 0.006232 0.66% Castro::estTimeStep() 21 0.005377 0.005377 0.005377 0.57% MLCellLinOp::defineBC() 11 0.005072 0.005072 0.005072 0.54% Amr::InitializeInit() 1 0.005007 0.005007 0.005007 0.53% Amr::defBaseLevel() 1 0.005003 0.005003 0.005003 0.53% MLMG::prepareForSolve() 11 0.004984 0.004984 0.004984 0.53% BndryData::define() 11 0.004853 0.004853 0.004853 0.52% FabArray::LinComb() 557 0.004644 0.004644 0.004644 0.49% amrex::Add() 164 0.004428 0.004428 0.004428 0.47% Castro::initData() 1 0.004347 0.004347 0.004347 0.46% Castro::construct_new_source() 50 0.003352 0.003352 0.003352 0.36% Castro::construct_new_gravity_source() 10 0.003308 0.003308 0.003308 0.35% Castro::construct_old_source() 50 0.002968 0.002968 0.002968 0.32% Castro::construct_old_gravity_source() 10 0.002949 0.002949 0.002949 0.31% Castro::enforce_speed_limit() 62 0.002449 0.002449 0.002449 0.26% Castro::computeNewDt() 9 0.002264 0.002264 0.002264 0.24% MLMG::ResNormInf() 93 0.002184 0.002184 0.002184 0.23% Castro::finalize_do_advance() 10 0.002105 0.002105 0.002105 0.22% Castro::apply_source_to_state() 20 0.001858 0.001858 0.001858 0.20% check_for_negative_density() 10 0.001815 0.001815 0.001815 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001775 0.001775 0.001775 0.19% Castro::reset_internal_energy(Fab) 504 0.001752 0.001752 0.001752 0.19% MLMG::getGradSolution() 11 0.001557 0.001557 0.001557 0.17% MLCellLinOp::compGrad() 11 0.001551 0.001551 0.001551 0.17% MLCellLinOp::setLevelBC() 11 0.001468 0.001468 0.001468 0.16% FabArrayBase::getCPC() 1323 0.001452 0.001452 0.001452 0.15% FabArray::mult() 43 0.001359 0.001359 0.001359 0.14% FabArray::setDomainBndry() 41 0.001351 0.001351 0.001351 0.14% MLMG::computeMLResidual() 11 0.001324 0.001324 0.001324 0.14% MLPoisson::prepareForSolve() 11 0.001293 0.001293 0.001293 0.14% MLCellLinOp::prepareForSolve() 11 0.001285 0.001285 0.001285 0.14% Castro::check_for_nan() 20 0.001281 0.001281 0.001281 0.14% MultiFab::contains_nan() 20 0.00127 0.00127 0.00127 0.14% Castro::post_regrid() 1 0.001101 0.001101 0.001101 0.12% Castro::computeInitialDt() 2 0.001062 0.001062 0.001062 0.11% Gravity::update_max_rhs() 11 0.00102 0.00102 0.00102 0.11% FabArrayBase::getFB() 4023 0.0007289 0.0007289 0.0007289 0.08% FabArrayBase::CPC::define() 454 0.0006781 0.0006781 0.0006781 0.07% Castro::finalize_advance() 10 0.0006045 0.0006045 0.0006045 0.06% Castro::Castro() 1 0.0005758 0.0005758 0.0005758 0.06% Amr::InitAmr() 1 0.0005118 0.0005118 0.0005118 0.05% Gravity::swapTimeLevels() 10 0.0004454 0.0004454 0.0004454 0.05% MLMG::MLResNormInf() 11 0.0003378 0.0003378 0.0003378 0.04% MultiFab::max() 11 0.0003328 0.0003328 0.0003328 0.04% Castro::buildMetrics() 1 0.0002782 0.0002782 0.0002782 0.03% MLLinOp::define() 11 0.0002319 0.0002319 0.0002319 0.02% MLMG::MLRhsNormInf() 11 0.0002222 0.0002222 0.0002222 0.02% MLLinOp::defineGrids() 11 0.0002173 0.0002173 0.0002173 0.02% Castro::create_source_corrector() 10 0.0001605 0.0001605 0.0001605 0.02% FabArrayBase::FB::FB() 56 9.307e-05 9.307e-05 9.307e-05 0.01% Castro::enforce_consistent_e() 1 7.166e-05 7.166e-05 7.166e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.556e-05 5.556e-05 5.556e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.377e-05 5.377e-05 5.377e-05 0.01% makeSFC 55 4.272e-05 4.272e-05 4.272e-05 0.00% StateData::define() 4 4.115e-05 4.115e-05 4.115e-05 0.00% Castro::swap_state_time_levels() 10 3.745e-05 3.745e-05 3.745e-05 0.00% Castro::initMFs() 1 2.948e-05 2.948e-05 2.948e-05 0.00% Amr::writeSmallPlotFile() 1 2.862e-05 2.862e-05 2.862e-05 0.00% DistributionMapping::Distribute() 56 1.852e-05 1.852e-05 1.852e-05 0.00% Amr::initSubcycle() 1 9.508e-06 9.508e-06 9.508e-06 0.00% AmrLevel::checkPointPost() 3 5.068e-06 5.068e-06 5.068e-06 0.00% Castro::retry_advance_ctu() 10 4.681e-06 4.681e-06 4.681e-06 0.00% Gravity::set_mass_offset() 11 4.502e-06 4.502e-06 4.502e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.269e-06 4.269e-06 4.269e-06 0.00% AmrLevel::checkPointPre() 3 4.144e-06 4.144e-06 4.144e-06 0.00% Castro::FluxRegCrseInit 10 3.013e-06 3.013e-06 3.013e-06 0.00% Castro::FluxRegFineAdd() 10 2.432e-06 2.432e-06 2.432e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.148e-06 2.148e-06 2.148e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 90 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 135 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 991 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1707 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3407 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 195 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 169 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2104 B 2048 KiB Gravity::solve_for_phi() 80 80 537 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 98 KiB 2048 KiB BndryData::define() 1056 1056 311 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 198 KiB 671 KiB Castro::estTimeStep() 21 21 2791 B 480 KiB VisMF::Write(FabArray) 656 656 3257 B 320 KiB Castro::normalize_species() 62 62 7544 B 320 KiB amrex::average_down 1067 1067 1229 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1096 B 257 KiB amrex::Dot() 1360 1360 3300 B 160 KiB FabArray::norminf() 907 907 2314 B 160 KiB check_for_negative_density() 10 10 294 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 55 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3327 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 8866 8866 213 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3880 B 6144 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 115 B 1472 B MLCellLinOp::defineBC() 66 66 350 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 526 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 38 KiB 8192 KiB VisMF::Write(FabArray) 744 744 485 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3327 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 288 B 9648 B MLCellLinOp::applyBC() 4433 4433 211 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3880 B 6144 B Gravity::get_new_grav_vector() 3 3 2897 B 3072 B StateData::FillBoundary(geom) 1992 1992 40 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 283 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-22-gb2052f2d2e5c) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-22-gb2052f2d2e5c) initialized Starting run at 07:13:58 UTC on 2023-09-21. Successfully read inputs file ... Castro git describe: 23.09-15-ga7802fd46 AMReX git describe: 23.09-22-gb2052f2d2 Microphysics git describe: 23.09-11-g5ddd146e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.523865902 Restart time = 0.050352086 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.056769085 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.067326357 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.084224039 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.072306078 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.053382247 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028783252 seconds Ending run at 07:13:59 UTC on 2023-09-21. Run time = 0.414216989 Run time without initialization = 0.363238755 Average number of zones advanced per microsecond: 3.608 Average number of zones advanced per microsecond per rank: 3.608 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4142 ... 0.4142 ... 0.4142 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1427 0.1427 0.1427 34.45% VisMF::Read() 3 0.03882 0.03882 0.03882 9.37% MLCellLinOp::applyBC() 1946 0.03393 0.03393 0.03393 8.19% VisMF::Write(FabArray) 1 0.02742 0.02742 0.02742 6.62% MLPoisson::Fsmooth() 1440 0.01434 0.01434 0.01434 3.46% StateData::FillBoundary(geom) 160 0.01307 0.01307 0.01307 3.16% FillBoundary_nowait() 1766 0.01276 0.01276 0.01276 3.08% Castro::normalize_species() 30 0.01091 0.01091 0.01091 2.63% amrex::Dot() 484 0.009038 0.009038 0.009038 2.18% amrex::Copy() 463 0.007226 0.007226 0.007226 1.74% Castro::computeTemp() 30 0.006677 0.006677 0.006677 1.61% FabArray::setVal() 537 0.006583 0.006583 0.006583 1.59% FabArray::norminf() 326 0.006438 0.006438 0.006438 1.55% FabArray::ParallelCopy_nowait() 380 0.00616 0.00616 0.00616 1.49% MLCellLinOp::defineAuxData() 6 0.005664 0.005664 0.005664 1.37% Castro::enforce_min_density() 30 0.005632 0.005632 0.005632 1.36% Gravity::fill_multipole_BCs() 6 0.005491 0.005491 0.005491 1.33% StateDataPhysBCFunct::() 20 0.005115 0.005115 0.005115 1.23% Amr::restart() 1 0.004794 0.004794 0.004794 1.16% MLPoisson::Fapply() 500 0.00461 0.00461 0.00461 1.11% Castro::estTimeStep() 10 0.003814 0.003814 0.003814 0.92% FabArray::Saxpy() 355 0.003766 0.003766 0.003766 0.91% FabArray::Xpay() 361 0.003616 0.003616 0.003616 0.87% MLMG::addInterpCorrection() 180 0.003067 0.003067 0.003067 0.74% amrex::average_down 180 0.002709 0.002709 0.002709 0.65% FabArray::LinComb() 242 0.002293 0.002293 0.002293 0.55% BndryData::define() 6 0.002132 0.002132 0.002132 0.51% amrex::Add() 72 0.001888 0.001888 0.001888 0.46% Castro::enforce_speed_limit() 30 0.001874 0.001874 0.001874 0.45% Castro::construct_new_gravity_source() 5 0.00175 0.00175 0.00175 0.42% Castro::reset_internal_energy(MultiFab) 30 0.001532 0.001532 0.001532 0.37% Castro::construct_old_gravity_source() 5 0.001516 0.001516 0.001516 0.37% Amr::writePlotFile() 1 0.001191 0.001191 0.001191 0.29% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009853 0.0009853 0.0009853 0.24% MLCGSolver::bicgstab 36 0.0009602 0.0009602 0.0009602 0.23% Castro::reset_internal_energy(Fab) 240 0.0008722 0.0008722 0.0008722 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008242 0.0008242 0.0008242 0.20% MLCellLinOp::setLevelBC() 6 0.0007988 0.0007988 0.0007988 0.19% MLCellLinOp::prepareForSolve() 6 0.0007082 0.0007082 0.0007082 0.17% FabArray::setDomainBndry() 20 0.0006964 0.0006964 0.0006964 0.17% FabArray::mult() 22 0.0006913 0.0006913 0.0006913 0.17% check_for_negative_density() 5 0.0006784 0.0006784 0.0006784 0.16% MultiFab::contains_nan() 10 0.0006636 0.0006636 0.0006636 0.16% MLCellLinOp::compGrad() 6 0.0005847 0.0005847 0.0005847 0.14% MLMG::prepareForSolve() 6 0.0005383 0.0005383 0.0005383 0.13% MLCellLinOp::smooth() 720 0.0004838 0.0004838 0.0004838 0.12% FabArrayBase::CPC::define() 244 0.000431 0.000431 0.000431 0.10% Amr::InitAmr() 1 0.0004213 0.0004213 0.0004213 0.10% FabArrayBase::getCPC() 632 0.0003744 0.0003744 0.0003744 0.09% FabArray::FillBoundary() 1766 0.0003655 0.0003655 0.0003655 0.09% Gravity::get_old_grav_vector() 5 0.0003419 0.0003419 0.0003419 0.08% Gravity::get_new_grav_vector() 5 0.0003102 0.0003102 0.0003102 0.07% FabArrayBase::getFB() 1766 0.0002703 0.0002703 0.0002703 0.07% main() 1 0.0002656 0.0002656 0.0002656 0.06% MultiFab::max() 6 0.000216 0.000216 0.000216 0.05% Amr::coarseTimeStep() 5 0.0002104 0.0002104 0.0002104 0.05% MLCellLinOp::apply() 500 0.0002038 0.0002038 0.0002038 0.05% AmrLevel::FillPatch() 20 0.0001626 0.0001626 0.0001626 0.04% MLCGSolver::ParallelAllReduce 659 0.0001277 0.0001277 0.0001277 0.03% FabArray::ParallelCopy() 380 0.000116 0.000116 0.000116 0.03% MLCellLinOp::defineBC() 6 0.0001159 0.0001159 0.0001159 0.03% FillPatchIterator::Initialize 20 0.0001084 0.0001084 0.0001084 0.03% MLCellLinOp::correctionResidual() 216 9.364e-05 9.364e-05 9.364e-05 0.02% MLLinOp::defineGrids() 6 9.342e-05 9.342e-05 9.342e-05 0.02% Castro::advance() 5 9.184e-05 9.184e-05 9.184e-05 0.02% Castro::subcycle_advance_ctu() 5 8.898e-05 8.898e-05 8.898e-05 0.02% MLMG::mgVcycle() 36 8.425e-05 8.425e-05 8.425e-05 0.02% Castro::create_source_corrector() 5 8.216e-05 8.216e-05 8.216e-05 0.02% Amr::timeStep() 5 8.034e-05 8.034e-05 8.034e-05 0.02% Gravity::solve_for_phi() 5 7.261e-05 7.261e-05 7.261e-05 0.02% Gravity::update_max_rhs() 6 7.185e-05 7.185e-05 7.185e-05 0.02% StateData::restartDoit() 4 7.061e-05 7.061e-05 7.061e-05 0.02% AmrLevel::restart() 1 7.024e-05 7.024e-05 7.024e-05 0.02% Castro::finalize_do_advance() 5 6.397e-05 6.397e-05 6.397e-05 0.02% FabArrayBase::FB::FB() 26 5.8e-05 5.8e-05 5.8e-05 0.01% MLMG:computeResOfCorrection() 180 5.233e-05 5.233e-05 5.233e-05 0.01% Castro::do_advance_ctu() 5 4.47e-05 4.47e-05 4.47e-05 0.01% MLMG::actualBottomSolve() 36 4.076e-05 4.076e-05 4.076e-05 0.01% Castro::clean_state() 30 3.62e-05 3.62e-05 3.62e-05 0.01% MLMG::mgVcycle_down::0 36 3.595e-05 3.595e-05 3.595e-05 0.01% Castro::initialize_advance() 5 3.579e-05 3.579e-05 3.579e-05 0.01% Castro::do_new_sources() 5 3.433e-05 3.433e-05 3.433e-05 0.01% MLMG::solve() 6 3.398e-05 3.398e-05 3.398e-05 0.01% Castro::post_timestep() 5 3.304e-05 3.304e-05 3.304e-05 0.01% MLMG::mgVcycle_down::1 36 3.251e-05 3.251e-05 3.251e-05 0.01% MLMG::mgVcycle_down::2 36 3.078e-05 3.078e-05 3.078e-05 0.01% MLMG::mgVcycle_down::4 36 3.017e-05 3.017e-05 3.017e-05 0.01% Castro::initialize_do_advance() 5 2.971e-05 2.971e-05 2.971e-05 0.01% Castro::finalize_advance() 5 2.918e-05 2.918e-05 2.918e-05 0.01% MLMG::mgVcycle_down::3 36 2.901e-05 2.901e-05 2.901e-05 0.01% Amr::writeSmallPlotFile() 1 2.819e-05 2.819e-05 2.819e-05 0.01% Castro::computeNewDt() 5 2.78e-05 2.78e-05 2.78e-05 0.01% Castro::post_restart() 1 2.756e-05 2.756e-05 2.756e-05 0.01% Castro::construct_old_source() 25 2.713e-05 2.713e-05 2.713e-05 0.01% Castro::construct_new_source() 25 2.694e-05 2.694e-05 2.694e-05 0.01% MLMG::mgVcycle_up::4 36 2.685e-05 2.685e-05 2.685e-05 0.01% Castro::buildMetrics() 1 2.603e-05 2.603e-05 2.603e-05 0.01% Castro::swap_state_time_levels() 5 2.544e-05 2.544e-05 2.544e-05 0.01% Castro::initMFs() 1 2.431e-05 2.431e-05 2.431e-05 0.01% MLMG::oneIter() 36 2.263e-05 2.263e-05 2.263e-05 0.01% MLMG::mgVcycle_up::0 36 2.241e-05 2.241e-05 2.241e-05 0.01% MLMG::mgVcycle_up::3 36 2.2e-05 2.2e-05 2.2e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.085e-05 2.085e-05 2.085e-05 0.01% MLMG::mgVcycle_up::2 36 2.071e-05 2.071e-05 2.071e-05 0.00% MLCellLinOp::solutionResidual() 42 1.992e-05 1.992e-05 1.992e-05 0.00% MLMG::mgVcycle_up::1 36 1.971e-05 1.971e-05 1.971e-05 0.00% MLMG::ResNormInf() 42 1.783e-05 1.783e-05 1.783e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.666e-05 1.666e-05 1.666e-05 0.00% MLMG::mgVcycle_bottom 36 1.511e-05 1.511e-05 1.511e-05 0.00% FillPatchSingleLevel 20 1.508e-05 1.508e-05 1.508e-05 0.00% MLMG::computeResidual() 36 1.448e-05 1.448e-05 1.448e-05 0.00% MLPoisson::define() 6 1.328e-05 1.328e-05 1.328e-05 0.00% makeSFC 30 1.324e-05 1.324e-05 1.324e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.316e-05 1.316e-05 1.316e-05 0.00% Castro::construct_new_gravity() 5 1.276e-05 1.276e-05 1.276e-05 0.00% Castro::do_old_sources() 5 1.102e-05 1.102e-05 1.102e-05 0.00% DistributionMapping::Distribute() 31 1.015e-05 1.015e-05 1.015e-05 0.00% MLLinOp::define() 6 9.722e-06 9.722e-06 9.722e-06 0.00% Amr::initSubcycle() 1 9.616e-06 9.616e-06 9.616e-06 0.00% Gravity::actual_multilevel_solve() 1 8.307e-06 8.307e-06 8.307e-06 0.00% Castro::check_for_nan() 10 7.373e-06 7.373e-06 7.373e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.35e-06 7.35e-06 7.35e-06 0.00% Castro::construct_old_gravity() 5 6.468e-06 6.468e-06 6.468e-06 0.00% Castro::apply_source_to_state() 10 6.016e-06 6.016e-06 6.016e-06 0.00% MLPoisson::prepareForSolve() 6 4.425e-06 4.425e-06 4.425e-06 0.00% MLMG::computeMLResidual() 6 3.906e-06 3.906e-06 3.906e-06 0.00% Gravity::swapTimeLevels() 5 3.899e-06 3.899e-06 3.899e-06 0.00% MLMG::getGradSolution() 6 3.493e-06 3.493e-06 3.493e-06 0.00% Castro::expand_state() 5 2.9e-06 2.9e-06 2.9e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.871e-06 2.871e-06 2.871e-06 0.00% MLMG::MLResNormInf() 6 2.606e-06 2.606e-06 2.606e-06 0.00% MLMG::MLRhsNormInf() 6 2.288e-06 2.288e-06 2.288e-06 0.00% Gravity::set_mass_offset() 6 2.142e-06 2.142e-06 2.142e-06 0.00% Castro::retry_advance_ctu() 5 2.125e-06 2.125e-06 2.125e-06 0.00% Castro::FluxRegCrseInit 5 1.462e-06 1.462e-06 1.462e-06 0.00% Castro::FluxRegFineAdd() 5 1.366e-06 1.366e-06 1.366e-06 0.00% Amr::init() 1 1.338e-06 1.338e-06 1.338e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.248e-06 1.248e-06 1.248e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4142 0.4142 0.4142 100.00% Amr::coarseTimeStep() 5 0.3342 0.3342 0.3342 80.68% Amr::timeStep() 5 0.3314 0.3314 0.3314 79.99% Castro::advance() 5 0.3257 0.3257 0.3257 78.63% Castro::subcycle_advance_ctu() 5 0.3177 0.3177 0.3177 76.70% Castro::do_advance_ctu() 5 0.3176 0.3176 0.3176 76.67% Castro::construct_ctu_hydro_source() 5 0.147 0.147 0.147 35.49% Castro::construct_new_gravity() 5 0.1333 0.1333 0.1333 32.17% Gravity::solve_phi_with_mlmg() 6 0.1309 0.1309 0.1309 31.60% Gravity::solve_for_phi() 5 0.1253 0.1253 0.1253 30.24% Gravity::actual_solve_with_mlmg() 6 0.1252 0.1252 0.1252 30.22% MLMG::solve() 6 0.1132 0.1132 0.1132 27.33% MLMG::oneIter() 36 0.1058 0.1058 0.1058 25.54% MLMG::mgVcycle() 36 0.1043 0.1043 0.1043 25.17% MLCellLinOp::smooth() 720 0.05062 0.05062 0.05062 12.22% Amr::init() 1 0.05043 0.05043 0.05043 12.17% Amr::restart() 1 0.05042 0.05042 0.05042 12.17% MLCellLinOp::applyBC() 1946 0.04738 0.04738 0.04738 11.44% AmrLevel::restart() 1 0.03917 0.03917 0.03917 9.46% StateData::restartDoit() 4 0.0391 0.0391 0.0391 9.44% VisMF::Read() 3 0.03882 0.03882 0.03882 9.37% MLMG::mgVcycle_bottom 36 0.03278 0.03278 0.03278 7.91% MLMG::actualBottomSolve() 36 0.03276 0.03276 0.03276 7.91% MLCGSolver::bicgstab 36 0.03245 0.03245 0.03245 7.83% Amr::writePlotFile() 1 0.02887 0.02887 0.02887 6.97% Castro::clean_state() 30 0.02754 0.02754 0.02754 6.65% VisMF::Write(FabArray) 1 0.02742 0.02742 0.02742 6.62% AmrLevel::FillPatch() 20 0.02313 0.02313 0.02313 5.58% FillPatchIterator::Initialize 20 0.02107 0.02107 0.02107 5.09% FillPatchIterator::FillFromLevel0() 20 0.02027 0.02027 0.02027 4.89% FillPatchSingleLevel 20 0.02025 0.02025 0.02025 4.89% StateDataPhysBCFunct::() 20 0.01819 0.01819 0.01819 4.39% MLCellLinOp::apply() 500 0.01612 0.01612 0.01612 3.89% MLMG::mgVcycle_down::0 36 0.01447 0.01447 0.01447 3.49% MLPoisson::Fsmooth() 1440 0.01434 0.01434 0.01434 3.46% FabArray::FillBoundary() 1766 0.01346 0.01346 0.01346 3.25% FillBoundary_nowait() 1766 0.01309 0.01309 0.01309 3.16% StateData::FillBoundary(geom) 160 0.01307 0.01307 0.01307 3.16% Castro::initialize_do_advance() 5 0.01092 0.01092 0.01092 2.64% Castro::normalize_species() 30 0.01091 0.01091 0.01091 2.63% MLMG::mgVcycle_up::0 36 0.0109 0.0109 0.0109 2.63% MLCellLinOp::correctionResidual() 216 0.009682 0.009682 0.009682 2.34% Castro::do_old_sources() 5 0.009497 0.009497 0.009497 2.29% MLPoisson::define() 6 0.00946 0.00946 0.00946 2.28% Castro::computeTemp() 30 0.009082 0.009082 0.009082 2.19% amrex::Dot() 484 0.009038 0.009038 0.009038 2.18% MLMG:computeResOfCorrection() 180 0.00852 0.00852 0.00852 2.06% Castro::construct_old_gravity() 5 0.007885 0.007885 0.007885 1.90% Gravity::get_old_grav_vector() 5 0.007878 0.007878 0.007878 1.90% Gravity::get_new_grav_vector() 5 0.007872 0.007872 0.007872 1.90% Castro::initialize_advance() 5 0.007613 0.007613 0.007613 1.84% Castro::do_new_sources() 5 0.007268 0.007268 0.007268 1.75% amrex::Copy() 463 0.007226 0.007226 0.007226 1.74% MLMG::mgVcycle_down::1 36 0.007091 0.007091 0.007091 1.71% FabArray::ParallelCopy() 380 0.006666 0.006666 0.006666 1.61% FabArray::setVal() 537 0.006583 0.006583 0.006583 1.59% FabArray::ParallelCopy_nowait() 380 0.00655 0.00655 0.00655 1.58% MLMG::mgVcycle_down::2 36 0.006516 0.006516 0.006516 1.57% MLCellLinOp::defineAuxData() 6 0.006488 0.006488 0.006488 1.57% FabArray::norminf() 326 0.006438 0.006438 0.006438 1.55% MLMG::mgVcycle_down::3 36 0.006325 0.006325 0.006325 1.53% Castro::post_restart() 1 0.006283 0.006283 0.006283 1.52% MLMG::mgVcycle_down::4 36 0.006225 0.006225 0.006225 1.50% Castro::expand_state() 5 0.005958 0.005958 0.005958 1.44% Gravity::multilevel_solve_for_new_phi() 1 0.005902 0.005902 0.005902 1.42% Gravity::actual_multilevel_solve() 1 0.005886 0.005886 0.005886 1.42% Castro::enforce_min_density() 30 0.005632 0.005632 0.005632 1.36% Gravity::fill_multipole_BCs() 6 0.005617 0.005617 0.005617 1.36% Castro::post_timestep() 5 0.005561 0.005561 0.005561 1.34% MLCGSolver::ParallelAllReduce 659 0.005461 0.005461 0.005461 1.32% MLMG::addInterpCorrection() 180 0.005347 0.005347 0.005347 1.29% MLMG::mgVcycle_up::4 36 0.005074 0.005074 0.005074 1.22% amrex::average_down 180 0.005051 0.005051 0.005051 1.22% MLMG::mgVcycle_up::1 36 0.005046 0.005046 0.005046 1.22% MLMG::mgVcycle_up::2 36 0.004943 0.004943 0.004943 1.19% MLMG::mgVcycle_up::3 36 0.004834 0.004834 0.004834 1.17% MLPoisson::Fapply() 500 0.00461 0.00461 0.00461 1.11% Castro::estTimeStep() 10 0.003814 0.003814 0.003814 0.92% FabArray::Saxpy() 355 0.003766 0.003766 0.003766 0.91% FabArray::Xpay() 361 0.003616 0.003616 0.003616 0.87% MLCellLinOp::solutionResidual() 42 0.003487 0.003487 0.003487 0.84% MLCellLinOp::defineBC() 6 0.002825 0.002825 0.002825 0.68% MLMG::prepareForSolve() 6 0.002755 0.002755 0.002755 0.67% MLMG::computeResidual() 36 0.002726 0.002726 0.002726 0.66% BndryData::define() 6 0.002709 0.002709 0.002709 0.65% Castro::computeNewDt() 5 0.00265 0.00265 0.00265 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002404 0.002404 0.002404 0.58% FabArray::LinComb() 242 0.002293 0.002293 0.002293 0.55% amrex::Add() 72 0.001888 0.001888 0.001888 0.46% Castro::enforce_speed_limit() 30 0.001874 0.001874 0.001874 0.45% Castro::construct_new_source() 25 0.001777 0.001777 0.001777 0.43% Castro::construct_new_gravity_source() 5 0.00175 0.00175 0.00175 0.42% Castro::construct_old_source() 25 0.001543 0.001543 0.001543 0.37% Castro::construct_old_gravity_source() 5 0.001516 0.001516 0.001516 0.37% Castro::finalize_do_advance() 5 0.001256 0.001256 0.001256 0.30% MLMG::ResNormInf() 42 0.0009933 0.0009933 0.0009933 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009853 0.0009853 0.0009853 0.24% Castro::apply_source_to_state() 10 0.0009566 0.0009566 0.0009566 0.23% Castro::reset_internal_energy(Fab) 240 0.0008722 0.0008722 0.0008722 0.21% MLMG::getGradSolution() 6 0.0008641 0.0008641 0.0008641 0.21% MLCellLinOp::compGrad() 6 0.0008606 0.0008606 0.0008606 0.21% FabArrayBase::getCPC() 632 0.0008054 0.0008054 0.0008054 0.19% MLCellLinOp::setLevelBC() 6 0.0007988 0.0007988 0.0007988 0.19% MLMG::computeMLResidual() 6 0.0007797 0.0007797 0.0007797 0.19% Gravity::update_max_rhs() 6 0.0007392 0.0007392 0.0007392 0.18% MLPoisson::prepareForSolve() 6 0.0007126 0.0007126 0.0007126 0.17% MLCellLinOp::prepareForSolve() 6 0.0007082 0.0007082 0.0007082 0.17% FabArray::setDomainBndry() 20 0.0006964 0.0006964 0.0006964 0.17% FabArray::mult() 22 0.0006913 0.0006913 0.0006913 0.17% check_for_negative_density() 5 0.0006784 0.0006784 0.0006784 0.16% Castro::check_for_nan() 10 0.000671 0.000671 0.000671 0.16% MultiFab::contains_nan() 10 0.0006636 0.0006636 0.0006636 0.16% FabArrayBase::CPC::define() 244 0.000431 0.000431 0.000431 0.10% Amr::InitAmr() 1 0.0004309 0.0004309 0.0004309 0.10% FabArrayBase::getFB() 1766 0.0003283 0.0003283 0.0003283 0.08% Castro::finalize_advance() 5 0.0002968 0.0002968 0.0002968 0.07% Gravity::swapTimeLevels() 5 0.0002379 0.0002379 0.0002379 0.06% MultiFab::max() 6 0.000216 0.000216 0.000216 0.05% MLMG::MLResNormInf() 6 0.0001905 0.0001905 0.0001905 0.05% Castro::buildMetrics() 1 0.0001525 0.0001525 0.0001525 0.04% MLLinOp::define() 6 0.0001335 0.0001335 0.0001335 0.03% MLLinOp::defineGrids() 6 0.0001238 0.0001238 0.0001238 0.03% MLMG::MLRhsNormInf() 6 0.0001197 0.0001197 0.0001197 0.03% Castro::create_source_corrector() 5 8.216e-05 8.216e-05 8.216e-05 0.02% FabArrayBase::FB::FB() 26 5.8e-05 5.8e-05 5.8e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.912e-05 2.912e-05 2.912e-05 0.01% Amr::writeSmallPlotFile() 1 2.819e-05 2.819e-05 2.819e-05 0.01% Castro::swap_state_time_levels() 5 2.544e-05 2.544e-05 2.544e-05 0.01% Castro::initMFs() 1 2.431e-05 2.431e-05 2.431e-05 0.01% makeSFC 30 2.177e-05 2.177e-05 2.177e-05 0.01% DistributionMapping::Distribute() 31 1.015e-05 1.015e-05 1.015e-05 0.00% Amr::initSubcycle() 1 9.616e-06 9.616e-06 9.616e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.493e-06 4.493e-06 4.493e-06 0.00% Gravity::set_mass_offset() 6 2.142e-06 2.142e-06 2.142e-06 0.00% Castro::retry_advance_ctu() 5 2.125e-06 2.125e-06 2.125e-06 0.00% Castro::FluxRegCrseInit 5 1.462e-06 1.462e-06 1.462e-06 0.00% Castro::FluxRegFineAdd() 5 1.366e-06 1.366e-06 1.366e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.248e-06 1.248e-06 1.248e-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 201 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 163 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1108 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1956 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6762 KiB 14 MiB MLMG::prepareForSolve() 361 361 3355 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 197 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6748 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3542 B 2048 KiB Gravity::solve_for_phi() 40 40 618 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 198 KiB 671 KiB Castro::estTimeStep() 10 10 4411 B 480 KiB VisMF::Write(FabArray) 112 112 1336 B 320 KiB Castro::normalize_species() 30 30 8577 B 320 KiB amrex::average_down 469 469 1205 B 257 KiB MLMG::addInterpCorrection() 468 468 1109 B 257 KiB amrex::Dot() 592 592 3202 B 160 KiB FabArray::norminf() 398 398 2290 B 160 KiB check_for_negative_density() 5 5 258 B 160 KiB MultiFab::max() 6 6 81 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3253 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 267 B 9648 B MLCellLinOp::applyBC() 3892 3892 213 B 9344 B amrex::Copy() 56 56 5920 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 40 B 2368 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 347 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1206 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 86 KiB 8192 KiB VisMF::Write(FabArray) 120 120 190 KiB 3584 KiB VisMF::Read() 24 24 181 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3253 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 268 B 9648 B MLCellLinOp::applyBC() 1946 1946 212 B 9328 B amrex::Copy() 56 56 5920 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2650 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 40 B 2384 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 519 B 1296 B amrex::average_down 37 37 221 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-22-gb2052f2d2e5c) finalized