Initializing AMReX (v2024-33-g9e71c2cb9714)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-33-g9e71c2cb9714) initialized Starting run at 08:39:40 UTC on 2024-03-25. Successfully read inputs file ... Castro git describe: 24.03-26-g5707c0c2f AMReX git describe: v2024-33-g9e71c2cb9 Microphysics git describe: 24.03-21-g81de2adb 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.04690987 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02573702 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.073087038 [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.049972711 [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.072609616 [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.079940744 [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.068008342 [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.052656195 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.076692431 [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.073410862 [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.064209661 [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.063783685 [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.070077418 [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.045049059 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.085489819 seconds Ending run at 08:39:41 UTC on 2024-03-25. Run time = 1.004595234 Run time without initialization = 0.875748243 Average number of zones advanced per microsecond: 2.993 Average number of zones advanced per microsecond per rank: 2.993 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 1.005 ... 1.005 ... 1.005 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3049 0.3049 0.3049 30.35% VisMF::Write(FabArray) 11 0.2462 0.2462 0.2462 24.50% MLCellLinOp::applyBC() 4351 0.08142 0.08142 0.08142 8.10% MLPoisson::Fsmooth() 3280 0.03403 0.03403 0.03403 3.39% FillBoundary_nowait() 3941 0.03101 0.03101 0.03101 3.09% StateData::FillBoundary(geom) 328 0.02768 0.02768 0.02768 2.76% amrex::Dot() 1114 0.02181 0.02181 0.02181 2.17% Castro::normalize_species() 62 0.02104 0.02104 0.02104 2.09% FabArray::norminf() 1061 0.02033 0.02033 0.02033 2.02% Castro::computeTemp() 63 0.01755 0.01755 0.01755 1.75% FabArray::ParallelCopy_nowait() 861 0.01397 0.01397 0.01397 1.39% Castro::enforce_min_density() 62 0.01376 0.01376 0.01376 1.37% FabArray::setVal() 1062 0.01365 0.01365 0.01365 1.36% FabArray::Saxpy() 1370 0.01332 0.01332 0.01332 1.33% StateDataPhysBCFunct::() 41 0.012 0.012 0.012 1.19% amrex::Copy() 472 0.01099 0.01099 0.01099 1.09% MLCellLinOp::defineAuxData() 11 0.01054 0.01054 0.01054 1.05% MLPoisson::Fapply() 1060 0.01044 0.01044 0.01044 1.04% Gravity::fill_multipole_BCs() 11 0.009176 0.009176 0.009176 0.91% FabArray::Xpay() 739 0.00792 0.00792 0.00792 0.79% MLMG::addInterpCorrection() 410 0.007062 0.007062 0.007062 0.70% Amr::checkPoint() 3 0.007002 0.007002 0.007002 0.70% Castro::estTimeStep() 21 0.006473 0.006473 0.006473 0.64% amrex::average_down 410 0.00626 0.00626 0.00626 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005321 0.005321 0.005321 0.53% BndryData::define() 11 0.004088 0.004088 0.004088 0.41% amrex::Add() 82 0.003643 0.003643 0.003643 0.36% Castro::construct_new_gravity_source() 10 0.003572 0.003572 0.003572 0.36% Castro::construct_old_gravity_source() 10 0.002962 0.002962 0.002962 0.29% Castro::enforce_speed_limit() 62 0.002376 0.002376 0.002376 0.24% Amr::writePlotFile() 2 0.002201 0.002201 0.002201 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00182 0.00182 0.00182 0.18% check_for_negative_density() 10 0.001769 0.001769 0.001769 0.18% Castro::reset_internal_energy(Fab) 504 0.001718 0.001718 0.001718 0.17% MLCGSolver::bicgstab 82 0.001642 0.001642 0.001642 0.16% MLCellLinOp::setLevelBC() 11 0.001611 0.001611 0.001611 0.16% Castro::initData() 1 0.001593 0.001593 0.001593 0.16% Gravity::actual_solve_with_mlmg() 11 0.001518 0.001518 0.001518 0.15% FabArray::setDomainBndry() 41 0.001403 0.001403 0.001403 0.14% FabArray::mult() 43 0.001391 0.001391 0.001391 0.14% MLCellLinOp::prepareForSolve() 11 0.001319 0.001319 0.001319 0.13% MultiFab::contains_nan() 20 0.001262 0.001262 0.001262 0.13% MLCellLinOp::smooth() 1640 0.001214 0.001214 0.001214 0.12% MLCellLinOp::compGrad() 11 0.001077 0.001077 0.001077 0.11% MLMG::prepareForSolve() 11 0.0009449 0.0009449 0.0009449 0.09% FabArray::FillBoundary() 3941 0.0007985 0.0007985 0.0007985 0.08% FabArrayBase::getCPC() 1323 0.0007495 0.0007495 0.0007495 0.07% FabArrayBase::CPC::define() 454 0.0006836 0.0006836 0.0006836 0.07% FabArrayBase::getFB() 3941 0.000618 0.000618 0.000618 0.06% Gravity::get_new_grav_vector() 11 0.0006157 0.0006157 0.0006157 0.06% Amr::InitAmr() 1 0.0005509 0.0005509 0.0005509 0.05% Gravity::get_old_grav_vector() 10 0.0004982 0.0004982 0.0004982 0.05% MLCellLinOp::apply() 1060 0.0004259 0.0004259 0.0004259 0.04% Amr::coarseTimeStep() 10 0.0004131 0.0004131 0.0004131 0.04% AmrLevel::FillPatch() 41 0.0004057 0.0004057 0.0004057 0.04% MultiFab::max() 11 0.0003392 0.0003392 0.0003392 0.03% MLCGSolver::ParallelAllReduce 1832 0.0003095 0.0003095 0.0003095 0.03% main() 1 0.0002906 0.0002906 0.0002906 0.03% MLCellLinOp::defineBC() 11 0.0002649 0.0002649 0.0002649 0.03% FabArray::ParallelCopy() 861 0.0002356 0.0002356 0.0002356 0.02% FillPatchIterator::Initialize 41 0.0002179 0.0002179 0.0002179 0.02% MLMG::mgVcycle() 82 0.0002005 0.0002005 0.0002005 0.02% MLCellLinOp::correctionResidual() 410 0.0001816 0.0001816 0.0001816 0.02% Castro::subcycle_advance_ctu() 10 0.0001783 0.0001783 0.0001783 0.02% Castro::create_source_corrector() 10 0.0001735 0.0001735 0.0001735 0.02% MLLinOp::defineGrids() 11 0.0001727 0.0001727 0.0001727 0.02% Amr::timeStep() 10 0.0001508 0.0001508 0.0001508 0.02% Gravity::update_max_rhs() 11 0.0001425 0.0001425 0.0001425 0.01% StateData::checkPoint() 12 0.0001416 0.0001416 0.0001416 0.01% MLMG:computeResOfCorrection() 410 0.0001247 0.0001247 0.0001247 0.01% Gravity::solve_for_phi() 10 0.0001094 0.0001094 0.0001094 0.01% Castro::advance() 10 9.455e-05 9.455e-05 9.455e-05 0.01% Castro::Castro() 1 9.337e-05 9.337e-05 9.337e-05 0.01% MLMG::mgVcycle_down::0 82 9.276e-05 9.276e-05 9.276e-05 0.01% Castro::initialize_advance() 10 8.73e-05 8.73e-05 8.73e-05 0.01% MLMG::actualBottomSolve() 82 8.468e-05 8.468e-05 8.468e-05 0.01% FabArrayBase::FB::FB() 56 8.375e-05 8.375e-05 8.375e-05 0.01% MLMG::mgVcycle_down::2 82 8.36e-05 8.36e-05 8.36e-05 0.01% MLMG::mgVcycle_down::1 82 8.142e-05 8.142e-05 8.142e-05 0.01% MLMG::mgVcycle_down::4 82 7.801e-05 7.801e-05 7.801e-05 0.01% MLMG::mgVcycle_down::3 82 7.593e-05 7.593e-05 7.593e-05 0.01% MLMG::solve() 11 7.247e-05 7.247e-05 7.247e-05 0.01% Castro::clean_state() 62 7.036e-05 7.036e-05 7.036e-05 0.01% Castro::enforce_consistent_e() 1 6.972e-05 6.972e-05 6.972e-05 0.01% Castro::initialize_do_advance() 10 6.659e-05 6.659e-05 6.659e-05 0.01% AmrLevel::checkPoint() 3 6.508e-05 6.508e-05 6.508e-05 0.01% Castro::finalize_advance() 10 6.369e-05 6.369e-05 6.369e-05 0.01% MLMG::mgVcycle_up::4 82 6.367e-05 6.367e-05 6.367e-05 0.01% Castro::post_timestep() 10 6.004e-05 6.004e-05 6.004e-05 0.01% MLMG::mgVcycle_up::0 82 5.415e-05 5.415e-05 5.415e-05 0.01% MLMG::mgVcycle_up::3 82 5.359e-05 5.359e-05 5.359e-05 0.01% MLMG::oneIter() 82 5.329e-05 5.329e-05 5.329e-05 0.01% MLMG::mgVcycle_up::1 82 5.265e-05 5.265e-05 5.265e-05 0.01% MLMG::mgVcycle_up::2 82 5.172e-05 5.172e-05 5.172e-05 0.01% MLCellLinOp::solutionResidual() 93 4.978e-05 4.978e-05 4.978e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.852e-05 4.852e-05 4.852e-05 0.00% Castro::do_new_sources() 10 4.817e-05 4.817e-05 4.817e-05 0.00% Castro::construct_new_source() 50 4.77e-05 4.77e-05 4.77e-05 0.00% Castro::do_advance_ctu() 10 4.642e-05 4.642e-05 4.642e-05 0.00% Castro::finalize_do_advance() 10 4.367e-05 4.367e-05 4.367e-05 0.00% StateData::define() 4 4.188e-05 4.188e-05 4.188e-05 0.00% Castro::swap_state_time_levels() 10 3.738e-05 3.738e-05 3.738e-05 0.00% FillPatchSingleLevel 41 3.59e-05 3.59e-05 3.59e-05 0.00% MLMG::mgVcycle_bottom 82 3.475e-05 3.475e-05 3.475e-05 0.00% MLMG::ResNormInf() 93 3.236e-05 3.236e-05 3.236e-05 0.00% makeSFC 55 3.187e-05 3.187e-05 3.187e-05 0.00% MLMG::computeResidual() 82 3.122e-05 3.122e-05 3.122e-05 0.00% Castro::initMFs() 1 3.08e-05 3.08e-05 3.08e-05 0.00% Castro::buildMetrics() 1 3.032e-05 3.032e-05 3.032e-05 0.00% Amr::writeSmallPlotFile() 1 2.938e-05 2.938e-05 2.938e-05 0.00% Amr::defBaseLevel() 1 2.789e-05 2.789e-05 2.789e-05 0.00% MLPoisson::define() 11 2.66e-05 2.66e-05 2.66e-05 0.00% Castro::do_old_sources() 10 2.637e-05 2.637e-05 2.637e-05 0.00% Castro::construct_new_gravity() 10 2.423e-05 2.423e-05 2.423e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.343e-05 2.343e-05 2.343e-05 0.00% Castro::construct_old_source() 50 1.968e-05 1.968e-05 1.968e-05 0.00% Amr::FinalizeInit() 1 1.851e-05 1.851e-05 1.851e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.821e-05 1.821e-05 1.821e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.807e-05 1.807e-05 1.807e-05 0.00% DistributionMapping::Distribute() 56 1.676e-05 1.676e-05 1.676e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.449e-05 1.449e-05 1.449e-05 0.00% Castro::check_for_nan() 20 1.383e-05 1.383e-05 1.383e-05 0.00% MLPoisson::prepareForSolve() 11 1.308e-05 1.308e-05 1.308e-05 0.00% MLLinOp::define() 11 1.254e-05 1.254e-05 1.254e-05 0.00% Castro::apply_source_to_state() 20 1.13e-05 1.13e-05 1.13e-05 0.00% Gravity::swapTimeLevels() 10 1.12e-05 1.12e-05 1.12e-05 0.00% Castro::construct_old_gravity() 10 1.022e-05 1.022e-05 1.022e-05 0.00% Castro::post_init() 1 1.006e-05 1.006e-05 1.006e-05 0.00% Castro::computeNewDt() 9 9.901e-06 9.901e-06 9.901e-06 0.00% Amr::initSubcycle() 1 9.843e-06 9.843e-06 9.843e-06 0.00% MLMG::computeMLResidual() 11 8.856e-06 8.856e-06 8.856e-06 0.00% Gravity::actual_multilevel_solve() 1 8.079e-06 8.079e-06 8.079e-06 0.00% Amr::InitializeInit() 1 6.931e-06 6.931e-06 6.931e-06 0.00% AmrLevel::checkPointPost() 3 6.595e-06 6.595e-06 6.595e-06 0.00% Castro::expand_state() 10 6.171e-06 6.171e-06 6.171e-06 0.00% MLMG::getGradSolution() 11 5.842e-06 5.842e-06 5.842e-06 0.00% Castro::retry_advance_ctu() 10 5.34e-06 5.34e-06 5.34e-06 0.00% Amr::init() 1 5.006e-06 5.006e-06 5.006e-06 0.00% Gravity::set_mass_offset() 11 4.428e-06 4.428e-06 4.428e-06 0.00% MLMG::MLRhsNormInf() 11 3.977e-06 3.977e-06 3.977e-06 0.00% MLMG::MLResNormInf() 11 3.514e-06 3.514e-06 3.514e-06 0.00% Castro::FluxRegCrseInit 10 3.253e-06 3.253e-06 3.253e-06 0.00% Castro::computeInitialDt() 2 3.03e-06 3.03e-06 3.03e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.939e-06 2.939e-06 2.939e-06 0.00% AmrLevel::checkPointPre() 3 2.576e-06 2.576e-06 2.576e-06 0.00% Castro::FluxRegFineAdd() 10 2.323e-06 2.323e-06 2.323e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.872e-06 1.872e-06 1.872e-06 0.00% Castro::post_regrid() 1 1.365e-06 1.365e-06 1.365e-06 0.00% Amr::initialInit() 1 1.134e-06 1.134e-06 1.134e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 1.005 1.005 1.005 100.00% Amr::coarseTimeStep() 10 0.79 0.79 0.79 78.64% Amr::timeStep() 10 0.6882 0.6882 0.6882 68.51% Castro::advance() 10 0.6765 0.6765 0.6765 67.34% Castro::subcycle_advance_ctu() 10 0.6611 0.6611 0.6611 65.80% Castro::do_advance_ctu() 10 0.6609 0.6609 0.6609 65.78% Castro::construct_ctu_hydro_source() 10 0.3156 0.3156 0.3156 31.42% Gravity::solve_phi_with_mlmg() 11 0.2978 0.2978 0.2978 29.64% Gravity::actual_solve_with_mlmg() 11 0.2882 0.2882 0.2882 28.69% Castro::construct_new_gravity() 10 0.2686 0.2686 0.2686 26.74% MLMG::solve() 11 0.2658 0.2658 0.2658 26.46% Gravity::solve_for_phi() 10 0.2522 0.2522 0.2522 25.10% MLMG::oneIter() 82 0.2503 0.2503 0.2503 24.92% MLMG::mgVcycle() 82 0.2466 0.2466 0.2466 24.55% VisMF::Write(FabArray) 11 0.2462 0.2462 0.2462 24.50% Amr::checkPoint() 3 0.1448 0.1448 0.1448 14.41% AmrLevel::checkPoint() 3 0.1378 0.1378 0.1378 13.71% StateData::checkPoint() 12 0.1377 0.1377 0.1377 13.71% Amr::init() 1 0.1282 0.1282 0.1282 12.76% MLCellLinOp::smooth() 1640 0.1229 0.1229 0.1229 12.23% MLCellLinOp::applyBC() 4351 0.1139 0.1139 0.1139 11.34% Amr::writePlotFile() 2 0.1114 0.1114 0.1114 11.08% MLMG::mgVcycle_bottom 82 0.07408 0.07408 0.07408 7.37% MLMG::actualBottomSolve() 82 0.07404 0.07404 0.07404 7.37% MLCGSolver::bicgstab 82 0.07322 0.07322 0.07322 7.29% Castro::clean_state() 62 0.06083 0.06083 0.06083 6.05% Amr::initialInit() 1 0.05539 0.05539 0.05539 5.51% Amr::FinalizeInit() 1 0.04999 0.04999 0.04999 4.98% AmrLevel::FillPatch() 41 0.04981 0.04981 0.04981 4.96% Castro::post_init() 1 0.04846 0.04846 0.04846 4.82% Gravity::multilevel_solve_for_new_phi() 1 0.04605 0.04605 0.04605 4.58% Gravity::actual_multilevel_solve() 1 0.04603 0.04603 0.04603 4.58% FillPatchIterator::Initialize 41 0.0455 0.0455 0.0455 4.53% FillPatchIterator::FillFromLevel0() 41 0.04388 0.04388 0.04388 4.37% FillPatchSingleLevel 41 0.04383 0.04383 0.04383 4.36% StateDataPhysBCFunct::() 41 0.03969 0.03969 0.03969 3.95% MLCellLinOp::apply() 1060 0.03667 0.03667 0.03667 3.65% MLMG::mgVcycle_down::0 82 0.03497 0.03497 0.03497 3.48% MLPoisson::Fsmooth() 3280 0.03403 0.03403 0.03403 3.39% FabArray::FillBoundary() 3941 0.03251 0.03251 0.03251 3.24% FillBoundary_nowait() 3941 0.03171 0.03171 0.03171 3.16% StateData::FillBoundary(geom) 328 0.02768 0.02768 0.02768 2.76% MLMG::mgVcycle_up::0 82 0.02633 0.02633 0.02633 2.62% Castro::computeTemp() 63 0.02458 0.02458 0.02458 2.45% Castro::initialize_do_advance() 10 0.02289 0.02289 0.02289 2.28% amrex::Dot() 1114 0.02181 0.02181 0.02181 2.17% Castro::normalize_species() 62 0.02104 0.02104 0.02104 2.09% MLMG:computeResOfCorrection() 410 0.02066 0.02066 0.02066 2.06% MLCellLinOp::correctionResidual() 410 0.02053 0.02053 0.02053 2.04% FabArray::norminf() 1061 0.02033 0.02033 0.02033 2.02% Castro::do_old_sources() 10 0.01977 0.01977 0.01977 1.97% Gravity::get_new_grav_vector() 11 0.01839 0.01839 0.01839 1.83% MLPoisson::define() 11 0.01765 0.01765 0.01765 1.76% MLMG::mgVcycle_down::1 82 0.01685 0.01685 0.01685 1.68% Castro::construct_old_gravity() 10 0.01593 0.01593 0.01593 1.59% Gravity::get_old_grav_vector() 10 0.01592 0.01592 0.01592 1.58% MLMG::mgVcycle_down::2 82 0.01567 0.01567 0.01567 1.56% MLMG::mgVcycle_down::3 82 0.01532 0.01532 0.01532 1.52% MLMG::mgVcycle_down::4 82 0.01522 0.01522 0.01522 1.52% FabArray::ParallelCopy() 861 0.01498 0.01498 0.01498 1.49% FabArray::ParallelCopy_nowait() 861 0.01474 0.01474 0.01474 1.47% Castro::initialize_advance() 10 0.01472 0.01472 0.01472 1.46% Castro::do_new_sources() 10 0.01438 0.01438 0.01438 1.43% Castro::enforce_min_density() 62 0.01376 0.01376 0.01376 1.37% FabArray::setVal() 1062 0.01365 0.01365 0.01365 1.36% FabArray::Saxpy() 1370 0.01332 0.01332 0.01332 1.33% MLCGSolver::ParallelAllReduce 1832 0.01305 0.01305 0.01305 1.30% MLMG::addInterpCorrection() 410 0.01249 0.01249 0.01249 1.24% Castro::expand_state() 10 0.01238 0.01238 0.01238 1.23% MLMG::mgVcycle_up::1 82 0.01222 0.01222 0.01222 1.22% MLMG::mgVcycle_up::4 82 0.01214 0.01214 0.01214 1.21% MLCellLinOp::defineAuxData() 11 0.01201 0.01201 0.01201 1.20% MLMG::mgVcycle_up::2 82 0.01192 0.01192 0.01192 1.19% amrex::average_down 410 0.01171 0.01171 0.01171 1.17% MLMG::mgVcycle_up::3 82 0.0117 0.0117 0.0117 1.16% Castro::post_timestep() 10 0.01158 0.01158 0.01158 1.15% amrex::Copy() 472 0.01099 0.01099 0.01099 1.09% MLPoisson::Fapply() 1060 0.01044 0.01044 0.01044 1.04% Gravity::fill_multipole_BCs() 11 0.00941 0.00941 0.00941 0.94% FabArray::Xpay() 739 0.00792 0.00792 0.00792 0.79% MLCellLinOp::solutionResidual() 93 0.00776 0.00776 0.00776 0.77% Castro::reset_internal_energy(MultiFab) 63 0.007038 0.007038 0.007038 0.70% MLMG::computeResidual() 82 0.006505 0.006505 0.006505 0.65% Castro::estTimeStep() 21 0.006473 0.006473 0.006473 0.64% Amr::InitializeInit() 1 0.005404 0.005404 0.005404 0.54% Amr::defBaseLevel() 1 0.005397 0.005397 0.005397 0.54% MLCellLinOp::defineBC() 11 0.005366 0.005366 0.005366 0.53% MLMG::prepareForSolve() 11 0.005196 0.005196 0.005196 0.52% BndryData::define() 11 0.005101 0.005101 0.005101 0.51% Castro::initData() 1 0.004681 0.004681 0.004681 0.47% amrex::Add() 82 0.003643 0.003643 0.003643 0.36% Castro::construct_new_source() 50 0.00362 0.00362 0.00362 0.36% Castro::construct_new_gravity_source() 10 0.003572 0.003572 0.003572 0.36% Castro::construct_old_source() 50 0.002982 0.002982 0.002982 0.30% Castro::construct_old_gravity_source() 10 0.002962 0.002962 0.002962 0.29% Castro::computeNewDt() 9 0.002814 0.002814 0.002814 0.28% Castro::finalize_do_advance() 10 0.002684 0.002684 0.002684 0.27% Castro::enforce_speed_limit() 62 0.002376 0.002376 0.002376 0.24% MLMG::ResNormInf() 93 0.002189 0.002189 0.002189 0.22% Castro::apply_source_to_state() 20 0.001884 0.001884 0.001884 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.00182 0.00182 0.00182 0.18% check_for_negative_density() 10 0.001769 0.001769 0.001769 0.18% Castro::reset_internal_energy(Fab) 504 0.001718 0.001718 0.001718 0.17% MLCellLinOp::setLevelBC() 11 0.001611 0.001611 0.001611 0.16% MLMG::getGradSolution() 11 0.001594 0.001594 0.001594 0.16% MLCellLinOp::compGrad() 11 0.001589 0.001589 0.001589 0.16% FabArrayBase::getCPC() 1323 0.001433 0.001433 0.001433 0.14% FabArray::setDomainBndry() 41 0.001403 0.001403 0.001403 0.14% FabArray::mult() 43 0.001391 0.001391 0.001391 0.14% MLPoisson::prepareForSolve() 11 0.001332 0.001332 0.001332 0.13% MLCellLinOp::prepareForSolve() 11 0.001319 0.001319 0.001319 0.13% MLMG::computeMLResidual() 11 0.001295 0.001295 0.001295 0.13% Castro::check_for_nan() 20 0.001276 0.001276 0.001276 0.13% MultiFab::contains_nan() 20 0.001262 0.001262 0.001262 0.13% Castro::post_regrid() 1 0.001215 0.001215 0.001215 0.12% Gravity::update_max_rhs() 11 0.001045 0.001045 0.001045 0.10% Castro::computeInitialDt() 2 0.001031 0.001031 0.001031 0.10% FabArrayBase::getFB() 3941 0.0007018 0.0007018 0.0007018 0.07% FabArrayBase::CPC::define() 454 0.0006836 0.0006836 0.0006836 0.07% Castro::Castro() 1 0.0006247 0.0006247 0.0006247 0.06% Castro::finalize_advance() 10 0.0006165 0.0006165 0.0006165 0.06% Amr::InitAmr() 1 0.0005607 0.0005607 0.0005607 0.06% Gravity::swapTimeLevels() 10 0.0004857 0.0004857 0.0004857 0.05% MultiFab::max() 11 0.0003392 0.0003392 0.0003392 0.03% MLMG::MLResNormInf() 11 0.0003302 0.0003302 0.0003302 0.03% Castro::buildMetrics() 1 0.0003021 0.0003021 0.0003021 0.03% MLLinOp::define() 11 0.0002491 0.0002491 0.0002491 0.02% MLLinOp::defineGrids() 11 0.0002365 0.0002365 0.0002365 0.02% MLMG::MLRhsNormInf() 11 0.0002306 0.0002306 0.0002306 0.02% Castro::create_source_corrector() 10 0.0001735 0.0001735 0.0001735 0.02% FabArrayBase::FB::FB() 56 8.375e-05 8.375e-05 8.375e-05 0.01% Castro::enforce_consistent_e() 1 6.972e-05 6.972e-05 6.972e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 6.196e-05 6.196e-05 6.196e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.995e-05 5.995e-05 5.995e-05 0.01% makeSFC 55 4.746e-05 4.746e-05 4.746e-05 0.00% StateData::define() 4 4.188e-05 4.188e-05 4.188e-05 0.00% Castro::swap_state_time_levels() 10 3.738e-05 3.738e-05 3.738e-05 0.00% Castro::initMFs() 1 3.08e-05 3.08e-05 3.08e-05 0.00% Amr::writeSmallPlotFile() 1 2.938e-05 2.938e-05 2.938e-05 0.00% DistributionMapping::Distribute() 56 1.676e-05 1.676e-05 1.676e-05 0.00% Amr::initSubcycle() 1 9.843e-06 9.843e-06 9.843e-06 0.00% AmrLevel::checkPointPost() 3 6.595e-06 6.595e-06 6.595e-06 0.00% Castro::retry_advance_ctu() 10 5.34e-06 5.34e-06 5.34e-06 0.00% Gravity::set_mass_offset() 11 4.428e-06 4.428e-06 4.428e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.109e-06 4.109e-06 4.109e-06 0.00% Castro::FluxRegCrseInit 10 3.253e-06 3.253e-06 3.253e-06 0.00% AmrLevel::checkPointPre() 3 2.576e-06 2.576e-06 2.576e-06 0.00% Castro::FluxRegFineAdd() 10 2.323e-06 2.323e-06 2.323e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.872e-06 1.872e-06 1.872e-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 5702 KiB 9037 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 967 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 3138 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3254 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 190 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 162 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7520 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 15 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1999 B 2048 KiB Gravity::solve_for_phi() 80 80 513 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 93 KiB 2048 KiB BndryData::define() 1056 1056 297 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 189 KiB 671 KiB Castro::estTimeStep() 21 21 3137 B 480 KiB VisMF::Write(FabArray) 656 656 3104 B 320 KiB Castro::normalize_species() 62 62 6826 B 320 KiB amrex::average_down 1067 1067 1519 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1065 B 257 KiB amrex::Dot() 1360 1360 3204 B 160 KiB FabArray::norminf() 1143 1143 3115 B 160 KiB check_for_negative_density() 10 10 282 B 160 KiB Castro::initData() 1 1 48 B 160 KiB MultiFab::max() 11 11 52 B 160 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3177 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 269 B 9648 B MLCellLinOp::applyBC() 8702 8702 202 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3914 B 6144 B StateData::FillBoundary(geom) 1992 1992 41 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCellLinOp::defineBC() 66 66 335 B 1248 B MLCGSolver::bicgstab 410 410 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 563 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 37 KiB 8192 KiB VisMF::Write(FabArray) 744 744 411 KiB 3584 KiB FabArray::setVal() 106 106 25 KiB 30 KiB MLPoisson::Fsmooth() 132 132 3177 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 269 B 9648 B MLCellLinOp::applyBC() 4351 4351 200 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3914 B 6144 B Gravity::get_new_grav_vector() 3 3 2904 B 3072 B StateData::FillBoundary(geom) 1992 1992 42 B 3024 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B amrex::average_down 83 83 617 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 271 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 1143 1143 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): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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 (v2024-33-g9e71c2cb9714) finalized Initializing AMReX (v2024-33-g9e71c2cb9714)... Initializing CUDA... CUDA initialized with 1 device. AMReX (v2024-33-g9e71c2cb9714) initialized Starting run at 08:39:42 UTC on 2024-03-25. Successfully read inputs file ... Castro git describe: 24.03-26-g5707c0c2f AMReX git describe: v2024-33-g9e71c2cb9 Microphysics git describe: 24.03-21-g81de2adb reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.525168665 Restart time = 0.072977686 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.068641104 [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.048418471 [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.071399339 [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.081391549 [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.068344091 [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.027439835 seconds Ending run at 08:39:42 UTC on 2024-03-25. Run time = 0.439691507 Run time without initialization = 0.366087455 Average number of zones advanced per microsecond: 3.580 Average number of zones advanced per microsecond per rank: 3.580 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9476456448 TinyProfiler total time across processes [min...avg...max]: 0.4397 ... 0.4397 ... 0.4397 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1423 0.1423 0.1423 32.36% VisMF::Read() 3 0.06179 0.06179 0.06179 14.05% MLCellLinOp::applyBC() 1910 0.03599 0.03599 0.03599 8.18% VisMF::Write(FabArray) 1 0.02479 0.02479 0.02479 5.64% MLPoisson::Fsmooth() 1440 0.01498 0.01498 0.01498 3.41% StateData::FillBoundary(geom) 160 0.01331 0.01331 0.01331 3.03% FillBoundary_nowait() 1730 0.01298 0.01298 0.01298 2.95% Castro::normalize_species() 30 0.01102 0.01102 0.01102 2.51% amrex::Dot() 484 0.009387 0.009387 0.009387 2.13% FabArray::norminf() 465 0.008883 0.008883 0.008883 2.02% Castro::computeTemp() 30 0.007642 0.007642 0.007642 1.74% FabArray::setVal() 501 0.006702 0.006702 0.006702 1.52% FabArray::ParallelCopy_nowait() 380 0.006272 0.006272 0.006272 1.43% Castro::enforce_min_density() 30 0.006063 0.006063 0.006063 1.38% FabArray::Saxpy() 597 0.005959 0.005959 0.005959 1.36% MLCellLinOp::defineAuxData() 6 0.005772 0.005772 0.005772 1.31% amrex::Copy() 221 0.005538 0.005538 0.005538 1.26% Gravity::fill_multipole_BCs() 6 0.005003 0.005003 0.005003 1.14% Amr::restart() 1 0.004799 0.004799 0.004799 1.09% StateDataPhysBCFunct::() 20 0.004676 0.004676 0.004676 1.06% MLPoisson::Fapply() 464 0.00456 0.00456 0.00456 1.04% FabArray::Xpay() 325 0.00353 0.00353 0.00353 0.80% Castro::estTimeStep() 10 0.003181 0.003181 0.003181 0.72% MLMG::addInterpCorrection() 180 0.003162 0.003162 0.003162 0.72% amrex::average_down 180 0.002782 0.002782 0.002782 0.63% Amr::writePlotFile() 1 0.0025 0.0025 0.0025 0.57% BndryData::define() 6 0.002254 0.002254 0.002254 0.51% Castro::construct_new_gravity_source() 5 0.001896 0.001896 0.001896 0.43% amrex::Add() 36 0.001558 0.001558 0.001558 0.35% Castro::construct_old_gravity_source() 5 0.001528 0.001528 0.001528 0.35% Castro::reset_internal_energy(MultiFab) 30 0.001487 0.001487 0.001487 0.34% Castro::enforce_speed_limit() 30 0.001225 0.001225 0.001225 0.28% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009929 0.0009929 0.0009929 0.23% check_for_negative_density() 5 0.0009294 0.0009294 0.0009294 0.21% Castro::reset_internal_energy(Fab) 240 0.0009126 0.0009126 0.0009126 0.21% MLCellLinOp::setLevelBC() 6 0.0008982 0.0008982 0.0008982 0.20% Gravity::actual_solve_with_mlmg() 6 0.0008272 0.0008272 0.0008272 0.19% MLCellLinOp::prepareForSolve() 6 0.0007651 0.0007651 0.0007651 0.17% FabArray::setDomainBndry() 20 0.000732 0.000732 0.000732 0.17% MLCGSolver::bicgstab 36 0.0007299 0.0007299 0.0007299 0.17% FabArray::mult() 22 0.0007081 0.0007081 0.0007081 0.16% MultiFab::contains_nan() 10 0.0006677 0.0006677 0.0006677 0.15% MLCellLinOp::compGrad() 6 0.0006221 0.0006221 0.0006221 0.14% MLMG::prepareForSolve() 6 0.000551 0.000551 0.000551 0.13% MLCellLinOp::smooth() 720 0.0004966 0.0004966 0.0004966 0.11% Amr::InitAmr() 1 0.0004609 0.0004609 0.0004609 0.10% FabArrayBase::CPC::define() 244 0.0004297 0.0004297 0.0004297 0.10% Gravity::get_old_grav_vector() 5 0.0003537 0.0003537 0.0003537 0.08% FabArrayBase::getCPC() 632 0.000353 0.000353 0.000353 0.08% FabArray::FillBoundary() 1730 0.0003511 0.0003511 0.0003511 0.08% Gravity::get_new_grav_vector() 5 0.0003327 0.0003327 0.0003327 0.08% FabArrayBase::getFB() 1730 0.0002751 0.0002751 0.0002751 0.06% main() 1 0.0002667 0.0002667 0.0002667 0.06% MultiFab::max() 6 0.0002122 0.0002122 0.0002122 0.05% AmrLevel::FillPatch() 20 0.0002064 0.0002064 0.0002064 0.05% MLCellLinOp::apply() 464 0.0001846 0.0001846 0.0001846 0.04% Amr::coarseTimeStep() 5 0.0001809 0.0001809 0.0001809 0.04% MLCellLinOp::defineBC() 6 0.0001468 0.0001468 0.0001468 0.03% MLCGSolver::ParallelAllReduce 798 0.0001374 0.0001374 0.0001374 0.03% Castro::subcycle_advance_ctu() 5 0.0001284 0.0001284 0.0001284 0.03% FillPatchIterator::Initialize 20 0.0001148 0.0001148 0.0001148 0.03% FabArray::ParallelCopy() 380 0.0001085 0.0001085 0.0001085 0.02% Castro::create_source_corrector() 5 0.0001082 0.0001082 0.0001082 0.02% MLLinOp::defineGrids() 6 0.0001032 0.0001032 0.0001032 0.02% MLMG::mgVcycle() 36 9.336e-05 9.336e-05 9.336e-05 0.02% Amr::timeStep() 5 8.614e-05 8.614e-05 8.614e-05 0.02% AmrLevel::restart() 1 7.806e-05 7.806e-05 7.806e-05 0.02% StateData::restartDoit() 4 7.748e-05 7.748e-05 7.748e-05 0.02% MLCellLinOp::correctionResidual() 180 7.462e-05 7.462e-05 7.462e-05 0.02% Gravity::update_max_rhs() 6 6.404e-05 6.404e-05 6.404e-05 0.01% FabArrayBase::FB::FB() 26 5.844e-05 5.844e-05 5.844e-05 0.01% Castro::advance() 5 5.796e-05 5.796e-05 5.796e-05 0.01% Castro::construct_new_source() 25 5.671e-05 5.671e-05 5.671e-05 0.01% MLMG:computeResOfCorrection() 180 5.639e-05 5.639e-05 5.639e-05 0.01% Gravity::solve_for_phi() 5 5.228e-05 5.228e-05 5.228e-05 0.01% MLMG::mgVcycle_down::0 36 4.42e-05 4.42e-05 4.42e-05 0.01% Castro::do_advance_ctu() 5 4.357e-05 4.357e-05 4.357e-05 0.01% Castro::finalize_do_advance() 5 4.219e-05 4.219e-05 4.219e-05 0.01% Castro::initialize_do_advance() 5 3.967e-05 3.967e-05 3.967e-05 0.01% MLMG::actualBottomSolve() 36 3.866e-05 3.866e-05 3.866e-05 0.01% MLMG::mgVcycle_down::1 36 3.651e-05 3.651e-05 3.651e-05 0.01% MLMG::solve() 6 3.566e-05 3.566e-05 3.566e-05 0.01% Castro::initialize_advance() 5 3.56e-05 3.56e-05 3.56e-05 0.01% Castro::clean_state() 30 3.532e-05 3.532e-05 3.532e-05 0.01% MLMG::mgVcycle_down::2 36 3.47e-05 3.47e-05 3.47e-05 0.01% MLMG::mgVcycle_down::4 36 3.362e-05 3.362e-05 3.362e-05 0.01% MLMG::mgVcycle_down::3 36 3.216e-05 3.216e-05 3.216e-05 0.01% Amr::writeSmallPlotFile() 1 3.107e-05 3.107e-05 3.107e-05 0.01% Castro::finalize_advance() 5 3.074e-05 3.074e-05 3.074e-05 0.01% Castro::construct_old_source() 25 2.946e-05 2.946e-05 2.946e-05 0.01% Castro::post_restart() 1 2.926e-05 2.926e-05 2.926e-05 0.01% Castro::buildMetrics() 1 2.908e-05 2.908e-05 2.908e-05 0.01% Castro::post_timestep() 5 2.859e-05 2.859e-05 2.859e-05 0.01% MLMG::mgVcycle_up::4 36 2.712e-05 2.712e-05 2.712e-05 0.01% Castro::swap_state_time_levels() 5 2.467e-05 2.467e-05 2.467e-05 0.01% MLMG::oneIter() 36 2.437e-05 2.437e-05 2.437e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.42e-05 2.42e-05 2.42e-05 0.01% MLMG::mgVcycle_up::3 36 2.337e-05 2.337e-05 2.337e-05 0.01% Castro::initMFs() 1 2.313e-05 2.313e-05 2.313e-05 0.01% MLMG::mgVcycle_up::0 36 2.299e-05 2.299e-05 2.299e-05 0.01% MLCellLinOp::solutionResidual() 42 2.287e-05 2.287e-05 2.287e-05 0.01% MLMG::mgVcycle_up::2 36 2.223e-05 2.223e-05 2.223e-05 0.01% MLMG::mgVcycle_up::1 36 2.11e-05 2.11e-05 2.11e-05 0.00% MLPoisson::define() 6 2.102e-05 2.102e-05 2.102e-05 0.00% FillPatchSingleLevel 20 2.007e-05 2.007e-05 2.007e-05 0.00% Castro::computeNewDt() 5 1.988e-05 1.988e-05 1.988e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.683e-05 1.683e-05 1.683e-05 0.00% MLMG::ResNormInf() 42 1.631e-05 1.631e-05 1.631e-05 0.00% MLMG::mgVcycle_bottom 36 1.576e-05 1.576e-05 1.576e-05 0.00% makeSFC 30 1.489e-05 1.489e-05 1.489e-05 0.00% MLMG::computeResidual() 36 1.379e-05 1.379e-05 1.379e-05 0.00% Castro::construct_new_gravity() 5 1.362e-05 1.362e-05 1.362e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.355e-05 1.355e-05 1.355e-05 0.00% Castro::do_old_sources() 5 1.277e-05 1.277e-05 1.277e-05 0.00% Castro::do_new_sources() 5 1.162e-05 1.162e-05 1.162e-05 0.00% DistributionMapping::Distribute() 31 1.023e-05 1.023e-05 1.023e-05 0.00% MLPoisson::prepareForSolve() 6 9.89e-06 9.89e-06 9.89e-06 0.00% Amr::initSubcycle() 1 9.828e-06 9.828e-06 9.828e-06 0.00% Gravity::actual_multilevel_solve() 1 8.498e-06 8.498e-06 8.498e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.343e-06 7.343e-06 7.343e-06 0.00% Castro::check_for_nan() 10 7.16e-06 7.16e-06 7.16e-06 0.00% Castro::apply_source_to_state() 10 6.843e-06 6.843e-06 6.843e-06 0.00% MLLinOp::define() 6 6.573e-06 6.573e-06 6.573e-06 0.00% Castro::construct_old_gravity() 5 5.637e-06 5.637e-06 5.637e-06 0.00% MLMG::computeMLResidual() 6 4.219e-06 4.219e-06 4.219e-06 0.00% Gravity::swapTimeLevels() 5 3.681e-06 3.681e-06 3.681e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.163e-06 3.163e-06 3.163e-06 0.00% Castro::expand_state() 5 3.134e-06 3.134e-06 3.134e-06 0.00% MLMG::getGradSolution() 6 2.965e-06 2.965e-06 2.965e-06 0.00% Castro::retry_advance_ctu() 5 2.597e-06 2.597e-06 2.597e-06 0.00% MLMG::MLResNormInf() 6 2.325e-06 2.325e-06 2.325e-06 0.00% Gravity::set_mass_offset() 6 2.156e-06 2.156e-06 2.156e-06 0.00% MLMG::MLRhsNormInf() 6 2.061e-06 2.061e-06 2.061e-06 0.00% Castro::FluxRegCrseInit 5 1.685e-06 1.685e-06 1.685e-06 0.00% Castro::FluxRegFineAdd() 5 1.26e-06 1.26e-06 1.26e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.096e-06 1.096e-06 1.096e-06 0.00% Amr::init() 1 9.76e-07 9.76e-07 9.76e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4397 0.4397 0.4397 100.00% Amr::coarseTimeStep() 5 0.3384 0.3384 0.3384 76.95% Amr::timeStep() 5 0.3363 0.3363 0.3363 76.47% Castro::advance() 5 0.3307 0.3307 0.3307 75.20% Castro::subcycle_advance_ctu() 5 0.3227 0.3227 0.3227 73.40% Castro::do_advance_ctu() 5 0.3226 0.3226 0.3226 73.37% Castro::construct_ctu_hydro_source() 5 0.1477 0.1477 0.1477 33.60% Castro::construct_new_gravity() 5 0.1373 0.1373 0.1373 31.22% Gravity::solve_phi_with_mlmg() 6 0.1344 0.1344 0.1344 30.56% Gravity::solve_for_phi() 5 0.1291 0.1291 0.1291 29.37% Gravity::actual_solve_with_mlmg() 6 0.1291 0.1291 0.1291 29.36% MLMG::solve() 6 0.1167 0.1167 0.1167 26.54% MLMG::oneIter() 36 0.109 0.109 0.109 24.78% MLMG::mgVcycle() 36 0.1074 0.1074 0.1074 24.42% Amr::init() 1 0.07302 0.07302 0.07302 16.61% Amr::restart() 1 0.07302 0.07302 0.07302 16.61% AmrLevel::restart() 1 0.06218 0.06218 0.06218 14.14% StateData::restartDoit() 4 0.0621 0.0621 0.0621 14.12% VisMF::Read() 3 0.06179 0.06179 0.06179 14.05% MLCellLinOp::smooth() 720 0.05339 0.05339 0.05339 12.14% MLCellLinOp::applyBC() 1910 0.04965 0.04965 0.04965 11.29% MLMG::mgVcycle_bottom 36 0.0322 0.0322 0.0322 7.32% MLMG::actualBottomSolve() 36 0.03219 0.03219 0.03219 7.32% MLCGSolver::bicgstab 36 0.03181 0.03181 0.03181 7.23% Castro::clean_state() 30 0.02838 0.02838 0.02838 6.45% Amr::writePlotFile() 1 0.02754 0.02754 0.02754 6.26% VisMF::Write(FabArray) 1 0.02479 0.02479 0.02479 5.64% AmrLevel::FillPatch() 20 0.02306 0.02306 0.02306 5.24% FillPatchIterator::Initialize 20 0.02093 0.02093 0.02093 4.76% FillPatchIterator::FillFromLevel0() 20 0.02009 0.02009 0.02009 4.57% FillPatchSingleLevel 20 0.02006 0.02006 0.02006 4.56% StateDataPhysBCFunct::() 20 0.01798 0.01798 0.01798 4.09% MLCellLinOp::apply() 464 0.01619 0.01619 0.01619 3.68% MLMG::mgVcycle_down::0 36 0.01516 0.01516 0.01516 3.45% MLPoisson::Fsmooth() 1440 0.01498 0.01498 0.01498 3.41% FabArray::FillBoundary() 1730 0.01367 0.01367 0.01367 3.11% FillBoundary_nowait() 1730 0.01331 0.01331 0.01331 3.03% StateData::FillBoundary(geom) 160 0.01331 0.01331 0.01331 3.03% MLMG::mgVcycle_up::0 36 0.01129 0.01129 0.01129 2.57% Castro::normalize_species() 30 0.01102 0.01102 0.01102 2.51% Castro::initialize_do_advance() 5 0.01076 0.01076 0.01076 2.45% Castro::computeTemp() 30 0.01004 0.01004 0.01004 2.28% MLPoisson::define() 6 0.009729 0.009729 0.009729 2.21% amrex::Dot() 484 0.009387 0.009387 0.009387 2.13% Castro::do_old_sources() 5 0.009218 0.009218 0.009218 2.10% MLMG:computeResOfCorrection() 180 0.009017 0.009017 0.009017 2.05% MLCellLinOp::correctionResidual() 180 0.00896 0.00896 0.00896 2.04% FabArray::norminf() 465 0.008883 0.008883 0.008883 2.02% Castro::construct_old_gravity() 5 0.008107 0.008107 0.008107 1.84% Gravity::get_old_grav_vector() 5 0.008102 0.008102 0.008102 1.84% Gravity::get_new_grav_vector() 5 0.008024 0.008024 0.008024 1.82% Castro::do_new_sources() 5 0.00766 0.00766 0.00766 1.74% Castro::initialize_advance() 5 0.007566 0.007566 0.007566 1.72% MLMG::mgVcycle_down::1 36 0.007457 0.007457 0.007457 1.70% MLMG::mgVcycle_down::2 36 0.00685 0.00685 0.00685 1.56% FabArray::ParallelCopy() 380 0.006763 0.006763 0.006763 1.54% FabArray::setVal() 501 0.006702 0.006702 0.006702 1.52% MLMG::mgVcycle_down::3 36 0.006691 0.006691 0.006691 1.52% FabArray::ParallelCopy_nowait() 380 0.006654 0.006654 0.006654 1.51% MLMG::mgVcycle_down::4 36 0.006624 0.006624 0.006624 1.51% MLCellLinOp::defineAuxData() 6 0.006578 0.006578 0.006578 1.50% Castro::enforce_min_density() 30 0.006063 0.006063 0.006063 1.38% FabArray::Saxpy() 597 0.005959 0.005959 0.005959 1.36% Castro::post_restart() 1 0.005852 0.005852 0.005852 1.33% Castro::expand_state() 5 0.00568 0.00568 0.00568 1.29% MLCGSolver::ParallelAllReduce 798 0.005679 0.005679 0.005679 1.29% amrex::Copy() 221 0.005538 0.005538 0.005538 1.26% Castro::post_timestep() 5 0.005512 0.005512 0.005512 1.25% MLMG::addInterpCorrection() 180 0.00551 0.00551 0.00551 1.25% Gravity::multilevel_solve_for_new_phi() 1 0.005465 0.005465 0.005465 1.24% Gravity::actual_multilevel_solve() 1 0.005449 0.005449 0.005449 1.24% MLMG::mgVcycle_up::1 36 0.005336 0.005336 0.005336 1.21% MLMG::mgVcycle_up::4 36 0.005314 0.005314 0.005314 1.21% MLMG::mgVcycle_up::2 36 0.005229 0.005229 0.005229 1.19% amrex::average_down 180 0.00514 0.00514 0.00514 1.17% Gravity::fill_multipole_BCs() 6 0.00513 0.00513 0.00513 1.17% MLMG::mgVcycle_up::3 36 0.005118 0.005118 0.005118 1.16% MLPoisson::Fapply() 464 0.00456 0.00456 0.00456 1.04% MLCellLinOp::solutionResidual() 42 0.003653 0.003653 0.003653 0.83% FabArray::Xpay() 325 0.00353 0.00353 0.00353 0.80% Castro::estTimeStep() 10 0.003181 0.003181 0.003181 0.72% MLCellLinOp::defineBC() 6 0.002988 0.002988 0.002988 0.68% MLMG::prepareForSolve() 6 0.002924 0.002924 0.002924 0.67% MLMG::computeResidual() 36 0.00285 0.00285 0.00285 0.65% BndryData::define() 6 0.002841 0.002841 0.002841 0.65% Castro::reset_internal_energy(MultiFab) 30 0.0024 0.0024 0.0024 0.55% Castro::construct_new_source() 25 0.001952 0.001952 0.001952 0.44% Castro::computeNewDt() 5 0.001917 0.001917 0.001917 0.44% Castro::construct_new_gravity_source() 5 0.001896 0.001896 0.001896 0.43% amrex::Add() 36 0.001558 0.001558 0.001558 0.35% Castro::construct_old_source() 25 0.001557 0.001557 0.001557 0.35% Castro::construct_old_gravity_source() 5 0.001528 0.001528 0.001528 0.35% Castro::finalize_do_advance() 5 0.001326 0.001326 0.001326 0.30% Castro::enforce_speed_limit() 30 0.001225 0.001225 0.001225 0.28% MLMG::ResNormInf() 42 0.001011 0.001011 0.001011 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009929 0.0009929 0.0009929 0.23% Castro::apply_source_to_state() 10 0.0009633 0.0009633 0.0009633 0.22% check_for_negative_density() 5 0.0009294 0.0009294 0.0009294 0.21% MLMG::getGradSolution() 6 0.0009195 0.0009195 0.0009195 0.21% MLCellLinOp::compGrad() 6 0.0009165 0.0009165 0.0009165 0.21% Castro::reset_internal_energy(Fab) 240 0.0009126 0.0009126 0.0009126 0.21% MLCellLinOp::setLevelBC() 6 0.0008982 0.0008982 0.0008982 0.20% MLMG::computeMLResidual() 6 0.0008203 0.0008203 0.0008203 0.19% FabArrayBase::getCPC() 632 0.0007827 0.0007827 0.0007827 0.18% MLPoisson::prepareForSolve() 6 0.000775 0.000775 0.000775 0.18% MLCellLinOp::prepareForSolve() 6 0.0007651 0.0007651 0.0007651 0.17% Gravity::update_max_rhs() 6 0.0007347 0.0007347 0.0007347 0.17% FabArray::setDomainBndry() 20 0.000732 0.000732 0.000732 0.17% FabArray::mult() 22 0.0007081 0.0007081 0.0007081 0.16% Castro::check_for_nan() 10 0.0006748 0.0006748 0.0006748 0.15% MultiFab::contains_nan() 10 0.0006677 0.0006677 0.0006677 0.15% Amr::InitAmr() 1 0.0004707 0.0004707 0.0004707 0.11% FabArrayBase::CPC::define() 244 0.0004297 0.0004297 0.0004297 0.10% FabArrayBase::getFB() 1730 0.0003335 0.0003335 0.0003335 0.08% Castro::finalize_advance() 5 0.0003099 0.0003099 0.0003099 0.07% Gravity::swapTimeLevels() 5 0.0002524 0.0002524 0.0002524 0.06% MultiFab::max() 6 0.0002122 0.0002122 0.0002122 0.05% MLMG::MLResNormInf() 6 0.0001952 0.0001952 0.0001952 0.04% Castro::buildMetrics() 1 0.0001659 0.0001659 0.0001659 0.04% MLLinOp::define() 6 0.000142 0.000142 0.000142 0.03% MLLinOp::defineGrids() 6 0.0001354 0.0001354 0.0001354 0.03% MLMG::MLRhsNormInf() 6 0.0001237 0.0001237 0.0001237 0.03% Castro::create_source_corrector() 5 0.0001082 0.0001082 0.0001082 0.02% FabArrayBase::FB::FB() 26 5.844e-05 5.844e-05 5.844e-05 0.01% Amr::writeSmallPlotFile() 1 3.107e-05 3.107e-05 3.107e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 3.107e-05 3.107e-05 3.107e-05 0.01% Castro::swap_state_time_levels() 5 2.467e-05 2.467e-05 2.467e-05 0.01% makeSFC 30 2.373e-05 2.373e-05 2.373e-05 0.01% Castro::initMFs() 1 2.313e-05 2.313e-05 2.313e-05 0.01% DistributionMapping::Distribute() 31 1.023e-05 1.023e-05 1.023e-05 0.00% Amr::initSubcycle() 1 9.828e-06 9.828e-06 9.828e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.554e-06 4.554e-06 4.554e-06 0.00% Castro::retry_advance_ctu() 5 2.597e-06 2.597e-06 2.597e-06 0.00% Gravity::set_mass_offset() 6 2.156e-06 2.156e-06 2.156e-06 0.00% Castro::FluxRegCrseInit 5 1.685e-06 1.685e-06 1.685e-06 0.00% Castro::FluxRegFineAdd() 5 1.26e-06 1.26e-06 1.26e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.096e-06 1.096e-06 1.096e-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 11 MiB 9037 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 1018 KiB 39 MiB Castro::initialize_do_advance() 40 40 28 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1666 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 6411 KiB 14 MiB MLMG::prepareForSolve() 361 361 3258 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 191 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 186 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6398 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 18 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3327 B 2048 KiB Gravity::solve_for_phi() 40 40 600 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 25 KiB 2048 KiB BndryData::define() 576 576 300 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 193 KiB 671 KiB Castro::estTimeStep() 10 10 3465 B 480 KiB VisMF::Write(FabArray) 112 112 1272 B 320 KiB Castro::normalize_species() 30 30 8157 B 320 KiB amrex::average_down 469 469 1376 B 257 KiB MLMG::addInterpCorrection() 468 468 1071 B 257 KiB amrex::Dot() 592 592 3146 B 160 KiB FabArray::norminf() 501 501 3115 B 160 KiB check_for_negative_density() 5 5 338 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3156 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 44 B 10 KiB FillBoundary_nowait() 336 336 256 B 9648 B MLCellLinOp::applyBC() 3820 3820 204 B 9344 B amrex::Copy() 56 56 5851 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 2208 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCellLinOp::defineBC() 36 36 337 B 1248 B MLCGSolver::bicgstab 180 180 87 B 1216 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1195 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 82 KiB 8192 KiB VisMF::Write(FabArray) 120 120 157 KiB 3584 KiB VisMF::Read() 24 24 213 KiB 3000 KiB FabArray::setVal() 66 66 20 KiB 27 KiB MLPoisson::Fsmooth() 60 60 3156 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 45 B 10 KiB FillBoundary_nowait() 336 336 256 B 9648 B MLCellLinOp::applyBC() 1910 1910 203 B 9328 B amrex::Copy() 56 56 5851 B 8816 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2516 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 38 B 2208 B MLMG::prepareForSolve() 7 7 792 B 1648 B amrex::average_down 37 37 462 B 1648 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 501 501 9 B 144 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12049 Free GPU global memory (MB): 2180 [The Arena] space allocated (MB): 9037 [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 (v2024-33-g9e71c2cb9714) finalized