Initializing AMReX (24.01-19-g022f97ea9ebb)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-19-g022f97ea9ebb) initialized Starting run at 09:24:53 UTC on 2024-01-22. Successfully read inputs file ... Castro git describe: 24.01-14-g931bec9c2 AMReX git describe: 24.01-19-g022f97ea9 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.045860426 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025458132 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.064451344 [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.072491927 [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.075409281 [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.064646245 [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.065254165 [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.066279186 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.073023479 [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.073898533 [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.059624184 [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.059710666 [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.079137145 [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.044319604 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025464926 seconds Ending run at 09:24:54 UTC on 2024-01-22. Run time = 0.947676271 Run time without initialization = 0.824484888 Average number of zones advanced per microsecond: 3.179 Average number of zones advanced per microsecond per rank: 3.179 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9477 ... 0.9477 ... 0.9477 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3037 0.3037 0.3037 32.05% VisMF::Write(FabArray) 11 0.1783 0.1783 0.1783 18.82% MLCellLinOp::applyBC() 4298 0.07953 0.07953 0.07953 8.39% MLPoisson::Fsmooth() 3240 0.0339 0.0339 0.0339 3.58% FillBoundary_nowait() 3893 0.02999 0.02999 0.02999 3.16% StateData::FillBoundary(geom) 328 0.02685 0.02685 0.02685 2.83% Amr::checkPoint() 3 0.02648 0.02648 0.02648 2.79% amrex::Dot() 1100 0.0213 0.0213 0.0213 2.25% Castro::normalize_species() 62 0.02102 0.02102 0.02102 2.22% FabArray::norminf() 1048 0.01982 0.01982 0.01982 2.09% Castro::computeTemp() 63 0.01865 0.01865 0.01865 1.97% Castro::enforce_min_density() 62 0.01378 0.01378 0.01378 1.45% FabArray::ParallelCopy_nowait() 851 0.01348 0.01348 0.01348 1.42% FabArray::setVal() 1054 0.01317 0.01317 0.01317 1.39% FabArray::Saxpy() 1353 0.01312 0.01312 0.01312 1.38% StateDataPhysBCFunct::() 41 0.01114 0.01114 0.01114 1.18% amrex::Copy() 469 0.01083 0.01083 0.01083 1.14% MLCellLinOp::defineAuxData() 11 0.01066 0.01066 0.01066 1.12% MLPoisson::Fapply() 1047 0.01023 0.01023 0.01023 1.08% Gravity::fill_multipole_BCs() 11 0.008836 0.008836 0.008836 0.93% FabArray::Xpay() 730 0.007761 0.007761 0.007761 0.82% MLMG::addInterpCorrection() 405 0.006949 0.006949 0.006949 0.73% Castro::estTimeStep() 21 0.006533 0.006533 0.006533 0.69% amrex::average_down 405 0.0062 0.0062 0.0062 0.65% Castro::reset_internal_energy(MultiFab) 63 0.005116 0.005116 0.005116 0.54% BndryData::define() 11 0.003947 0.003947 0.003947 0.42% amrex::Add() 81 0.003557 0.003557 0.003557 0.38% Castro::construct_new_gravity_source() 10 0.003481 0.003481 0.003481 0.37% Castro::construct_old_gravity_source() 10 0.00295 0.00295 0.00295 0.31% check_for_negative_density() 10 0.0022 0.0022 0.0022 0.23% Amr::writePlotFile() 2 0.002107 0.002107 0.002107 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001792 0.001792 0.001792 0.19% Castro::reset_internal_energy(Fab) 504 0.001689 0.001689 0.001689 0.18% MLCGSolver::bicgstab 81 0.001664 0.001664 0.001664 0.18% Gravity::actual_solve_with_mlmg() 11 0.00162 0.00162 0.00162 0.17% MLCellLinOp::setLevelBC() 11 0.001603 0.001603 0.001603 0.17% Castro::initData() 1 0.001574 0.001574 0.001574 0.17% Castro::enforce_speed_limit() 62 0.001547 0.001547 0.001547 0.16% FabArray::mult() 43 0.001365 0.001365 0.001365 0.14% FabArray::setDomainBndry() 41 0.001357 0.001357 0.001357 0.14% MLCellLinOp::prepareForSolve() 11 0.001351 0.001351 0.001351 0.14% MultiFab::contains_nan() 20 0.001283 0.001283 0.001283 0.14% MLCellLinOp::smooth() 1620 0.001163 0.001163 0.001163 0.12% MLCellLinOp::compGrad() 11 0.001081 0.001081 0.001081 0.11% MLMG::prepareForSolve() 11 0.0009986 0.0009986 0.0009986 0.11% FabArray::FillBoundary() 3893 0.0008929 0.0008929 0.0008929 0.09% FabArrayBase::getCPC() 1313 0.0007505 0.0007505 0.0007505 0.08% FabArrayBase::CPC::define() 454 0.0006808 0.0006808 0.0006808 0.07% FabArrayBase::getFB() 3893 0.0006422 0.0006422 0.0006422 0.07% Gravity::get_new_grav_vector() 11 0.0006021 0.0006021 0.0006021 0.06% Amr::InitAmr() 1 0.000556 0.000556 0.000556 0.06% Gravity::get_old_grav_vector() 10 0.0004818 0.0004818 0.0004818 0.05% MLCellLinOp::apply() 1047 0.0004446 0.0004446 0.0004446 0.05% Amr::coarseTimeStep() 10 0.0004366 0.0004366 0.0004366 0.05% AmrLevel::FillPatch() 41 0.0004138 0.0004138 0.0004138 0.04% MultiFab::max() 11 0.0003365 0.0003365 0.0003365 0.04% MLCGSolver::ParallelAllReduce 1809 0.0003352 0.0003352 0.0003352 0.04% main() 1 0.0002984 0.0002984 0.0002984 0.03% MLCellLinOp::defineBC() 11 0.0002852 0.0002852 0.0002852 0.03% FabArray::ParallelCopy() 851 0.0002355 0.0002355 0.0002355 0.02% FillPatchIterator::Initialize 41 0.0002146 0.0002146 0.0002146 0.02% MLMG::mgVcycle() 81 0.0002047 0.0002047 0.0002047 0.02% MLLinOp::defineGrids() 11 0.0001834 0.0001834 0.0001834 0.02% MLCellLinOp::correctionResidual() 405 0.0001783 0.0001783 0.0001783 0.02% Castro::construct_new_source() 50 0.0001762 0.0001762 0.0001762 0.02% Amr::timeStep() 10 0.0001718 0.0001718 0.0001718 0.02% Castro::create_source_corrector() 10 0.000168 0.000168 0.000168 0.02% Castro::subcycle_advance_ctu() 10 0.0001647 0.0001647 0.0001647 0.02% Gravity::update_max_rhs() 11 0.0001354 0.0001354 0.0001354 0.01% StateData::checkPoint() 12 0.0001344 0.0001344 0.0001344 0.01% Gravity::solve_for_phi() 10 0.000128 0.000128 0.000128 0.01% MLMG:computeResOfCorrection() 405 0.0001146 0.0001146 0.0001146 0.01% Castro::advance() 10 0.0001105 0.0001105 0.0001105 0.01% MLMG::mgVcycle_down::0 81 9.361e-05 9.361e-05 9.361e-05 0.01% FabArrayBase::FB::FB() 56 9.22e-05 9.22e-05 9.22e-05 0.01% Castro::Castro() 1 9.081e-05 9.081e-05 9.081e-05 0.01% MLMG::actualBottomSolve() 81 8.617e-05 8.617e-05 8.617e-05 0.01% Castro::enforce_consistent_e() 1 8.423e-05 8.423e-05 8.423e-05 0.01% Castro::clean_state() 62 7.965e-05 7.965e-05 7.965e-05 0.01% Castro::initialize_advance() 10 7.946e-05 7.946e-05 7.946e-05 0.01% MLMG::mgVcycle_down::1 81 7.885e-05 7.885e-05 7.885e-05 0.01% AmrLevel::checkPoint() 3 7.777e-05 7.777e-05 7.777e-05 0.01% MLMG::mgVcycle_down::2 81 7.706e-05 7.706e-05 7.706e-05 0.01% MLMG::solve() 11 7.376e-05 7.376e-05 7.376e-05 0.01% MLMG::mgVcycle_down::4 81 7.215e-05 7.215e-05 7.215e-05 0.01% MLMG::mgVcycle_down::3 81 7.005e-05 7.005e-05 7.005e-05 0.01% Castro::finalize_advance() 10 6.376e-05 6.376e-05 6.376e-05 0.01% Castro::initialize_do_advance() 10 6.245e-05 6.245e-05 6.245e-05 0.01% MLMG::mgVcycle_up::4 81 5.822e-05 5.822e-05 5.822e-05 0.01% MLMG::oneIter() 81 5.242e-05 5.242e-05 5.242e-05 0.01% MLMG::mgVcycle_up::0 81 5.204e-05 5.204e-05 5.204e-05 0.01% Castro::do_advance_ctu() 10 5.138e-05 5.138e-05 5.138e-05 0.01% MLCellLinOp::solutionResidual() 92 5.112e-05 5.112e-05 5.112e-05 0.01% FillPatchIterator::FillFromLevel0() 41 5.108e-05 5.108e-05 5.108e-05 0.01% MLMG::mgVcycle_up::3 81 4.906e-05 4.906e-05 4.906e-05 0.01% MLMG::mgVcycle_up::1 81 4.812e-05 4.812e-05 4.812e-05 0.01% MLMG::mgVcycle_up::2 81 4.685e-05 4.685e-05 4.685e-05 0.00% Castro::do_new_sources() 10 4.393e-05 4.393e-05 4.393e-05 0.00% Castro::finalize_do_advance() 10 4.372e-05 4.372e-05 4.372e-05 0.00% StateData::define() 4 3.99e-05 3.99e-05 3.99e-05 0.00% Castro::swap_state_time_levels() 10 3.753e-05 3.753e-05 3.753e-05 0.00% MLMG::ResNormInf() 92 3.615e-05 3.615e-05 3.615e-05 0.00% FillPatchSingleLevel 41 3.501e-05 3.501e-05 3.501e-05 0.00% MLMG::computeResidual() 81 3.167e-05 3.167e-05 3.167e-05 0.00% Amr::writeSmallPlotFile() 1 3.157e-05 3.157e-05 3.157e-05 0.00% Castro::construct_new_gravity() 10 3.146e-05 3.146e-05 3.146e-05 0.00% MLMG::mgVcycle_bottom 81 3.007e-05 3.007e-05 3.007e-05 0.00% Castro::initMFs() 1 2.858e-05 2.858e-05 2.858e-05 0.00% makeSFC 55 2.625e-05 2.625e-05 2.625e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.58e-05 2.58e-05 2.58e-05 0.00% Amr::defBaseLevel() 1 2.487e-05 2.487e-05 2.487e-05 0.00% Castro::buildMetrics() 1 2.464e-05 2.464e-05 2.464e-05 0.00% Castro::do_old_sources() 10 2.229e-05 2.229e-05 2.229e-05 0.00% MLPoisson::define() 11 2.208e-05 2.208e-05 2.208e-05 0.00% Amr::FinalizeInit() 1 2.004e-05 2.004e-05 2.004e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.902e-05 1.902e-05 1.902e-05 0.00% Castro::construct_old_source() 50 1.858e-05 1.858e-05 1.858e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.82e-05 1.82e-05 1.82e-05 0.00% DistributionMapping::Distribute() 56 1.779e-05 1.779e-05 1.779e-05 0.00% MLLinOp::define() 11 1.578e-05 1.578e-05 1.578e-05 0.00% MLMG::computeMLResidual() 11 1.504e-05 1.504e-05 1.504e-05 0.00% MLPoisson::prepareForSolve() 11 1.45e-05 1.45e-05 1.45e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.425e-05 1.425e-05 1.425e-05 0.00% Castro::check_for_nan() 20 1.311e-05 1.311e-05 1.311e-05 0.00% Castro::construct_old_gravity() 10 1.209e-05 1.209e-05 1.209e-05 0.00% Castro::apply_source_to_state() 20 1.17e-05 1.17e-05 1.17e-05 0.00% Castro::post_init() 1 1.118e-05 1.118e-05 1.118e-05 0.00% Gravity::swapTimeLevels() 10 9.257e-06 9.257e-06 9.257e-06 0.00% Amr::initSubcycle() 1 9.251e-06 9.251e-06 9.251e-06 0.00% Castro::post_timestep() 10 8.898e-06 8.898e-06 8.898e-06 0.00% Gravity::actual_multilevel_solve() 1 8.371e-06 8.371e-06 8.371e-06 0.00% Castro::computeNewDt() 9 6.729e-06 6.729e-06 6.729e-06 0.00% MLMG::getGradSolution() 11 6.247e-06 6.247e-06 6.247e-06 0.00% AmrLevel::checkPointPost() 3 5.528e-06 5.528e-06 5.528e-06 0.00% Castro::expand_state() 10 5.468e-06 5.468e-06 5.468e-06 0.00% Amr::InitializeInit() 1 5.015e-06 5.015e-06 5.015e-06 0.00% Gravity::set_mass_offset() 11 4.418e-06 4.418e-06 4.418e-06 0.00% Castro::retry_advance_ctu() 10 4.194e-06 4.194e-06 4.194e-06 0.00% MLMG::MLRhsNormInf() 11 4.173e-06 4.173e-06 4.173e-06 0.00% MLMG::MLResNormInf() 11 3.602e-06 3.602e-06 3.602e-06 0.00% Castro::FluxRegCrseInit 10 3.345e-06 3.345e-06 3.345e-06 0.00% Castro::computeInitialDt() 2 2.996e-06 2.996e-06 2.996e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.735e-06 2.735e-06 2.735e-06 0.00% Castro::FluxRegFineAdd() 10 2.491e-06 2.491e-06 2.491e-06 0.00% Amr::init() 1 2.485e-06 2.485e-06 2.485e-06 0.00% AmrLevel::checkPointPre() 3 2.23e-06 2.23e-06 2.23e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.08e-06 2.08e-06 2.08e-06 0.00% Castro::post_regrid() 1 1.268e-06 1.268e-06 1.268e-06 0.00% Amr::initialInit() 1 1.098e-06 1.098e-06 1.098e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9477 0.9477 0.9477 100.00% Amr::coarseTimeStep() 10 0.7988 0.7988 0.7988 84.29% Amr::timeStep() 10 0.6841 0.6841 0.6841 72.18% Castro::advance() 10 0.6727 0.6727 0.6727 70.98% Castro::subcycle_advance_ctu() 10 0.659 0.659 0.659 69.54% Castro::do_advance_ctu() 10 0.6588 0.6588 0.6588 69.52% Castro::construct_ctu_hydro_source() 10 0.3157 0.3157 0.3157 33.31% Gravity::solve_phi_with_mlmg() 11 0.2921 0.2921 0.2921 30.82% Gravity::actual_solve_with_mlmg() 11 0.2828 0.2828 0.2828 29.84% Castro::construct_new_gravity() 10 0.2665 0.2665 0.2665 28.12% MLMG::solve() 11 0.2604 0.2604 0.2604 27.47% Gravity::solve_for_phi() 10 0.2505 0.2505 0.2505 26.43% MLMG::oneIter() 81 0.245 0.245 0.245 25.85% MLMG::mgVcycle() 81 0.2414 0.2414 0.2414 25.47% VisMF::Write(FabArray) 11 0.1783 0.1783 0.1783 18.82% Amr::checkPoint() 3 0.1566 0.1566 0.1566 16.53% AmrLevel::checkPoint() 3 0.1301 0.1301 0.1301 13.73% StateData::checkPoint() 12 0.1301 0.1301 0.1301 13.72% Amr::init() 1 0.1225 0.1225 0.1225 12.93% MLCellLinOp::smooth() 1620 0.1205 0.1205 0.1205 12.72% MLCellLinOp::applyBC() 4298 0.1112 0.1112 0.1112 11.73% MLMG::mgVcycle_bottom 81 0.07246 0.07246 0.07246 7.65% MLMG::actualBottomSolve() 81 0.07243 0.07243 0.07243 7.64% MLCGSolver::bicgstab 81 0.07169 0.07169 0.07169 7.57% Castro::clean_state() 62 0.06093 0.06093 0.06093 6.43% Amr::initialInit() 1 0.05107 0.05107 0.05107 5.39% Amr::writePlotFile() 2 0.05104 0.05104 0.05104 5.39% AmrLevel::FillPatch() 41 0.04797 0.04797 0.04797 5.06% Amr::FinalizeInit() 1 0.04577 0.04577 0.04577 4.83% Castro::post_init() 1 0.04457 0.04457 0.04457 4.70% FillPatchIterator::Initialize 41 0.04367 0.04367 0.04367 4.61% Gravity::multilevel_solve_for_new_phi() 1 0.0421 0.0421 0.0421 4.44% FillPatchIterator::FillFromLevel0() 41 0.04209 0.04209 0.04209 4.44% Gravity::actual_multilevel_solve() 1 0.04208 0.04208 0.04208 4.44% FillPatchSingleLevel 41 0.04204 0.04204 0.04204 4.44% StateDataPhysBCFunct::() 41 0.03798 0.03798 0.03798 4.01% MLCellLinOp::apply() 1047 0.03584 0.03584 0.03584 3.78% MLMG::mgVcycle_down::0 81 0.03401 0.03401 0.03401 3.59% MLPoisson::Fsmooth() 3240 0.0339 0.0339 0.0339 3.58% FabArray::FillBoundary() 3893 0.03162 0.03162 0.03162 3.34% FillBoundary_nowait() 3893 0.03073 0.03073 0.03073 3.24% StateData::FillBoundary(geom) 328 0.02685 0.02685 0.02685 2.83% MLMG::mgVcycle_up::0 81 0.02564 0.02564 0.02564 2.71% Castro::computeTemp() 63 0.02546 0.02546 0.02546 2.69% Castro::initialize_do_advance() 10 0.022 0.022 0.022 2.32% amrex::Dot() 1100 0.0213 0.0213 0.0213 2.25% Castro::normalize_species() 62 0.02102 0.02102 0.02102 2.22% Castro::do_old_sources() 10 0.02033 0.02033 0.02033 2.14% MLMG:computeResOfCorrection() 405 0.02019 0.02019 0.02019 2.13% MLCellLinOp::correctionResidual() 405 0.02008 0.02008 0.02008 2.12% FabArray::norminf() 1048 0.01982 0.01982 0.01982 2.09% Gravity::get_new_grav_vector() 11 0.01801 0.01801 0.01801 1.90% MLPoisson::define() 11 0.01763 0.01763 0.01763 1.86% MLMG::mgVcycle_down::1 81 0.01661 0.01661 0.01661 1.75% Castro::do_new_sources() 10 0.01562 0.01562 0.01562 1.65% MLMG::mgVcycle_down::2 81 0.01541 0.01541 0.01541 1.63% Castro::construct_old_gravity() 10 0.01516 0.01516 0.01516 1.60% Gravity::get_old_grav_vector() 10 0.01514 0.01514 0.01514 1.60% MLMG::mgVcycle_down::3 81 0.01507 0.01507 0.01507 1.59% MLMG::mgVcycle_down::4 81 0.0149 0.0149 0.0149 1.57% FabArray::ParallelCopy() 851 0.01449 0.01449 0.01449 1.53% FabArray::ParallelCopy_nowait() 851 0.01425 0.01425 0.01425 1.50% Castro::enforce_min_density() 62 0.01378 0.01378 0.01378 1.45% FabArray::setVal() 1054 0.01317 0.01317 0.01317 1.39% FabArray::Saxpy() 1353 0.01312 0.01312 0.01312 1.38% Castro::initialize_advance() 10 0.01298 0.01298 0.01298 1.37% MLCGSolver::ParallelAllReduce 1809 0.0128 0.0128 0.0128 1.35% MLMG::addInterpCorrection() 405 0.01216 0.01216 0.01216 1.28% MLCellLinOp::defineAuxData() 11 0.01209 0.01209 0.01209 1.28% MLMG::mgVcycle_up::1 81 0.012 0.012 0.012 1.27% Castro::expand_state() 10 0.01193 0.01193 0.01193 1.26% MLMG::mgVcycle_up::4 81 0.01187 0.01187 0.01187 1.25% MLMG::mgVcycle_up::2 81 0.01179 0.01179 0.01179 1.24% MLMG::mgVcycle_up::3 81 0.01145 0.01145 0.01145 1.21% amrex::average_down 405 0.01145 0.01145 0.01145 1.21% Castro::post_timestep() 10 0.01122 0.01122 0.01122 1.18% amrex::Copy() 469 0.01083 0.01083 0.01083 1.14% MLPoisson::Fapply() 1047 0.01023 0.01023 0.01023 1.08% Gravity::fill_multipole_BCs() 11 0.009071 0.009071 0.009071 0.96% FabArray::Xpay() 730 0.007761 0.007761 0.007761 0.82% MLCellLinOp::solutionResidual() 92 0.007591 0.007591 0.007591 0.80% Castro::reset_internal_energy(MultiFab) 63 0.006805 0.006805 0.006805 0.72% Castro::estTimeStep() 21 0.006533 0.006533 0.006533 0.69% MLMG::computeResidual() 81 0.00628 0.00628 0.00628 0.66% Amr::InitializeInit() 1 0.005295 0.005295 0.005295 0.56% Amr::defBaseLevel() 1 0.00529 0.00529 0.00529 0.56% MLCellLinOp::defineBC() 11 0.005258 0.005258 0.005258 0.55% MLMG::prepareForSolve() 11 0.005239 0.005239 0.005239 0.55% BndryData::define() 11 0.004973 0.004973 0.004973 0.52% Castro::initData() 1 0.00462 0.00462 0.00462 0.49% Castro::construct_new_source() 50 0.003658 0.003658 0.003658 0.39% amrex::Add() 81 0.003557 0.003557 0.003557 0.38% Castro::construct_new_gravity_source() 10 0.003481 0.003481 0.003481 0.37% Castro::construct_old_source() 50 0.002968 0.002968 0.002968 0.31% Castro::construct_old_gravity_source() 10 0.00295 0.00295 0.00295 0.31% Castro::computeNewDt() 9 0.002762 0.002762 0.002762 0.29% Castro::finalize_do_advance() 10 0.00263 0.00263 0.00263 0.28% check_for_negative_density() 10 0.0022 0.0022 0.0022 0.23% MLMG::ResNormInf() 92 0.002168 0.002168 0.002168 0.23% Castro::apply_source_to_state() 20 0.001875 0.001875 0.001875 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001792 0.001792 0.001792 0.19% Castro::reset_internal_energy(Fab) 504 0.001689 0.001689 0.001689 0.18% MLCellLinOp::setLevelBC() 11 0.001603 0.001603 0.001603 0.17% MLMG::getGradSolution() 11 0.001585 0.001585 0.001585 0.17% MLCellLinOp::compGrad() 11 0.001579 0.001579 0.001579 0.17% Castro::enforce_speed_limit() 62 0.001547 0.001547 0.001547 0.16% FabArrayBase::getCPC() 1313 0.001431 0.001431 0.001431 0.15% FabArray::mult() 43 0.001365 0.001365 0.001365 0.14% MLPoisson::prepareForSolve() 11 0.001365 0.001365 0.001365 0.14% MLMG::computeMLResidual() 11 0.001357 0.001357 0.001357 0.14% FabArray::setDomainBndry() 41 0.001357 0.001357 0.001357 0.14% MLCellLinOp::prepareForSolve() 11 0.001351 0.001351 0.001351 0.14% Castro::check_for_nan() 20 0.001296 0.001296 0.001296 0.14% MultiFab::contains_nan() 20 0.001283 0.001283 0.001283 0.14% Castro::computeInitialDt() 2 0.001195 0.001195 0.001195 0.13% Gravity::update_max_rhs() 11 0.0009998 0.0009998 0.0009998 0.11% Castro::post_regrid() 1 0.0007845 0.0007845 0.0007845 0.08% FabArrayBase::getFB() 3893 0.0007344 0.0007344 0.0007344 0.08% FabArrayBase::CPC::define() 454 0.0006808 0.0006808 0.0006808 0.07% Castro::finalize_advance() 10 0.0005955 0.0005955 0.0005955 0.06% Castro::Castro() 1 0.0005818 0.0005818 0.0005818 0.06% Amr::InitAmr() 1 0.0005652 0.0005652 0.0005652 0.06% Gravity::swapTimeLevels() 10 0.0004473 0.0004473 0.0004473 0.05% MultiFab::max() 11 0.0003365 0.0003365 0.0003365 0.04% MLMG::MLResNormInf() 11 0.0003348 0.0003348 0.0003348 0.04% Castro::buildMetrics() 1 0.0002911 0.0002911 0.0002911 0.03% MLLinOp::define() 11 0.0002584 0.0002584 0.0002584 0.03% MLLinOp::defineGrids() 11 0.0002426 0.0002426 0.0002426 0.03% MLMG::MLRhsNormInf() 11 0.0002246 0.0002246 0.0002246 0.02% Castro::create_source_corrector() 10 0.000168 0.000168 0.000168 0.02% FabArrayBase::FB::FB() 56 9.22e-05 9.22e-05 9.22e-05 0.01% Castro::enforce_consistent_e() 1 8.423e-05 8.423e-05 8.423e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.892e-05 5.892e-05 5.892e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.715e-05 5.715e-05 5.715e-05 0.01% makeSFC 55 4.289e-05 4.289e-05 4.289e-05 0.00% StateData::define() 4 3.99e-05 3.99e-05 3.99e-05 0.00% Castro::swap_state_time_levels() 10 3.753e-05 3.753e-05 3.753e-05 0.00% Amr::writeSmallPlotFile() 1 3.157e-05 3.157e-05 3.157e-05 0.00% Castro::initMFs() 1 2.858e-05 2.858e-05 2.858e-05 0.00% DistributionMapping::Distribute() 56 1.779e-05 1.779e-05 1.779e-05 0.00% Amr::initSubcycle() 1 9.251e-06 9.251e-06 9.251e-06 0.00% AmrLevel::checkPointPost() 3 5.528e-06 5.528e-06 5.528e-06 0.00% Gravity::set_mass_offset() 11 4.418e-06 4.418e-06 4.418e-06 0.00% Castro::retry_advance_ctu() 10 4.194e-06 4.194e-06 4.194e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.876e-06 3.876e-06 3.876e-06 0.00% Castro::FluxRegCrseInit 10 3.345e-06 3.345e-06 3.345e-06 0.00% Castro::FluxRegFineAdd() 10 2.491e-06 2.491e-06 2.491e-06 0.00% AmrLevel::checkPointPre() 3 2.23e-06 2.23e-06 2.23e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.08e-06 2.08e-06 2.08e-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 108 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 986 KiB 39 MiB Castro::initialize_do_advance() 80 80 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1504 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3378 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 197 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 163 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7519 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2034 B 2048 KiB Gravity::solve_for_phi() 80 80 540 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 90 KiB 2048 KiB BndryData::define() 1056 1056 309 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 197 KiB 671 KiB Castro::estTimeStep() 21 21 3363 B 480 KiB VisMF::Write(FabArray) 656 656 3266 B 320 KiB Castro::normalize_species() 62 62 7221 B 320 KiB amrex::average_down 1054 1054 1206 B 257 KiB MLMG::addInterpCorrection() 1053 1053 1088 B 257 KiB amrex::Dot() 1343 1343 3316 B 160 KiB FabArray::norminf() 1129 1129 3227 B 160 KiB check_for_negative_density() 10 10 367 B 160 KiB Castro::initData() 1 1 53 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 3296 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 277 B 9648 B MLCellLinOp::applyBC() 8596 8596 208 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3923 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 348 B 1248 B MLCGSolver::bicgstab 405 405 91 B 1216 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 39 KiB 8192 KiB VisMF::Write(FabArray) 744 744 411 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3296 B 12 KiB FabArray::ParallelCopy_nowait() 851 851 42 B 10 KiB FillBoundary_nowait() 751 751 277 B 9648 B MLCellLinOp::applyBC() 4298 4298 207 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3923 B 6144 B Gravity::get_new_grav_vector() 3 3 2908 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 82 82 271 B 1296 B MLMG::addInterpCorrection() 81 81 2 B 1024 B MLMG::prepareForSolve() 11 11 281 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1343 1343 24 B 400 B FabArray::norminf() 1129 1129 9 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-19-g022f97ea9ebb) finalized Initializing AMReX (24.01-19-g022f97ea9ebb)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.01-19-g022f97ea9ebb) initialized Starting run at 09:24:55 UTC on 2024-01-22. Successfully read inputs file ... Castro git describe: 24.01-14-g931bec9c2 AMReX git describe: 24.01-19-g022f97ea9 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.531808112 Restart time = 0.073521429 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.06964178 [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.047872417 [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.07473058 [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.075492982 [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.066066193 [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.036405294 seconds Ending run at 09:24:55 UTC on 2024-01-22. Run time = 0.444986558 Run time without initialization = 0.370746553 Average number of zones advanced per microsecond: 3.535 Average number of zones advanced per microsecond per rank: 3.535 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.445 ... 0.445 ... 0.445 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1404 0.1404 0.1404 31.55% VisMF::Read() 3 0.06182 0.06182 0.06182 13.89% MLCellLinOp::applyBC() 1910 0.03524 0.03524 0.03524 7.92% VisMF::Write(FabArray) 1 0.03367 0.03367 0.03367 7.56% MLPoisson::Fsmooth() 1440 0.01484 0.01484 0.01484 3.33% StateData::FillBoundary(geom) 160 0.01307 0.01307 0.01307 2.94% FillBoundary_nowait() 1730 0.01284 0.01284 0.01284 2.88% Castro::normalize_species() 30 0.01017 0.01017 0.01017 2.28% amrex::Dot() 484 0.009298 0.009298 0.009298 2.09% FabArray::norminf() 465 0.008938 0.008938 0.008938 2.01% Castro::computeTemp() 30 0.008298 0.008298 0.008298 1.86% FabArray::setVal() 501 0.006462 0.006462 0.006462 1.45% Castro::enforce_min_density() 30 0.006391 0.006391 0.006391 1.44% FabArray::ParallelCopy_nowait() 380 0.006149 0.006149 0.006149 1.38% FabArray::Saxpy() 597 0.005873 0.005873 0.005873 1.32% MLCellLinOp::defineAuxData() 6 0.005745 0.005745 0.005745 1.29% amrex::Copy() 221 0.005411 0.005411 0.005411 1.22% Gravity::fill_multipole_BCs() 6 0.005406 0.005406 0.005406 1.21% StateDataPhysBCFunct::() 20 0.00508 0.00508 0.00508 1.14% Amr::restart() 1 0.004855 0.004855 0.004855 1.09% MLPoisson::Fapply() 464 0.004492 0.004492 0.004492 1.01% FabArray::Xpay() 325 0.003457 0.003457 0.003457 0.78% MLMG::addInterpCorrection() 180 0.003145 0.003145 0.003145 0.71% Castro::estTimeStep() 10 0.00287 0.00287 0.00287 0.64% amrex::average_down 180 0.002777 0.002777 0.002777 0.62% Amr::writePlotFile() 1 0.002574 0.002574 0.002574 0.58% BndryData::define() 6 0.002138 0.002138 0.002138 0.48% Castro::construct_new_gravity_source() 5 0.001841 0.001841 0.001841 0.41% Castro::reset_internal_energy(MultiFab) 30 0.001546 0.001546 0.001546 0.35% amrex::Add() 36 0.001533 0.001533 0.001533 0.34% Castro::construct_old_gravity_source() 5 0.001498 0.001498 0.001498 0.34% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009625 0.0009625 0.0009625 0.22% check_for_negative_density() 5 0.0009542 0.0009542 0.0009542 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008806 0.0008806 0.0008806 0.20% MLCellLinOp::setLevelBC() 6 0.000878 0.000878 0.000878 0.20% Castro::enforce_speed_limit() 30 0.000865 0.000865 0.000865 0.19% Castro::reset_internal_energy(Fab) 240 0.0008274 0.0008274 0.0008274 0.19% MLCellLinOp::prepareForSolve() 6 0.0007679 0.0007679 0.0007679 0.17% MLCGSolver::bicgstab 36 0.0007422 0.0007422 0.0007422 0.17% FabArray::mult() 22 0.0006898 0.0006898 0.0006898 0.15% FabArray::setDomainBndry() 20 0.0006884 0.0006884 0.0006884 0.15% MultiFab::contains_nan() 10 0.0006633 0.0006633 0.0006633 0.15% MLCellLinOp::compGrad() 6 0.0005935 0.0005935 0.0005935 0.13% MLMG::prepareForSolve() 6 0.0005702 0.0005702 0.0005702 0.13% MLCellLinOp::smooth() 720 0.0005453 0.0005453 0.0005453 0.12% Amr::InitAmr() 1 0.0005199 0.0005199 0.0005199 0.12% FabArrayBase::CPC::define() 244 0.0004406 0.0004406 0.0004406 0.10% FabArray::FillBoundary() 1730 0.0003932 0.0003932 0.0003932 0.09% FabArrayBase::getCPC() 632 0.0003733 0.0003733 0.0003733 0.08% main() 1 0.0003521 0.0003521 0.0003521 0.08% Gravity::get_old_grav_vector() 5 0.0003413 0.0003413 0.0003413 0.08% Gravity::get_new_grav_vector() 5 0.0002873 0.0002873 0.0002873 0.06% FabArrayBase::getFB() 1730 0.0002746 0.0002746 0.0002746 0.06% MultiFab::max() 6 0.0002167 0.0002167 0.0002167 0.05% Amr::coarseTimeStep() 5 0.000207 0.000207 0.000207 0.05% AmrLevel::FillPatch() 20 0.0001977 0.0001977 0.0001977 0.04% MLCellLinOp::apply() 464 0.0001975 0.0001975 0.0001975 0.04% MLCellLinOp::defineBC() 6 0.0001561 0.0001561 0.0001561 0.04% MLCGSolver::ParallelAllReduce 798 0.0001486 0.0001486 0.0001486 0.03% FabArray::ParallelCopy() 380 0.0001113 0.0001113 0.0001113 0.03% Castro::subcycle_advance_ctu() 5 0.0001084 0.0001084 0.0001084 0.02% FillPatchIterator::Initialize 20 0.0001059 0.0001059 0.0001059 0.02% Castro::create_source_corrector() 5 0.0001017 0.0001017 0.0001017 0.02% MLLinOp::defineGrids() 6 9.845e-05 9.845e-05 9.845e-05 0.02% MLMG::mgVcycle() 36 9.037e-05 9.037e-05 9.037e-05 0.02% Amr::timeStep() 5 8.966e-05 8.966e-05 8.966e-05 0.02% AmrLevel::restart() 1 7.984e-05 7.984e-05 7.984e-05 0.02% Gravity::update_max_rhs() 6 7.876e-05 7.876e-05 7.876e-05 0.02% MLCellLinOp::correctionResidual() 180 7.677e-05 7.677e-05 7.677e-05 0.02% StateData::restartDoit() 4 7.004e-05 7.004e-05 7.004e-05 0.02% FabArrayBase::FB::FB() 26 6.091e-05 6.091e-05 6.091e-05 0.01% Castro::construct_new_source() 25 5.585e-05 5.585e-05 5.585e-05 0.01% Gravity::solve_for_phi() 5 5.507e-05 5.507e-05 5.507e-05 0.01% Castro::advance() 5 5.446e-05 5.446e-05 5.446e-05 0.01% Castro::post_timestep() 5 5.209e-05 5.209e-05 5.209e-05 0.01% MLMG:computeResOfCorrection() 180 5.076e-05 5.076e-05 5.076e-05 0.01% MLMG::mgVcycle_down::0 36 4.684e-05 4.684e-05 4.684e-05 0.01% Castro::do_advance_ctu() 5 4.423e-05 4.423e-05 4.423e-05 0.01% Castro::finalize_do_advance() 5 4.171e-05 4.171e-05 4.171e-05 0.01% MLMG::actualBottomSolve() 36 4.167e-05 4.167e-05 4.167e-05 0.01% Castro::initialize_advance() 5 3.734e-05 3.734e-05 3.734e-05 0.01% MLMG::mgVcycle_down::4 36 3.6e-05 3.6e-05 3.6e-05 0.01% MLMG::mgVcycle_down::1 36 3.498e-05 3.498e-05 3.498e-05 0.01% MLMG::solve() 6 3.419e-05 3.419e-05 3.419e-05 0.01% Castro::clean_state() 30 3.386e-05 3.386e-05 3.386e-05 0.01% MLMG::mgVcycle_down::2 36 3.271e-05 3.271e-05 3.271e-05 0.01% Amr::writeSmallPlotFile() 1 3.211e-05 3.211e-05 3.211e-05 0.01% MLMG::mgVcycle_down::3 36 3.151e-05 3.151e-05 3.151e-05 0.01% Castro::initialize_do_advance() 5 3.127e-05 3.127e-05 3.127e-05 0.01% Castro::finalize_advance() 5 3.023e-05 3.023e-05 3.023e-05 0.01% Castro::post_restart() 1 2.983e-05 2.983e-05 2.983e-05 0.01% Castro::buildMetrics() 1 2.952e-05 2.952e-05 2.952e-05 0.01% Castro::construct_old_source() 25 2.783e-05 2.783e-05 2.783e-05 0.01% MLMG::mgVcycle_up::4 36 2.744e-05 2.744e-05 2.744e-05 0.01% Castro::initMFs() 1 2.501e-05 2.501e-05 2.501e-05 0.01% Castro::swap_state_time_levels() 5 2.448e-05 2.448e-05 2.448e-05 0.01% MLMG::oneIter() 36 2.416e-05 2.416e-05 2.416e-05 0.01% MLCellLinOp::solutionResidual() 42 2.364e-05 2.364e-05 2.364e-05 0.01% MLMG::mgVcycle_up::0 36 2.349e-05 2.349e-05 2.349e-05 0.01% MLMG::mgVcycle_up::3 36 2.274e-05 2.274e-05 2.274e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.249e-05 2.249e-05 2.249e-05 0.01% MLMG::mgVcycle_up::2 36 2.154e-05 2.154e-05 2.154e-05 0.00% MLMG::mgVcycle_up::1 36 2.048e-05 2.048e-05 2.048e-05 0.00% FillPatchSingleLevel 20 1.997e-05 1.997e-05 1.997e-05 0.00% MLMG::ResNormInf() 42 1.955e-05 1.955e-05 1.955e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.769e-05 1.769e-05 1.769e-05 0.00% MLPoisson::define() 6 1.614e-05 1.614e-05 1.614e-05 0.00% MLMG::computeResidual() 36 1.475e-05 1.475e-05 1.475e-05 0.00% makeSFC 30 1.473e-05 1.473e-05 1.473e-05 0.00% Castro::construct_new_gravity() 5 1.456e-05 1.456e-05 1.456e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.432e-05 1.432e-05 1.432e-05 0.00% MLMG::mgVcycle_bottom 36 1.384e-05 1.384e-05 1.384e-05 0.00% Castro::do_old_sources() 5 1.202e-05 1.202e-05 1.202e-05 0.00% Castro::do_new_sources() 5 1.091e-05 1.091e-05 1.091e-05 0.00% MLPoisson::prepareForSolve() 6 1.051e-05 1.051e-05 1.051e-05 0.00% MLMG::computeMLResidual() 6 9.707e-06 9.707e-06 9.707e-06 0.00% DistributionMapping::Distribute() 31 9.378e-06 9.378e-06 9.378e-06 0.00% Amr::initSubcycle() 1 9.138e-06 9.138e-06 9.138e-06 0.00% Gravity::actual_multilevel_solve() 1 8.504e-06 8.504e-06 8.504e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.524e-06 7.524e-06 7.524e-06 0.00% Castro::construct_old_gravity() 5 6.622e-06 6.622e-06 6.622e-06 0.00% MLLinOp::define() 6 6.455e-06 6.455e-06 6.455e-06 0.00% Castro::check_for_nan() 10 6.193e-06 6.193e-06 6.193e-06 0.00% Castro::apply_source_to_state() 10 5.923e-06 5.923e-06 5.923e-06 0.00% Gravity::swapTimeLevels() 5 4.244e-06 4.244e-06 4.244e-06 0.00% Castro::computeNewDt() 5 3.45e-06 3.45e-06 3.45e-06 0.00% MLMG::getGradSolution() 6 3.3e-06 3.3e-06 3.3e-06 0.00% Castro::expand_state() 5 3.275e-06 3.275e-06 3.275e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.177e-06 3.177e-06 3.177e-06 0.00% MLMG::MLResNormInf() 6 2.487e-06 2.487e-06 2.487e-06 0.00% MLMG::MLRhsNormInf() 6 2.254e-06 2.254e-06 2.254e-06 0.00% Gravity::set_mass_offset() 6 2.21e-06 2.21e-06 2.21e-06 0.00% Castro::retry_advance_ctu() 5 2.05e-06 2.05e-06 2.05e-06 0.00% Castro::FluxRegCrseInit 5 1.551e-06 1.551e-06 1.551e-06 0.00% Amr::init() 1 1.316e-06 1.316e-06 1.316e-06 0.00% Castro::FluxRegFineAdd() 5 1.192e-06 1.192e-06 1.192e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.147e-06 1.147e-06 1.147e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.445 0.445 0.445 100.00% Amr::coarseTimeStep() 5 0.334 0.334 0.334 75.05% Amr::timeStep() 5 0.3318 0.3318 0.3318 74.57% Castro::advance() 5 0.3266 0.3266 0.3266 73.39% Castro::subcycle_advance_ctu() 5 0.3192 0.3192 0.3192 71.72% Castro::do_advance_ctu() 5 0.319 0.319 0.319 71.69% Castro::construct_ctu_hydro_source() 5 0.1465 0.1465 0.1465 32.93% Castro::construct_new_gravity() 5 0.1354 0.1354 0.1354 30.43% Gravity::solve_phi_with_mlmg() 6 0.1332 0.1332 0.1332 29.92% Gravity::actual_solve_with_mlmg() 6 0.1275 0.1275 0.1275 28.65% Gravity::solve_for_phi() 5 0.1274 0.1274 0.1274 28.63% MLMG::solve() 6 0.1153 0.1153 0.1153 25.91% MLMG::oneIter() 36 0.1077 0.1077 0.1077 24.19% MLMG::mgVcycle() 36 0.1061 0.1061 0.1061 23.84% Amr::init() 1 0.07359 0.07359 0.07359 16.54% Amr::restart() 1 0.07358 0.07358 0.07358 16.54% AmrLevel::restart() 1 0.06218 0.06218 0.06218 13.97% StateData::restartDoit() 4 0.0621 0.0621 0.0621 13.95% VisMF::Read() 3 0.06182 0.06182 0.06182 13.89% MLCellLinOp::smooth() 720 0.05272 0.05272 0.05272 11.85% MLCellLinOp::applyBC() 1910 0.04881 0.04881 0.04881 10.97% Amr::writePlotFile() 1 0.0365 0.0365 0.0365 8.20% VisMF::Write(FabArray) 1 0.03367 0.03367 0.03367 7.56% MLMG::mgVcycle_bottom 36 0.03194 0.03194 0.03194 7.18% MLMG::actualBottomSolve() 36 0.03193 0.03193 0.03193 7.17% MLCGSolver::bicgstab 36 0.0316 0.0316 0.0316 7.10% Castro::clean_state() 30 0.02813 0.02813 0.02813 6.32% AmrLevel::FillPatch() 20 0.02311 0.02311 0.02311 5.19% FillPatchIterator::Initialize 20 0.02101 0.02101 0.02101 4.72% FillPatchIterator::FillFromLevel0() 20 0.02022 0.02022 0.02022 4.54% FillPatchSingleLevel 20 0.02019 0.02019 0.02019 4.54% StateDataPhysBCFunct::() 20 0.01815 0.01815 0.01815 4.08% MLCellLinOp::apply() 464 0.01588 0.01588 0.01588 3.57% MLMG::mgVcycle_down::0 36 0.01486 0.01486 0.01486 3.34% MLPoisson::Fsmooth() 1440 0.01484 0.01484 0.01484 3.33% FabArray::FillBoundary() 1730 0.01357 0.01357 0.01357 3.05% FillBoundary_nowait() 1730 0.01317 0.01317 0.01317 2.96% StateData::FillBoundary(geom) 160 0.01307 0.01307 0.01307 2.94% MLMG::mgVcycle_up::0 36 0.01119 0.01119 0.01119 2.51% Castro::initialize_do_advance() 5 0.01097 0.01097 0.01097 2.47% Castro::computeTemp() 30 0.01067 0.01067 0.01067 2.40% Castro::normalize_species() 30 0.01017 0.01017 0.01017 2.28% Castro::do_old_sources() 5 0.009842 0.009842 0.009842 2.21% MLPoisson::define() 6 0.009581 0.009581 0.009581 2.15% amrex::Dot() 484 0.009298 0.009298 0.009298 2.09% FabArray::norminf() 465 0.008938 0.008938 0.008938 2.01% MLMG:computeResOfCorrection() 180 0.008854 0.008854 0.008854 1.99% MLCellLinOp::correctionResidual() 180 0.008803 0.008803 0.008803 1.98% Gravity::get_new_grav_vector() 5 0.007879 0.007879 0.007879 1.77% Castro::construct_old_gravity() 5 0.00779 0.00779 0.00779 1.75% Gravity::get_old_grav_vector() 5 0.007783 0.007783 0.007783 1.75% MLMG::mgVcycle_down::1 36 0.007347 0.007347 0.007347 1.65% Castro::initialize_advance() 5 0.007085 0.007085 0.007085 1.59% Castro::do_new_sources() 5 0.007 0.007 0.007 1.57% MLMG::mgVcycle_down::2 36 0.006748 0.006748 0.006748 1.52% FabArray::ParallelCopy() 380 0.006648 0.006648 0.006648 1.49% MLMG::mgVcycle_down::3 36 0.006634 0.006634 0.006634 1.49% MLCellLinOp::defineAuxData() 6 0.006559 0.006559 0.006559 1.47% MLMG::mgVcycle_down::4 36 0.006556 0.006556 0.006556 1.47% FabArray::ParallelCopy_nowait() 380 0.006536 0.006536 0.006536 1.47% FabArray::setVal() 501 0.006462 0.006462 0.006462 1.45% Castro::enforce_min_density() 30 0.006391 0.006391 0.006391 1.44% Castro::post_restart() 1 0.00637 0.00637 0.00637 1.43% Gravity::multilevel_solve_for_new_phi() 1 0.005982 0.005982 0.005982 1.34% Castro::expand_state() 5 0.005971 0.005971 0.005971 1.34% Gravity::actual_multilevel_solve() 1 0.005964 0.005964 0.005964 1.34% FabArray::Saxpy() 597 0.005873 0.005873 0.005873 1.32% MLCGSolver::ParallelAllReduce 798 0.005659 0.005659 0.005659 1.27% Gravity::fill_multipole_BCs() 6 0.00553 0.00553 0.00553 1.24% MLMG::addInterpCorrection() 180 0.005446 0.005446 0.005446 1.22% amrex::Copy() 221 0.005411 0.005411 0.005411 1.22% MLMG::mgVcycle_up::4 36 0.005256 0.005256 0.005256 1.18% MLMG::mgVcycle_up::1 36 0.00525 0.00525 0.00525 1.18% Castro::post_timestep() 5 0.005161 0.005161 0.005161 1.16% MLMG::mgVcycle_up::2 36 0.005157 0.005157 0.005157 1.16% amrex::average_down 180 0.005096 0.005096 0.005096 1.15% MLMG::mgVcycle_up::3 36 0.005081 0.005081 0.005081 1.14% MLPoisson::Fapply() 464 0.004492 0.004492 0.004492 1.01% MLCellLinOp::solutionResidual() 42 0.003563 0.003563 0.003563 0.80% FabArray::Xpay() 325 0.003457 0.003457 0.003457 0.78% MLMG::prepareForSolve() 6 0.002903 0.002903 0.002903 0.65% Castro::estTimeStep() 10 0.00287 0.00287 0.00287 0.64% MLCellLinOp::defineBC() 6 0.00287 0.00287 0.00287 0.64% MLMG::computeResidual() 36 0.002782 0.002782 0.002782 0.63% BndryData::define() 6 0.002714 0.002714 0.002714 0.61% Castro::reset_internal_energy(MultiFab) 30 0.002374 0.002374 0.002374 0.53% Castro::computeNewDt() 5 0.001959 0.001959 0.001959 0.44% Castro::construct_new_source() 25 0.001897 0.001897 0.001897 0.43% Castro::construct_new_gravity_source() 5 0.001841 0.001841 0.001841 0.41% amrex::Add() 36 0.001533 0.001533 0.001533 0.34% Castro::construct_old_source() 25 0.001526 0.001526 0.001526 0.34% Castro::construct_old_gravity_source() 5 0.001498 0.001498 0.001498 0.34% MLMG::ResNormInf() 42 0.000981 0.000981 0.000981 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009625 0.0009625 0.0009625 0.22% Castro::apply_source_to_state() 10 0.0009587 0.0009587 0.0009587 0.22% Castro::finalize_do_advance() 5 0.0009563 0.0009563 0.0009563 0.21% check_for_negative_density() 5 0.0009542 0.0009542 0.0009542 0.21% MLCellLinOp::setLevelBC() 6 0.000878 0.000878 0.000878 0.20% MLMG::getGradSolution() 6 0.0008775 0.0008775 0.0008775 0.20% MLCellLinOp::compGrad() 6 0.0008742 0.0008742 0.0008742 0.20% Castro::enforce_speed_limit() 30 0.000865 0.000865 0.000865 0.19% Castro::reset_internal_energy(Fab) 240 0.0008274 0.0008274 0.0008274 0.19% FabArrayBase::getCPC() 632 0.0008139 0.0008139 0.0008139 0.18% MLMG::computeMLResidual() 6 0.000806 0.000806 0.000806 0.18% MLPoisson::prepareForSolve() 6 0.0007784 0.0007784 0.0007784 0.17% MLCellLinOp::prepareForSolve() 6 0.0007679 0.0007679 0.0007679 0.17% Gravity::update_max_rhs() 6 0.0007432 0.0007432 0.0007432 0.17% FabArray::mult() 22 0.0006898 0.0006898 0.0006898 0.15% FabArray::setDomainBndry() 20 0.0006884 0.0006884 0.0006884 0.15% Castro::check_for_nan() 10 0.0006694 0.0006694 0.0006694 0.15% MultiFab::contains_nan() 10 0.0006633 0.0006633 0.0006633 0.15% Amr::InitAmr() 1 0.000529 0.000529 0.000529 0.12% FabArrayBase::CPC::define() 244 0.0004406 0.0004406 0.0004406 0.10% FabArrayBase::getFB() 1730 0.0003355 0.0003355 0.0003355 0.08% Castro::finalize_advance() 5 0.0002949 0.0002949 0.0002949 0.07% Gravity::swapTimeLevels() 5 0.0002314 0.0002314 0.0002314 0.05% MultiFab::max() 6 0.0002167 0.0002167 0.0002167 0.05% MLMG::MLResNormInf() 6 0.0001908 0.0001908 0.0001908 0.04% Castro::buildMetrics() 1 0.0001515 0.0001515 0.0001515 0.03% MLLinOp::define() 6 0.0001363 0.0001363 0.0001363 0.03% MLLinOp::defineGrids() 6 0.0001298 0.0001298 0.0001298 0.03% MLMG::MLRhsNormInf() 6 0.0001195 0.0001195 0.0001195 0.03% Castro::create_source_corrector() 5 0.0001017 0.0001017 0.0001017 0.02% FabArrayBase::FB::FB() 26 6.091e-05 6.091e-05 6.091e-05 0.01% Amr::writeSmallPlotFile() 1 3.211e-05 3.211e-05 3.211e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.022e-05 3.022e-05 3.022e-05 0.01% Castro::initMFs() 1 2.501e-05 2.501e-05 2.501e-05 0.01% Castro::swap_state_time_levels() 5 2.448e-05 2.448e-05 2.448e-05 0.01% makeSFC 30 2.27e-05 2.27e-05 2.27e-05 0.01% DistributionMapping::Distribute() 31 9.378e-06 9.378e-06 9.378e-06 0.00% Amr::initSubcycle() 1 9.138e-06 9.138e-06 9.138e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.587e-06 4.587e-06 4.587e-06 0.00% Gravity::set_mass_offset() 6 2.21e-06 2.21e-06 2.21e-06 0.00% Castro::retry_advance_ctu() 5 2.05e-06 2.05e-06 2.05e-06 0.00% Castro::FluxRegCrseInit 5 1.551e-06 1.551e-06 1.551e-06 0.00% Castro::FluxRegFineAdd() 5 1.192e-06 1.192e-06 1.192e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.147e-06 1.147e-06 1.147e-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 184 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 1031 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2219 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 6423 KiB 14 MiB MLMG::prepareForSolve() 361 361 3178 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 181 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 181 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6409 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3266 B 2048 KiB Gravity::solve_for_phi() 40 40 585 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 27 KiB 2048 KiB BndryData::define() 576 576 293 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 188 KiB 671 KiB Castro::estTimeStep() 10 10 3080 B 480 KiB VisMF::Write(FabArray) 112 112 2434 B 320 KiB Castro::normalize_species() 30 30 7437 B 320 KiB amrex::average_down 469 469 1103 B 257 KiB MLMG::addInterpCorrection() 468 468 1040 B 257 KiB amrex::Dot() 592 592 3077 B 160 KiB FabArray::norminf() 501 501 3101 B 160 KiB check_for_negative_density() 5 5 344 B 160 KiB MultiFab::max() 6 6 76 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 29 B 20 KiB MLPoisson::Fsmooth() 60 60 3080 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 250 B 9648 B MLCellLinOp::applyBC() 3820 3820 197 B 9344 B amrex::Copy() 56 56 5544 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 39 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 329 B 1248 B MLCGSolver::bicgstab 180 180 85 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1149 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 83 KiB 8192 KiB VisMF::Write(FabArray) 120 120 212 KiB 3584 KiB VisMF::Read() 24 24 209 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3080 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 250 B 9648 B MLCellLinOp::applyBC() 1910 1910 196 B 9328 B amrex::Copy() 56 56 5544 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2518 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 39 B 2784 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 492 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 8 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-19-g022f97ea9ebb) finalized