Initializing AMReX (24.02-12-g68244ec91d11)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-12-g68244ec91d11) initialized Starting run at 09:38:55 UTC on 2024-02-13. Successfully read inputs file ... Castro git describe: 24.02-18-g62193e94e AMReX git describe: 24.02-12-g68244ec91 Microphysics git describe: 24.02-13-g5226a1f7 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.045393944 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.025487175 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.064191129 [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.054787496 [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.080765768 [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.085937281 [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.049113571 [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.045777978 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.050368414 [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.075353884 [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.073255952 [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.052491688 [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.053148796 [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.044529785 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.025193322 seconds Ending run at 09:38:56 UTC on 2024-02-13. Run time = 0.882129722 Run time without initialization = 0.755634689 Average number of zones advanced per microsecond: 3.469 Average number of zones advanced per microsecond per rank: 3.469 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8822 ... 0.8822 ... 0.8822 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2468 0.2468 0.2468 27.98% VisMF::Write(FabArray) 11 0.178 0.178 0.178 20.17% MLCellLinOp::applyBC() 4351 0.08142 0.08142 0.08142 9.23% MLPoisson::Fsmooth() 3280 0.03383 0.03383 0.03383 3.83% FillBoundary_nowait() 3941 0.03158 0.03158 0.03158 3.58% StateData::FillBoundary(geom) 328 0.02681 0.02681 0.02681 3.04% Castro::normalize_species() 62 0.02227 0.02227 0.02227 2.52% amrex::Dot() 1114 0.02158 0.02158 0.02158 2.45% FabArray::norminf() 1061 0.02025 0.02025 0.02025 2.30% FabArray::Saxpy() 1370 0.02025 0.02025 0.02025 2.30% Castro::computeTemp() 63 0.01671 0.01671 0.01671 1.89% FabArray::ParallelCopy_nowait() 861 0.01371 0.01371 0.01371 1.55% FabArray::setVal() 1062 0.01349 0.01349 0.01349 1.53% Castro::enforce_min_density() 62 0.01323 0.01323 0.01323 1.50% StateDataPhysBCFunct::() 41 0.01215 0.01215 0.01215 1.38% amrex::Copy() 472 0.01088 0.01088 0.01088 1.23% MLPoisson::Fapply() 1060 0.01043 0.01043 0.01043 1.18% MLCellLinOp::defineAuxData() 11 0.01039 0.01039 0.01039 1.18% Gravity::fill_multipole_BCs() 11 0.008989 0.008989 0.008989 1.02% FabArray::Xpay() 739 0.008013 0.008013 0.008013 0.91% MLMG::addInterpCorrection() 410 0.007069 0.007069 0.007069 0.80% amrex::average_down 410 0.00627 0.00627 0.00627 0.71% Amr::checkPoint() 3 0.005855 0.005855 0.005855 0.66% Castro::estTimeStep() 21 0.005797 0.005797 0.005797 0.66% Castro::reset_internal_energy(MultiFab) 63 0.004958 0.004958 0.004958 0.56% BndryData::define() 11 0.004053 0.004053 0.004053 0.46% amrex::Add() 82 0.003635 0.003635 0.003635 0.41% Castro::construct_new_gravity_source() 10 0.003478 0.003478 0.003478 0.39% Castro::construct_old_gravity_source() 10 0.002959 0.002959 0.002959 0.34% Castro::enforce_speed_limit() 62 0.002805 0.002805 0.002805 0.32% Amr::writePlotFile() 2 0.002039 0.002039 0.002039 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001789 0.001789 0.001789 0.20% check_for_negative_density() 10 0.001777 0.001777 0.001777 0.20% MLCGSolver::bicgstab 82 0.001754 0.001754 0.001754 0.20% Castro::reset_internal_energy(Fab) 504 0.001683 0.001683 0.001683 0.19% MLCellLinOp::setLevelBC() 11 0.00161 0.00161 0.00161 0.18% Gravity::actual_solve_with_mlmg() 11 0.00159 0.00159 0.00159 0.18% Castro::initData() 1 0.001487 0.001487 0.001487 0.17% FabArray::mult() 43 0.001392 0.001392 0.001392 0.16% FabArray::setDomainBndry() 41 0.001384 0.001384 0.001384 0.16% MLCellLinOp::prepareForSolve() 11 0.001345 0.001345 0.001345 0.15% MLCellLinOp::smooth() 1640 0.001289 0.001289 0.001289 0.15% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.14% MLCellLinOp::compGrad() 11 0.001101 0.001101 0.001101 0.12% MLMG::prepareForSolve() 11 0.0009827 0.0009827 0.0009827 0.11% FabArrayBase::getCPC() 1323 0.0008426 0.0008426 0.0008426 0.10% FabArray::FillBoundary() 3941 0.0008352 0.0008352 0.0008352 0.09% FabArrayBase::CPC::define() 454 0.0006635 0.0006635 0.0006635 0.08% Gravity::get_new_grav_vector() 11 0.0006292 0.0006292 0.0006292 0.07% FabArrayBase::getFB() 3941 0.0006238 0.0006238 0.0006238 0.07% Amr::InitAmr() 1 0.0005542 0.0005542 0.0005542 0.06% Gravity::get_old_grav_vector() 10 0.0004845 0.0004845 0.0004845 0.05% MLCellLinOp::apply() 1060 0.0004757 0.0004757 0.0004757 0.05% MLCGSolver::ParallelAllReduce 1832 0.0004343 0.0004343 0.0004343 0.05% Amr::coarseTimeStep() 10 0.0004299 0.0004299 0.0004299 0.05% AmrLevel::FillPatch() 41 0.0004253 0.0004253 0.0004253 0.05% MultiFab::max() 11 0.0003282 0.0003282 0.0003282 0.04% main() 1 0.0002939 0.0002939 0.0002939 0.03% MLCellLinOp::defineBC() 11 0.0002873 0.0002873 0.0002873 0.03% FabArray::ParallelCopy() 861 0.0002657 0.0002657 0.0002657 0.03% FillPatchIterator::Initialize 41 0.0002132 0.0002132 0.0002132 0.02% MLMG::mgVcycle() 82 0.0002023 0.0002023 0.0002023 0.02% MLCellLinOp::correctionResidual() 410 0.0001827 0.0001827 0.0001827 0.02% MLLinOp::defineGrids() 11 0.0001652 0.0001652 0.0001652 0.02% Castro::create_source_corrector() 10 0.0001618 0.0001618 0.0001618 0.02% Amr::timeStep() 10 0.0001606 0.0001606 0.0001606 0.02% Castro::subcycle_advance_ctu() 10 0.0001605 0.0001605 0.0001605 0.02% StateData::checkPoint() 12 0.0001337 0.0001337 0.0001337 0.02% MLMG:computeResOfCorrection() 410 0.0001326 0.0001326 0.0001326 0.02% Gravity::update_max_rhs() 11 0.000128 0.000128 0.000128 0.01% Gravity::solve_for_phi() 10 0.000112 0.000112 0.000112 0.01% Castro::post_timestep() 10 9.283e-05 9.283e-05 9.283e-05 0.01% FabArrayBase::FB::FB() 56 9.054e-05 9.054e-05 9.054e-05 0.01% MLMG::mgVcycle_down::0 82 8.758e-05 8.758e-05 8.758e-05 0.01% MLMG::actualBottomSolve() 82 8.716e-05 8.716e-05 8.716e-05 0.01% Castro::Castro() 1 8.598e-05 8.598e-05 8.598e-05 0.01% MLMG::mgVcycle_down::1 82 8.164e-05 8.164e-05 8.164e-05 0.01% MLMG::mgVcycle_down::2 82 8.133e-05 8.133e-05 8.133e-05 0.01% Castro::initialize_advance() 10 7.884e-05 7.884e-05 7.884e-05 0.01% AmrLevel::checkPoint() 3 7.844e-05 7.844e-05 7.844e-05 0.01% Castro::clean_state() 62 7.668e-05 7.668e-05 7.668e-05 0.01% MLMG::mgVcycle_down::4 82 7.576e-05 7.576e-05 7.576e-05 0.01% MLMG::solve() 11 7.384e-05 7.384e-05 7.384e-05 0.01% MLMG::mgVcycle_down::3 82 7.381e-05 7.381e-05 7.381e-05 0.01% Castro::advance() 10 6.735e-05 6.735e-05 6.735e-05 0.01% Castro::enforce_consistent_e() 1 6.397e-05 6.397e-05 6.397e-05 0.01% Castro::finalize_advance() 10 6.341e-05 6.341e-05 6.341e-05 0.01% MLMG::mgVcycle_up::4 82 6.315e-05 6.315e-05 6.315e-05 0.01% Castro::initialize_do_advance() 10 6.062e-05 6.062e-05 6.062e-05 0.01% MLMG::oneIter() 82 5.953e-05 5.953e-05 5.953e-05 0.01% MLMG::mgVcycle_up::0 82 5.685e-05 5.685e-05 5.685e-05 0.01% MLMG::mgVcycle_up::3 82 5.55e-05 5.55e-05 5.55e-05 0.01% MLMG::mgVcycle_up::1 82 5.432e-05 5.432e-05 5.432e-05 0.01% MLMG::mgVcycle_up::2 82 5.387e-05 5.387e-05 5.387e-05 0.01% MLCellLinOp::solutionResidual() 93 5.198e-05 5.198e-05 5.198e-05 0.01% Castro::do_advance_ctu() 10 5.187e-05 5.187e-05 5.187e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.97e-05 4.97e-05 4.97e-05 0.01% Castro::construct_new_source() 50 4.947e-05 4.947e-05 4.947e-05 0.01% Castro::finalize_do_advance() 10 4.555e-05 4.555e-05 4.555e-05 0.01% MLMG::ResNormInf() 93 4.28e-05 4.28e-05 4.28e-05 0.00% Castro::initMFs() 1 3.763e-05 3.763e-05 3.763e-05 0.00% StateData::define() 4 3.698e-05 3.698e-05 3.698e-05 0.00% Castro::swap_state_time_levels() 10 3.6e-05 3.6e-05 3.6e-05 0.00% MLMG::computeResidual() 82 3.553e-05 3.553e-05 3.553e-05 0.00% MLMG::mgVcycle_bottom 82 3.553e-05 3.553e-05 3.553e-05 0.00% FillPatchSingleLevel 41 3.514e-05 3.514e-05 3.514e-05 0.00% Amr::writeSmallPlotFile() 1 2.999e-05 2.999e-05 2.999e-05 0.00% Castro::construct_new_gravity() 10 2.902e-05 2.902e-05 2.902e-05 0.00% makeSFC 55 2.716e-05 2.716e-05 2.716e-05 0.00% Amr::defBaseLevel() 1 2.512e-05 2.512e-05 2.512e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.46e-05 2.46e-05 2.46e-05 0.00% Castro::buildMetrics() 1 2.378e-05 2.378e-05 2.378e-05 0.00% MLPoisson::define() 11 2.262e-05 2.262e-05 2.262e-05 0.00% Castro::do_old_sources() 10 2.261e-05 2.261e-05 2.261e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 2.041e-05 2.041e-05 2.041e-05 0.00% Castro::do_new_sources() 10 2.008e-05 2.008e-05 2.008e-05 0.00% Castro::construct_old_source() 50 1.985e-05 1.985e-05 1.985e-05 0.00% Amr::FinalizeInit() 1 1.935e-05 1.935e-05 1.935e-05 0.00% DistributionMapping::Distribute() 56 1.616e-05 1.616e-05 1.616e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.465e-05 1.465e-05 1.465e-05 0.00% MLPoisson::prepareForSolve() 11 1.376e-05 1.376e-05 1.376e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.364e-05 1.364e-05 1.364e-05 0.00% MLLinOp::define() 11 1.311e-05 1.311e-05 1.311e-05 0.00% Castro::check_for_nan() 20 1.189e-05 1.189e-05 1.189e-05 0.00% Castro::construct_old_gravity() 10 1.184e-05 1.184e-05 1.184e-05 0.00% Castro::apply_source_to_state() 20 1.178e-05 1.178e-05 1.178e-05 0.00% MLMG::computeMLResidual() 11 9.764e-06 9.764e-06 9.764e-06 0.00% Gravity::swapTimeLevels() 10 9.24e-06 9.24e-06 9.24e-06 0.00% Castro::post_init() 1 9.025e-06 9.025e-06 9.025e-06 0.00% Gravity::actual_multilevel_solve() 1 8.464e-06 8.464e-06 8.464e-06 0.00% Amr::initSubcycle() 1 8.206e-06 8.206e-06 8.206e-06 0.00% Castro::computeNewDt() 9 7.033e-06 7.033e-06 7.033e-06 0.00% MLMG::getGradSolution() 11 6.722e-06 6.722e-06 6.722e-06 0.00% Castro::computeInitialDt() 2 6.07e-06 6.07e-06 6.07e-06 0.00% Castro::expand_state() 10 5.903e-06 5.903e-06 5.903e-06 0.00% Castro::FluxRegCrseInit 10 5.396e-06 5.396e-06 5.396e-06 0.00% Amr::InitializeInit() 1 4.817e-06 4.817e-06 4.817e-06 0.00% Gravity::set_mass_offset() 11 4.797e-06 4.797e-06 4.797e-06 0.00% Amr::init() 1 4.585e-06 4.585e-06 4.585e-06 0.00% MLMG::MLRhsNormInf() 11 4.565e-06 4.565e-06 4.565e-06 0.00% Castro::retry_advance_ctu() 10 4.517e-06 4.517e-06 4.517e-06 0.00% AmrLevel::checkPointPost() 3 4.407e-06 4.407e-06 4.407e-06 0.00% MLMG::MLResNormInf() 11 3.975e-06 3.975e-06 3.975e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.781e-06 2.781e-06 2.781e-06 0.00% Castro::FluxRegFineAdd() 10 2.537e-06 2.537e-06 2.537e-06 0.00% AmrLevel::checkPointPre() 3 2.243e-06 2.243e-06 2.243e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.921e-06 1.921e-06 1.921e-06 0.00% Castro::post_regrid() 1 1.123e-06 1.123e-06 1.123e-06 0.00% Amr::initialInit() 1 9.81e-07 9.81e-07 9.81e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8821 0.8821 0.8821 100.00% Amr::coarseTimeStep() 10 0.7302 0.7302 0.7302 82.78% Amr::timeStep() 10 0.636 0.636 0.636 72.09% Castro::advance() 10 0.6255 0.6255 0.6255 70.90% Castro::subcycle_advance_ctu() 10 0.6102 0.6102 0.6102 69.18% Castro::do_advance_ctu() 10 0.6101 0.6101 0.6101 69.16% Gravity::solve_phi_with_mlmg() 11 0.305 0.305 0.305 34.57% Gravity::actual_solve_with_mlmg() 11 0.2955 0.2955 0.2955 33.50% Castro::construct_new_gravity() 10 0.276 0.276 0.276 31.29% MLMG::solve() 11 0.2732 0.2732 0.2732 30.97% Gravity::solve_for_phi() 10 0.2595 0.2595 0.2595 29.41% Castro::construct_ctu_hydro_source() 10 0.2578 0.2578 0.2578 29.22% MLMG::oneIter() 82 0.2575 0.2575 0.2575 29.19% MLMG::mgVcycle() 82 0.2539 0.2539 0.2539 28.78% VisMF::Write(FabArray) 11 0.178 0.178 0.178 20.17% Amr::checkPoint() 3 0.1358 0.1358 0.1358 15.40% AmrLevel::checkPoint() 3 0.13 0.13 0.13 14.73% StateData::checkPoint() 12 0.1299 0.1299 0.1299 14.72% Amr::init() 1 0.1258 0.1258 0.1258 14.26% MLCellLinOp::smooth() 1640 0.1232 0.1232 0.1232 13.97% MLCellLinOp::applyBC() 4351 0.1145 0.1145 0.1145 12.99% MLMG::mgVcycle_bottom 82 0.08091 0.08091 0.08091 9.17% MLMG::actualBottomSolve() 82 0.08088 0.08088 0.08088 9.17% MLCGSolver::bicgstab 82 0.08006 0.08006 0.08006 9.08% Castro::clean_state() 62 0.0609 0.0609 0.0609 6.90% Amr::initialInit() 1 0.05481 0.05481 0.05481 6.21% Amr::writePlotFile() 2 0.05079 0.05079 0.05079 5.76% Amr::FinalizeInit() 1 0.0498 0.0498 0.0498 5.64% AmrLevel::FillPatch() 41 0.04903 0.04903 0.04903 5.56% Castro::post_init() 1 0.04825 0.04825 0.04825 5.47% Gravity::multilevel_solve_for_new_phi() 1 0.04592 0.04592 0.04592 5.21% Gravity::actual_multilevel_solve() 1 0.0459 0.0459 0.0459 5.20% FillPatchIterator::Initialize 41 0.04471 0.04471 0.04471 5.07% FillPatchIterator::FillFromLevel0() 41 0.04311 0.04311 0.04311 4.89% FillPatchSingleLevel 41 0.04306 0.04306 0.04306 4.88% StateDataPhysBCFunct::() 41 0.03897 0.03897 0.03897 4.42% MLCellLinOp::apply() 1060 0.03685 0.03685 0.03685 4.18% MLMG::mgVcycle_down::0 82 0.03528 0.03528 0.03528 4.00% MLPoisson::Fsmooth() 3280 0.03383 0.03383 0.03383 3.83% FabArray::FillBoundary() 3941 0.03313 0.03313 0.03313 3.76% FillBoundary_nowait() 3941 0.03229 0.03229 0.03229 3.66% MLMG::mgVcycle_up::0 82 0.02682 0.02682 0.02682 3.04% StateData::FillBoundary(geom) 328 0.02681 0.02681 0.02681 3.04% Castro::computeTemp() 63 0.02335 0.02335 0.02335 2.65% Castro::initialize_do_advance() 10 0.02267 0.02267 0.02267 2.57% Castro::normalize_species() 62 0.02227 0.02227 0.02227 2.52% amrex::Dot() 1114 0.02158 0.02158 0.02158 2.45% MLMG:computeResOfCorrection() 410 0.02084 0.02084 0.02084 2.36% MLCellLinOp::correctionResidual() 410 0.02071 0.02071 0.02071 2.35% FabArray::norminf() 1061 0.02025 0.02025 0.02025 2.30% FabArray::Saxpy() 1370 0.02025 0.02025 0.02025 2.30% Castro::do_old_sources() 10 0.02008 0.02008 0.02008 2.28% Gravity::get_new_grav_vector() 11 0.01843 0.01843 0.01843 2.09% MLPoisson::define() 11 0.01747 0.01747 0.01747 1.98% MLMG::mgVcycle_down::1 82 0.01684 0.01684 0.01684 1.91% MLMG::mgVcycle_down::2 82 0.01566 0.01566 0.01566 1.77% Castro::construct_old_gravity() 10 0.01555 0.01555 0.01555 1.76% Gravity::get_old_grav_vector() 10 0.01554 0.01554 0.01554 1.76% MLMG::mgVcycle_down::3 82 0.01522 0.01522 0.01522 1.73% MLMG::mgVcycle_down::4 82 0.01509 0.01509 0.01509 1.71% Castro::do_new_sources() 10 0.01486 0.01486 0.01486 1.68% FabArray::ParallelCopy() 861 0.0148 0.0148 0.0148 1.68% Castro::initialize_advance() 10 0.01454 0.01454 0.01454 1.65% FabArray::ParallelCopy_nowait() 861 0.01453 0.01453 0.01453 1.65% FabArray::setVal() 1062 0.01349 0.01349 0.01349 1.53% Castro::enforce_min_density() 62 0.01323 0.01323 0.01323 1.50% MLCGSolver::ParallelAllReduce 1832 0.01307 0.01307 0.01307 1.48% MLMG::addInterpCorrection() 410 0.01242 0.01242 0.01242 1.41% MLMG::mgVcycle_up::1 82 0.01218 0.01218 0.01218 1.38% Castro::expand_state() 10 0.01215 0.01215 0.01215 1.38% MLMG::mgVcycle_up::4 82 0.01211 0.01211 0.01211 1.37% MLMG::mgVcycle_up::2 82 0.01192 0.01192 0.01192 1.35% MLCellLinOp::defineAuxData() 11 0.01184 0.01184 0.01184 1.34% amrex::average_down 410 0.01166 0.01166 0.01166 1.32% MLMG::mgVcycle_up::3 82 0.01163 0.01163 0.01163 1.32% amrex::Copy() 472 0.01088 0.01088 0.01088 1.23% MLPoisson::Fapply() 1060 0.01043 0.01043 0.01043 1.18% Castro::post_timestep() 10 0.01034 0.01034 0.01034 1.17% Gravity::fill_multipole_BCs() 11 0.009224 0.009224 0.009224 1.05% FabArray::Xpay() 739 0.008013 0.008013 0.008013 0.91% MLCellLinOp::solutionResidual() 93 0.007824 0.007824 0.007824 0.89% Castro::reset_internal_energy(MultiFab) 63 0.006641 0.006641 0.006641 0.75% MLMG::computeResidual() 82 0.006505 0.006505 0.006505 0.74% Castro::estTimeStep() 21 0.005797 0.005797 0.005797 0.66% MLCellLinOp::defineBC() 11 0.005374 0.005374 0.005374 0.61% MLMG::prepareForSolve() 11 0.005242 0.005242 0.005242 0.59% BndryData::define() 11 0.005087 0.005087 0.005087 0.58% Amr::InitializeInit() 1 0.005016 0.005016 0.005016 0.57% Amr::defBaseLevel() 1 0.005011 0.005011 0.005011 0.57% Castro::initData() 1 0.00436 0.00436 0.00436 0.49% amrex::Add() 82 0.003635 0.003635 0.003635 0.41% Castro::construct_new_source() 50 0.003528 0.003528 0.003528 0.40% Castro::construct_new_gravity_source() 10 0.003478 0.003478 0.003478 0.39% Castro::construct_old_source() 50 0.002979 0.002979 0.002979 0.34% Castro::construct_old_gravity_source() 10 0.002959 0.002959 0.002959 0.34% Castro::enforce_speed_limit() 62 0.002805 0.002805 0.002805 0.32% Castro::computeNewDt() 9 0.002661 0.002661 0.002661 0.30% MLMG::ResNormInf() 93 0.002261 0.002261 0.002261 0.26% Castro::finalize_do_advance() 10 0.002146 0.002146 0.002146 0.24% Castro::apply_source_to_state() 20 0.001872 0.001872 0.001872 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001789 0.001789 0.001789 0.20% check_for_negative_density() 10 0.001777 0.001777 0.001777 0.20% Castro::reset_internal_energy(Fab) 504 0.001683 0.001683 0.001683 0.19% MLCellLinOp::setLevelBC() 11 0.00161 0.00161 0.00161 0.18% MLMG::getGradSolution() 11 0.001604 0.001604 0.001604 0.18% MLCellLinOp::compGrad() 11 0.001597 0.001597 0.001597 0.18% FabArrayBase::getCPC() 1323 0.001506 0.001506 0.001506 0.17% FabArray::mult() 43 0.001392 0.001392 0.001392 0.16% FabArray::setDomainBndry() 41 0.001384 0.001384 0.001384 0.16% MLMG::computeMLResidual() 11 0.001365 0.001365 0.001365 0.15% MLPoisson::prepareForSolve() 11 0.001358 0.001358 0.001358 0.15% MLCellLinOp::prepareForSolve() 11 0.001345 0.001345 0.001345 0.15% Castro::check_for_nan() 20 0.001277 0.001277 0.001277 0.14% MultiFab::contains_nan() 20 0.001265 0.001265 0.001265 0.14% Castro::post_regrid() 1 0.00125 0.00125 0.00125 0.14% Castro::computeInitialDt() 2 0.001048 0.001048 0.001048 0.12% Gravity::update_max_rhs() 11 0.001001 0.001001 0.001001 0.11% FabArrayBase::getFB() 3941 0.0007144 0.0007144 0.0007144 0.08% FabArrayBase::CPC::define() 454 0.0006635 0.0006635 0.0006635 0.08% Castro::finalize_advance() 10 0.0006074 0.0006074 0.0006074 0.07% Castro::Castro() 1 0.0005698 0.0005698 0.0005698 0.06% Amr::InitAmr() 1 0.0005624 0.0005624 0.0005624 0.06% Gravity::swapTimeLevels() 10 0.0004526 0.0004526 0.0004526 0.05% MLMG::MLResNormInf() 11 0.0003393 0.0003393 0.0003393 0.04% MultiFab::max() 11 0.0003282 0.0003282 0.0003282 0.04% Castro::buildMetrics() 1 0.0002741 0.0002741 0.0002741 0.03% MLLinOp::define() 11 0.0002361 0.0002361 0.0002361 0.03% MLMG::MLRhsNormInf() 11 0.000235 0.000235 0.000235 0.03% MLLinOp::defineGrids() 11 0.000223 0.000223 0.000223 0.03% Castro::create_source_corrector() 10 0.0001618 0.0001618 0.0001618 0.02% FabArrayBase::FB::FB() 56 9.054e-05 9.054e-05 9.054e-05 0.01% Castro::enforce_consistent_e() 1 6.397e-05 6.397e-05 6.397e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.581e-05 5.581e-05 5.581e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.163e-05 5.163e-05 5.163e-05 0.01% makeSFC 55 4.217e-05 4.217e-05 4.217e-05 0.00% Castro::initMFs() 1 3.763e-05 3.763e-05 3.763e-05 0.00% StateData::define() 4 3.698e-05 3.698e-05 3.698e-05 0.00% Castro::swap_state_time_levels() 10 3.6e-05 3.6e-05 3.6e-05 0.00% Amr::writeSmallPlotFile() 1 2.999e-05 2.999e-05 2.999e-05 0.00% DistributionMapping::Distribute() 56 1.616e-05 1.616e-05 1.616e-05 0.00% Amr::initSubcycle() 1 8.206e-06 8.206e-06 8.206e-06 0.00% Castro::FluxRegCrseInit 10 5.396e-06 5.396e-06 5.396e-06 0.00% Gravity::set_mass_offset() 11 4.797e-06 4.797e-06 4.797e-06 0.00% Castro::retry_advance_ctu() 10 4.517e-06 4.517e-06 4.517e-06 0.00% AmrLevel::checkPointPost() 3 4.407e-06 4.407e-06 4.407e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.924e-06 3.924e-06 3.924e-06 0.00% Castro::FluxRegFineAdd() 10 2.537e-06 2.537e-06 2.537e-06 0.00% AmrLevel::checkPointPre() 3 2.243e-06 2.243e-06 2.243e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.921e-06 1.921e-06 1.921e-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 89 MiB 9042 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1080 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1609 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7619 KiB 14 MiB MLMG::prepareForSolve() 660 660 3809 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 216 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 180 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7514 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 17 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2200 B 2048 KiB Gravity::solve_for_phi() 80 80 601 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 106 KiB 2048 KiB BndryData::define() 1056 1056 348 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 221 KiB 671 KiB Castro::estTimeStep() 21 21 3204 B 480 KiB VisMF::Write(FabArray) 656 656 3481 B 320 KiB Castro::normalize_species() 62 62 8230 B 320 KiB amrex::average_down 1067 1067 1295 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1203 B 257 KiB amrex::Dot() 1360 1360 3614 B 160 KiB FabArray::norminf() 1143 1143 3542 B 160 KiB check_for_negative_density() 10 10 323 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3720 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 314 B 9648 B MLCellLinOp::applyBC() 8702 8702 229 B 9344 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3947 B 6144 B StateData::FillBoundary(geom) 1992 1992 45 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 392 B 1248 B MLCGSolver::bicgstab 410 410 109 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 561 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 436 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3720 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 45 B 10 KiB FillBoundary_nowait() 760 760 314 B 9648 B MLCellLinOp::applyBC() 4351 4351 228 B 9328 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3947 B 6144 B Gravity::get_new_grav_vector() 3 3 2882 B 3072 B StateData::FillBoundary(geom) 1992 1992 46 B 3024 B Gravity::fill_multipole_BCs() 33 33 4 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 317 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 29 B 400 B FabArray::norminf() 1143 1143 11 B 144 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-12-g68244ec91d11) finalized Initializing AMReX (24.02-12-g68244ec91d11)... Initializing CUDA... CUDA initialized with 1 device. AMReX (24.02-12-g68244ec91d11) initialized Starting run at 09:38:57 UTC on 2024-02-13. Successfully read inputs file ... Castro git describe: 24.02-18-g62193e94e AMReX git describe: 24.02-12-g68244ec91 Microphysics git describe: 24.02-13-g5226a1f7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.507146806 Restart time = 0.084570725 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.067155827 [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.049954467 [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.081833889 [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.078498178 [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.066908861 [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.039640645 seconds Ending run at 09:38:57 UTC on 2024-02-13. Run time = 0.469699492 Run time without initialization = 0.384468203 Average number of zones advanced per microsecond: 3.409 Average number of zones advanced per microsecond per rank: 3.409 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4697 ... 0.4697 ... 0.4697 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1442 0.1442 0.1442 30.70% VisMF::Read() 3 0.07281 0.07281 0.07281 15.50% MLCellLinOp::applyBC() 1910 0.03634 0.03634 0.03634 7.74% VisMF::Write(FabArray) 1 0.02593 0.02593 0.02593 5.52% MLPoisson::Fsmooth() 1440 0.01504 0.01504 0.01504 3.20% FillBoundary_nowait() 1730 0.01377 0.01377 0.01377 2.93% Amr::writePlotFile() 1 0.01357 0.01357 0.01357 2.89% StateData::FillBoundary(geom) 160 0.01314 0.01314 0.01314 2.80% MLPoisson::Fapply() 464 0.01146 0.01146 0.01146 2.44% Castro::normalize_species() 30 0.009648 0.009648 0.009648 2.05% amrex::Dot() 484 0.009398 0.009398 0.009398 2.00% FabArray::norminf() 465 0.008772 0.008772 0.008772 1.87% FabArray::setVal() 501 0.006631 0.006631 0.006631 1.41% FabArray::ParallelCopy_nowait() 380 0.006252 0.006252 0.006252 1.33% Castro::computeTemp() 30 0.006072 0.006072 0.006072 1.29% FabArray::Saxpy() 597 0.005947 0.005947 0.005947 1.27% MLCellLinOp::defineAuxData() 6 0.005691 0.005691 0.005691 1.21% Gravity::fill_multipole_BCs() 6 0.005663 0.005663 0.005663 1.21% amrex::Copy() 221 0.005486 0.005486 0.005486 1.17% StateDataPhysBCFunct::() 20 0.004962 0.004962 0.004962 1.06% Amr::restart() 1 0.004784 0.004784 0.004784 1.02% Castro::enforce_min_density() 30 0.004673 0.004673 0.004673 0.99% FabArray::Xpay() 325 0.003573 0.003573 0.003573 0.76% MLMG::addInterpCorrection() 180 0.003158 0.003158 0.003158 0.67% Castro::estTimeStep() 10 0.002789 0.002789 0.002789 0.59% amrex::average_down 180 0.002782 0.002782 0.002782 0.59% BndryData::define() 6 0.002242 0.002242 0.002242 0.48% Castro::reset_internal_energy(MultiFab) 30 0.002157 0.002157 0.002157 0.46% Castro::construct_new_gravity_source() 5 0.00179 0.00179 0.00179 0.38% amrex::Add() 36 0.001582 0.001582 0.001582 0.34% Castro::enforce_speed_limit() 30 0.00156 0.00156 0.00156 0.33% Castro::construct_old_gravity_source() 5 0.001505 0.001505 0.001505 0.32% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009819 0.0009819 0.0009819 0.21% check_for_negative_density() 5 0.0009569 0.0009569 0.0009569 0.20% Gravity::actual_solve_with_mlmg() 6 0.0009019 0.0009019 0.0009019 0.19% MLCellLinOp::setLevelBC() 6 0.000899 0.000899 0.000899 0.19% Castro::reset_internal_energy(Fab) 240 0.0008301 0.0008301 0.0008301 0.18% MLCGSolver::bicgstab 36 0.0007662 0.0007662 0.0007662 0.16% MLCellLinOp::prepareForSolve() 6 0.0007487 0.0007487 0.0007487 0.16% FabArray::setDomainBndry() 20 0.0007103 0.0007103 0.0007103 0.15% FabArray::mult() 22 0.000707 0.000707 0.000707 0.15% MultiFab::contains_nan() 10 0.0006644 0.0006644 0.0006644 0.14% MLCellLinOp::compGrad() 6 0.0006299 0.0006299 0.0006299 0.13% MLMG::prepareForSolve() 6 0.0005658 0.0005658 0.0005658 0.12% MLCellLinOp::smooth() 720 0.0005396 0.0005396 0.0005396 0.11% Amr::InitAmr() 1 0.0004827 0.0004827 0.0004827 0.10% FabArrayBase::CPC::define() 244 0.0004473 0.0004473 0.0004473 0.10% FabArrayBase::getCPC() 632 0.0003885 0.0003885 0.0003885 0.08% FabArray::FillBoundary() 1730 0.000362 0.000362 0.000362 0.08% Gravity::get_old_grav_vector() 5 0.0003262 0.0003262 0.0003262 0.07% main() 1 0.0002912 0.0002912 0.0002912 0.06% Gravity::get_new_grav_vector() 5 0.0002728 0.0002728 0.0002728 0.06% FabArrayBase::getFB() 1730 0.0002576 0.0002576 0.0002576 0.05% MultiFab::max() 6 0.0002137 0.0002137 0.0002137 0.05% AmrLevel::FillPatch() 20 0.0001992 0.0001992 0.0001992 0.04% MLCellLinOp::apply() 464 0.0001983 0.0001983 0.0001983 0.04% Amr::coarseTimeStep() 5 0.0001772 0.0001772 0.0001772 0.04% MLCGSolver::ParallelAllReduce 798 0.0001675 0.0001675 0.0001675 0.04% MLCellLinOp::defineBC() 6 0.0001591 0.0001591 0.0001591 0.03% Castro::subcycle_advance_ctu() 5 0.0001233 0.0001233 0.0001233 0.03% FillPatchIterator::Initialize 20 0.0001172 0.0001172 0.0001172 0.02% FabArray::ParallelCopy() 380 0.0001109 0.0001109 0.0001109 0.02% Castro::create_source_corrector() 5 0.0001019 0.0001019 0.0001019 0.02% MLLinOp::defineGrids() 6 9.482e-05 9.482e-05 9.482e-05 0.02% Amr::timeStep() 5 9.228e-05 9.228e-05 9.228e-05 0.02% MLMG::mgVcycle() 36 8.69e-05 8.69e-05 8.69e-05 0.02% MLCellLinOp::correctionResidual() 180 7.685e-05 7.685e-05 7.685e-05 0.02% AmrLevel::restart() 1 7.613e-05 7.613e-05 7.613e-05 0.02% StateData::restartDoit() 4 6.949e-05 6.949e-05 6.949e-05 0.01% Castro::initialize_do_advance() 5 6.88e-05 6.88e-05 6.88e-05 0.01% Gravity::update_max_rhs() 6 6.699e-05 6.699e-05 6.699e-05 0.01% Castro::construct_new_source() 25 6.656e-05 6.656e-05 6.656e-05 0.01% Castro::do_advance_ctu() 5 6.548e-05 6.548e-05 6.548e-05 0.01% FabArrayBase::FB::FB() 26 6.233e-05 6.233e-05 6.233e-05 0.01% Gravity::solve_for_phi() 5 5.931e-05 5.931e-05 5.931e-05 0.01% Castro::advance() 5 5.736e-05 5.736e-05 5.736e-05 0.01% MLMG:computeResOfCorrection() 180 5.202e-05 5.202e-05 5.202e-05 0.01% Castro::finalize_do_advance() 5 4.548e-05 4.548e-05 4.548e-05 0.01% MLMG::actualBottomSolve() 36 4.113e-05 4.113e-05 4.113e-05 0.01% MLMG::mgVcycle_down::0 36 3.941e-05 3.941e-05 3.941e-05 0.01% MLMG::mgVcycle_down::2 36 3.85e-05 3.85e-05 3.85e-05 0.01% MLMG::mgVcycle_down::1 36 3.78e-05 3.78e-05 3.78e-05 0.01% Castro::initialize_advance() 5 3.771e-05 3.771e-05 3.771e-05 0.01% Amr::writeSmallPlotFile() 1 3.567e-05 3.567e-05 3.567e-05 0.01% Castro::finalize_advance() 5 3.501e-05 3.501e-05 3.501e-05 0.01% MLMG::mgVcycle_down::4 36 3.464e-05 3.464e-05 3.464e-05 0.01% MLMG::mgVcycle_down::3 36 3.316e-05 3.316e-05 3.316e-05 0.01% MLMG::solve() 6 3.272e-05 3.272e-05 3.272e-05 0.01% Castro::clean_state() 30 3.204e-05 3.204e-05 3.204e-05 0.01% Castro::buildMetrics() 1 3.131e-05 3.131e-05 3.131e-05 0.01% MLMG::mgVcycle_up::4 36 3.108e-05 3.108e-05 3.108e-05 0.01% Castro::post_restart() 1 3.001e-05 3.001e-05 3.001e-05 0.01% Castro::construct_old_source() 25 2.806e-05 2.806e-05 2.806e-05 0.01% Castro::swap_state_time_levels() 5 2.577e-05 2.577e-05 2.577e-05 0.01% Castro::initMFs() 1 2.563e-05 2.563e-05 2.563e-05 0.01% MLMG::oneIter() 36 2.455e-05 2.455e-05 2.455e-05 0.01% MLCellLinOp::solutionResidual() 42 2.362e-05 2.362e-05 2.362e-05 0.01% MLMG::mgVcycle_up::3 36 2.322e-05 2.322e-05 2.322e-05 0.00% MLMG::mgVcycle_up::0 36 2.315e-05 2.315e-05 2.315e-05 0.00% MLMG::mgVcycle_up::2 36 2.159e-05 2.159e-05 2.159e-05 0.00% MLMG::mgVcycle_up::1 36 2.091e-05 2.091e-05 2.091e-05 0.00% FillPatchIterator::FillFromLevel0() 20 2.084e-05 2.084e-05 2.084e-05 0.00% MLMG::ResNormInf() 42 2.074e-05 2.074e-05 2.074e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.669e-05 1.669e-05 1.669e-05 0.00% Castro::construct_new_gravity() 5 1.576e-05 1.576e-05 1.576e-05 0.00% FillPatchSingleLevel 20 1.571e-05 1.571e-05 1.571e-05 0.00% MLMG::computeResidual() 36 1.493e-05 1.493e-05 1.493e-05 0.00% MLMG::mgVcycle_bottom 36 1.487e-05 1.487e-05 1.487e-05 0.00% makeSFC 30 1.44e-05 1.44e-05 1.44e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.398e-05 1.398e-05 1.398e-05 0.00% MLPoisson::define() 6 1.386e-05 1.386e-05 1.386e-05 0.00% Castro::do_old_sources() 5 1.179e-05 1.179e-05 1.179e-05 0.00% Castro::do_new_sources() 5 1.128e-05 1.128e-05 1.128e-05 0.00% MLPoisson::prepareForSolve() 6 9.122e-06 9.122e-06 9.122e-06 0.00% DistributionMapping::Distribute() 31 9.099e-06 9.099e-06 9.099e-06 0.00% Gravity::actual_multilevel_solve() 1 8.787e-06 8.787e-06 8.787e-06 0.00% Amr::initSubcycle() 1 8.46e-06 8.46e-06 8.46e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.218e-06 7.218e-06 7.218e-06 0.00% Castro::construct_old_gravity() 5 6.393e-06 6.393e-06 6.393e-06 0.00% MLLinOp::define() 6 6.361e-06 6.361e-06 6.361e-06 0.00% Castro::check_for_nan() 10 6.357e-06 6.357e-06 6.357e-06 0.00% Castro::apply_source_to_state() 10 5.963e-06 5.963e-06 5.963e-06 0.00% Castro::post_timestep() 5 5.103e-06 5.103e-06 5.103e-06 0.00% MLMG::computeMLResidual() 6 4.667e-06 4.667e-06 4.667e-06 0.00% Gravity::swapTimeLevels() 5 4.6e-06 4.6e-06 4.6e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.566e-06 3.566e-06 3.566e-06 0.00% MLMG::getGradSolution() 6 3.502e-06 3.502e-06 3.502e-06 0.00% Castro::expand_state() 5 3.279e-06 3.279e-06 3.279e-06 0.00% Castro::computeNewDt() 5 3.078e-06 3.078e-06 3.078e-06 0.00% MLMG::MLResNormInf() 6 2.651e-06 2.651e-06 2.651e-06 0.00% Gravity::set_mass_offset() 6 2.419e-06 2.419e-06 2.419e-06 0.00% MLMG::MLRhsNormInf() 6 2.388e-06 2.388e-06 2.388e-06 0.00% Castro::retry_advance_ctu() 5 2.113e-06 2.113e-06 2.113e-06 0.00% Castro::FluxRegCrseInit 5 1.705e-06 1.705e-06 1.705e-06 0.00% Amr::init() 1 1.302e-06 1.302e-06 1.302e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.139e-06 1.139e-06 1.139e-06 0.00% Castro::FluxRegFineAdd() 5 1.138e-06 1.138e-06 1.138e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4697 0.4697 0.4697 100.00% Amr::coarseTimeStep() 5 0.3445 0.3445 0.3445 73.34% Amr::timeStep() 5 0.3426 0.3426 0.3426 72.93% Castro::advance() 5 0.3371 0.3371 0.3371 71.76% Castro::subcycle_advance_ctu() 5 0.3297 0.3297 0.3297 70.19% Castro::do_advance_ctu() 5 0.3296 0.3296 0.3296 70.17% Castro::construct_ctu_hydro_source() 5 0.1497 0.1497 0.1497 31.88% Castro::construct_new_gravity() 5 0.1455 0.1455 0.1455 30.97% Gravity::solve_phi_with_mlmg() 6 0.1432 0.1432 0.1432 30.48% Gravity::solve_for_phi() 5 0.1374 0.1374 0.1374 29.24% Gravity::actual_solve_with_mlmg() 6 0.1373 0.1373 0.1373 29.22% MLMG::solve() 6 0.1249 0.1249 0.1249 26.59% MLMG::oneIter() 36 0.1171 0.1171 0.1171 24.94% MLMG::mgVcycle() 36 0.1155 0.1155 0.1155 24.60% Amr::init() 1 0.08462 0.08462 0.08462 18.01% Amr::restart() 1 0.08462 0.08462 0.08462 18.01% AmrLevel::restart() 1 0.0732 0.0732 0.0732 15.58% StateData::restartDoit() 4 0.07311 0.07311 0.07311 15.57% VisMF::Read() 3 0.07281 0.07281 0.07281 15.50% MLCellLinOp::smooth() 720 0.05458 0.05458 0.05458 11.62% MLCellLinOp::applyBC() 1910 0.05079 0.05079 0.05079 10.81% Amr::writePlotFile() 1 0.03975 0.03975 0.03975 8.46% MLMG::mgVcycle_bottom 36 0.03907 0.03907 0.03907 8.32% MLMG::actualBottomSolve() 36 0.03906 0.03906 0.03906 8.31% MLCGSolver::bicgstab 36 0.03869 0.03869 0.03869 8.24% VisMF::Write(FabArray) 1 0.02593 0.02593 0.02593 5.52% Castro::clean_state() 30 0.02497 0.02497 0.02497 5.32% MLCellLinOp::apply() 464 0.02315 0.02315 0.02315 4.93% AmrLevel::FillPatch() 20 0.02311 0.02311 0.02311 4.92% FillPatchIterator::Initialize 20 0.02101 0.02101 0.02101 4.47% FillPatchIterator::FillFromLevel0() 20 0.02018 0.02018 0.02018 4.30% FillPatchSingleLevel 20 0.02016 0.02016 0.02016 4.29% StateDataPhysBCFunct::() 20 0.0181 0.0181 0.0181 3.85% MLMG::mgVcycle_down::0 36 0.01547 0.01547 0.01547 3.29% MLPoisson::Fsmooth() 1440 0.01504 0.01504 0.01504 3.20% FabArray::FillBoundary() 1730 0.01445 0.01445 0.01445 3.08% FillBoundary_nowait() 1730 0.01409 0.01409 0.01409 3.00% StateData::FillBoundary(geom) 160 0.01314 0.01314 0.01314 2.80% MLMG::mgVcycle_up::0 36 0.01188 0.01188 0.01188 2.53% MLPoisson::Fapply() 464 0.01146 0.01146 0.01146 2.44% Castro::initialize_do_advance() 5 0.01009 0.01009 0.01009 2.15% Castro::normalize_species() 30 0.009648 0.009648 0.009648 2.05% MLPoisson::define() 6 0.009631 0.009631 0.009631 2.05% amrex::Dot() 484 0.009398 0.009398 0.009398 2.00% Castro::do_old_sources() 5 0.009303 0.009303 0.009303 1.98% MLMG:computeResOfCorrection() 180 0.009094 0.009094 0.009094 1.94% Castro::computeTemp() 30 0.009059 0.009059 0.009059 1.93% MLCellLinOp::correctionResidual() 180 0.009042 0.009042 0.009042 1.93% FabArray::norminf() 465 0.008772 0.008772 0.008772 1.87% Gravity::get_new_grav_vector() 5 0.007987 0.007987 0.007987 1.70% Castro::construct_old_gravity() 5 0.007776 0.007776 0.007776 1.66% Gravity::get_old_grav_vector() 5 0.00777 0.00777 0.00777 1.65% MLMG::mgVcycle_down::1 36 0.007745 0.007745 0.007745 1.65% Castro::initialize_advance() 5 0.006999 0.006999 0.006999 1.49% MLMG::mgVcycle_down::2 36 0.006882 0.006882 0.006882 1.47% FabArray::ParallelCopy() 380 0.006787 0.006787 0.006787 1.44% MLMG::mgVcycle_down::3 36 0.006687 0.006687 0.006687 1.42% FabArray::ParallelCopy_nowait() 380 0.006676 0.006676 0.006676 1.42% MLMG::mgVcycle_down::4 36 0.006638 0.006638 0.006638 1.41% FabArray::setVal() 501 0.006631 0.006631 0.006631 1.41% MLCellLinOp::defineAuxData() 6 0.006496 0.006496 0.006496 1.38% Castro::post_restart() 1 0.006451 0.006451 0.006451 1.37% Gravity::multilevel_solve_for_new_phi() 1 0.006048 0.006048 0.006048 1.29% Gravity::actual_multilevel_solve() 1 0.006032 0.006032 0.006032 1.28% FabArray::Saxpy() 597 0.005947 0.005947 0.005947 1.27% Castro::expand_state() 5 0.005915 0.005915 0.005915 1.26% Gravity::fill_multipole_BCs() 6 0.00579 0.00579 0.00579 1.23% MLCGSolver::ParallelAllReduce 798 0.005748 0.005748 0.005748 1.22% Castro::do_new_sources() 5 0.005619 0.005619 0.005619 1.20% MLMG::addInterpCorrection() 180 0.005536 0.005536 0.005536 1.18% amrex::Copy() 221 0.005486 0.005486 0.005486 1.17% Castro::post_timestep() 5 0.005391 0.005391 0.005391 1.15% MLMG::mgVcycle_up::4 36 0.00539 0.00539 0.00539 1.15% MLMG::mgVcycle_up::1 36 0.005359 0.005359 0.005359 1.14% MLMG::mgVcycle_up::2 36 0.005219 0.005219 0.005219 1.11% amrex::average_down 180 0.00515 0.00515 0.00515 1.10% MLMG::mgVcycle_up::3 36 0.005101 0.005101 0.005101 1.09% Castro::enforce_min_density() 30 0.004673 0.004673 0.004673 0.99% MLCellLinOp::solutionResidual() 42 0.003649 0.003649 0.003649 0.78% FabArray::Xpay() 325 0.003573 0.003573 0.003573 0.76% MLCellLinOp::defineBC() 6 0.002989 0.002989 0.002989 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002987 0.002987 0.002987 0.64% MLMG::prepareForSolve() 6 0.002911 0.002911 0.002911 0.62% MLMG::computeResidual() 36 0.002856 0.002856 0.002856 0.61% BndryData::define() 6 0.00283 0.00283 0.00283 0.60% Castro::estTimeStep() 10 0.002789 0.002789 0.002789 0.59% Castro::construct_new_source() 25 0.001856 0.001856 0.001856 0.40% Castro::construct_new_gravity_source() 5 0.00179 0.00179 0.00179 0.38% Castro::computeNewDt() 5 0.001773 0.001773 0.001773 0.38% amrex::Add() 36 0.001582 0.001582 0.001582 0.34% Castro::enforce_speed_limit() 30 0.00156 0.00156 0.00156 0.33% Castro::construct_old_source() 25 0.001533 0.001533 0.001533 0.33% Castro::construct_old_gravity_source() 5 0.001505 0.001505 0.001505 0.32% Castro::finalize_do_advance() 5 0.001064 0.001064 0.001064 0.23% MLMG::ResNormInf() 42 0.001033 0.001033 0.001033 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009819 0.0009819 0.0009819 0.21% Castro::apply_source_to_state() 10 0.0009602 0.0009602 0.0009602 0.20% check_for_negative_density() 5 0.0009569 0.0009569 0.0009569 0.20% MLMG::getGradSolution() 6 0.0009233 0.0009233 0.0009233 0.20% MLCellLinOp::compGrad() 6 0.0009198 0.0009198 0.0009198 0.20% MLCellLinOp::setLevelBC() 6 0.000899 0.000899 0.000899 0.19% FabArrayBase::getCPC() 632 0.0008358 0.0008358 0.0008358 0.18% Castro::reset_internal_energy(Fab) 240 0.0008301 0.0008301 0.0008301 0.18% MLMG::computeMLResidual() 6 0.0008127 0.0008127 0.0008127 0.17% MLPoisson::prepareForSolve() 6 0.0007578 0.0007578 0.0007578 0.16% Gravity::update_max_rhs() 6 0.0007558 0.0007558 0.0007558 0.16% MLCellLinOp::prepareForSolve() 6 0.0007487 0.0007487 0.0007487 0.16% FabArray::setDomainBndry() 20 0.0007103 0.0007103 0.0007103 0.15% FabArray::mult() 22 0.000707 0.000707 0.000707 0.15% Castro::check_for_nan() 10 0.0006708 0.0006708 0.0006708 0.14% MultiFab::contains_nan() 10 0.0006644 0.0006644 0.0006644 0.14% Amr::InitAmr() 1 0.0004912 0.0004912 0.0004912 0.10% FabArrayBase::CPC::define() 244 0.0004473 0.0004473 0.0004473 0.10% FabArrayBase::getFB() 1730 0.0003199 0.0003199 0.0003199 0.07% Castro::finalize_advance() 5 0.0003063 0.0003063 0.0003063 0.07% Gravity::swapTimeLevels() 5 0.0002378 0.0002378 0.0002378 0.05% MultiFab::max() 6 0.0002137 0.0002137 0.0002137 0.05% MLMG::MLResNormInf() 6 0.0001934 0.0001934 0.0001934 0.04% Castro::buildMetrics() 1 0.000163 0.000163 0.000163 0.03% MLLinOp::define() 6 0.0001316 0.0001316 0.0001316 0.03% MLLinOp::defineGrids() 6 0.0001253 0.0001253 0.0001253 0.03% MLMG::MLRhsNormInf() 6 0.0001251 0.0001251 0.0001251 0.03% Castro::create_source_corrector() 5 0.0001019 0.0001019 0.0001019 0.02% FabArrayBase::FB::FB() 26 6.233e-05 6.233e-05 6.233e-05 0.01% Amr::writeSmallPlotFile() 1 3.567e-05 3.567e-05 3.567e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.932e-05 2.932e-05 2.932e-05 0.01% Castro::swap_state_time_levels() 5 2.577e-05 2.577e-05 2.577e-05 0.01% Castro::initMFs() 1 2.563e-05 2.563e-05 2.563e-05 0.01% makeSFC 30 2.21e-05 2.21e-05 2.21e-05 0.00% DistributionMapping::Distribute() 31 9.099e-06 9.099e-06 9.099e-06 0.00% Amr::initSubcycle() 1 8.46e-06 8.46e-06 8.46e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.965e-06 4.965e-06 4.965e-06 0.00% Gravity::set_mass_offset() 6 2.419e-06 2.419e-06 2.419e-06 0.00% Castro::retry_advance_ctu() 5 2.113e-06 2.113e-06 2.113e-06 0.00% Castro::FluxRegCrseInit 5 1.705e-06 1.705e-06 1.705e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.139e-06 1.139e-06 1.139e-06 0.00% Castro::FluxRegFineAdd() 5 1.138e-06 1.138e-06 1.138e-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 169 MiB 9042 MiB Castro::initMFs() 48 48 56 MiB 68 MiB Castro::swap_state_time_levels() 32 32 45 MiB 55 MiB StateData::restartDoit() 32 32 52 MiB 55 MiB FillPatchIterator::Initialize 160 160 972 KiB 39 MiB Castro::initialize_do_advance() 40 40 27 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1630 KiB 28 MiB Castro::initialize_advance() 40 40 16 MiB 23 MiB Castro::buildMetrics() 32 32 13 MiB 15 MiB Castro::post_restart() 48 48 6308 KiB 14 MiB MLMG::prepareForSolve() 361 361 3266 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 171 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 174 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6295 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 20 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3201 B 2048 KiB Gravity::solve_for_phi() 40 40 597 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 26 KiB 2048 KiB BndryData::define() 576 576 300 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 192 KiB 671 KiB Castro::estTimeStep() 10 10 2837 B 480 KiB VisMF::Write(FabArray) 112 112 2174 B 320 KiB Castro::normalize_species() 30 30 6686 B 320 KiB amrex::average_down 469 469 1072 B 257 KiB MLMG::addInterpCorrection() 468 468 1003 B 257 KiB amrex::Dot() 592 592 2952 B 160 KiB FabArray::norminf() 501 501 2880 B 160 KiB check_for_negative_density() 5 5 327 B 160 KiB MultiFab::max() 6 6 71 B 160 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MultiFab::contains_nan() 10 10 28 B 20 KiB MLPoisson::Fsmooth() 60 60 3170 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 256 B 9648 B MLCellLinOp::applyBC() 3820 3820 192 B 9344 B amrex::Copy() 56 56 5478 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 33 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 338 B 1248 B MLCGSolver::bicgstab 180 180 99 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1061 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 79 KiB 8192 KiB VisMF::Write(FabArray) 120 120 144 KiB 3584 KiB VisMF::Read() 24 24 234 KiB 3000 KiB FabArray::setVal() 66 66 17 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3170 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 41 B 10 KiB FillBoundary_nowait() 336 336 256 B 9648 B MLCellLinOp::applyBC() 1910 1910 191 B 9328 B amrex::Copy() 56 56 5478 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2475 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 33 B 2352 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::prepareForSolve() 7 7 495 B 1296 B amrex::average_down 37 37 202 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 27 B 400 B FabArray::norminf() 501 501 10 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2167 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (24.02-12-g68244ec91d11) finalized