Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-7-g88f03408f18a) initialized Starting run at 07:49:08 UTC on 2023-07-04. Successfully read inputs file ... Castro git describe: 23.07 AMReX git describe: 23.07-7-g88f03408f Microphysics git describe: 23.07-7-g2059cd81 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.058154162 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.033312749 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.046532524 [STEP 1] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 1 TIME = 4.541742215e-05 DT = 4.541742215e-05 [Level 0 step 2] ADVANCE at time 4.541742215e-05 with dt = 4.768829326e-05 [Level 0 step 2] Advanced 262144 cells [STEP 2] Coarse TimeStep time: 0.047787322 [STEP 2] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 2 TIME = 9.31057154e-05 DT = 4.768829326e-05 [Level 0 step 3] ADVANCE at time 9.31057154e-05 with dt = 5.007270792e-05 [Level 0 step 3] Advanced 262144 cells [STEP 3] Coarse TimeStep time: 0.069511934 [STEP 3] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 3 TIME = 0.0001431784233 DT = 5.007270792e-05 [Level 0 step 4] ADVANCE at time 0.0001431784233 with dt = 5.257634331e-05 [Level 0 step 4] Advanced 262144 cells [STEP 4] Coarse TimeStep time: 0.071751529 [STEP 4] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 4 TIME = 0.0001957547666 DT = 5.257634331e-05 [Level 0 step 5] ADVANCE at time 0.0001957547666 with dt = 5.520516048e-05 [Level 0 step 5] Advanced 262144 cells [STEP 5] Coarse TimeStep time: 0.058671958 [STEP 5] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 5 TIME = 0.0002509599271 DT = 5.520516048e-05 CHECKPOINT: file = dustcollapse-restart_chk00005 checkPoint() time = 0.058441046 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.066589464 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.064803232 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.076588464 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.072107187 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.053075643 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 CHECKPOINT: file = dustcollapse-restart_chk00010 checkPoint() time = 0.058177697 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.033469987 seconds Ending run at 07:49:09 UTC on 2023-07-04. Run time = 0.917461963 Run time without initialization = 0.778168867 Average number of zones advanced per microsecond: 3.369 Average number of zones advanced per microsecond per rank: 3.369 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9175 ... 0.9175 ... 0.9175 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2692 0.2692 0.2692 29.34% VisMF::Write(FabArray) 11 0.2347 0.2347 0.2347 25.58% MLCellLinOp::applyBC() 4433 0.07453 0.07453 0.07453 8.12% MLPoisson::Fsmooth() 3280 0.03126 0.03126 0.03126 3.41% FillBoundary_nowait() 4023 0.03093 0.03093 0.03093 3.37% StateData::FillBoundary(geom) 328 0.02378 0.02378 0.02378 2.59% amrex::Dot() 1114 0.01978 0.01978 0.01978 2.16% Castro::normalize_species() 62 0.01852 0.01852 0.01852 2.02% Castro::computeTemp() 63 0.01471 0.01471 0.01471 1.60% amrex::Copy() 1029 0.01444 0.01444 0.01444 1.57% FabArray::norminf() 743 0.01388 0.01388 0.01388 1.51% FabArray::ParallelCopy_nowait() 861 0.01296 0.01296 0.01296 1.41% Castro::enforce_min_density() 62 0.01277 0.01277 0.01277 1.39% FabArray::setVal() 1144 0.0127 0.0127 0.0127 1.38% StateDataPhysBCFunct::() 41 0.01245 0.01245 0.01245 1.36% MLPoisson::Fapply() 1142 0.009954 0.009954 0.009954 1.08% MLCellLinOp::defineAuxData() 11 0.009246 0.009246 0.009246 1.01% FabArray::Saxpy() 813 0.007889 0.007889 0.007889 0.86% FabArray::Xpay() 821 0.00782 0.00782 0.00782 0.85% Gravity::fill_multipole_BCs() 11 0.00649 0.00649 0.00649 0.71% MLMG::addInterpCorrection() 410 0.006482 0.006482 0.006482 0.71% amrex::average_down 410 0.005835 0.005835 0.005835 0.64% Castro::estTimeStep() 21 0.00567 0.00567 0.00567 0.62% Castro::reset_internal_energy(MultiFab) 63 0.00491 0.00491 0.00491 0.54% amrex::Add() 164 0.004334 0.004334 0.004334 0.47% FabArray::LinComb() 557 0.004307 0.004307 0.004307 0.47% Amr::checkPoint() 3 0.003981 0.003981 0.003981 0.43% BndryData::define() 11 0.003542 0.003542 0.003542 0.39% Castro::construct_new_gravity_source() 10 0.003079 0.003079 0.003079 0.34% Castro::construct_old_gravity_source() 10 0.002755 0.002755 0.002755 0.30% Amr::writePlotFile() 2 0.002345 0.002345 0.002345 0.26% Castro::enforce_speed_limit() 62 0.002257 0.002257 0.002257 0.25% MLCGSolver::bicgstab 82 0.002148 0.002148 0.002148 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001593 0.001593 0.001593 0.17% Castro::reset_internal_energy(Fab) 504 0.001573 0.001573 0.001573 0.17% Gravity::actual_solve_with_mlmg() 11 0.001481 0.001481 0.001481 0.16% check_for_negative_density() 10 0.001448 0.001448 0.001448 0.16% MLCellLinOp::setLevelBC() 11 0.001354 0.001354 0.001354 0.15% FabArray::mult() 43 0.001294 0.001294 0.001294 0.14% FabArray::setDomainBndry() 41 0.001287 0.001287 0.001287 0.14% Castro::initData() 1 0.001257 0.001257 0.001257 0.14% MultiFab::contains_nan() 20 0.001183 0.001183 0.001183 0.13% MLCellLinOp::prepareForSolve() 11 0.001091 0.001091 0.001091 0.12% MLCellLinOp::smooth() 1640 0.001064 0.001064 0.001064 0.12% MLCellLinOp::compGrad() 11 0.0008921 0.0008921 0.0008921 0.10% MLMG::prepareForSolve() 11 0.0008561 0.0008561 0.0008561 0.09% FabArray::FillBoundary() 4023 0.0007974 0.0007974 0.0007974 0.09% FabArrayBase::getCPC() 1323 0.0007055 0.0007055 0.0007055 0.08% FabArrayBase::CPC::define() 454 0.0006616 0.0006616 0.0006616 0.07% Gravity::get_new_grav_vector() 11 0.0006256 0.0006256 0.0006256 0.07% FabArrayBase::getFB() 4023 0.0005926 0.0005926 0.0005926 0.06% Gravity::get_old_grav_vector() 10 0.0005403 0.0005403 0.0005403 0.06% Amr::InitAmr() 1 0.0005083 0.0005083 0.0005083 0.06% MLCellLinOp::apply() 1142 0.0004377 0.0004377 0.0004377 0.05% Amr::coarseTimeStep() 10 0.0003751 0.0003751 0.0003751 0.04% MLMG::mgVcycle() 82 0.0003622 0.0003622 0.0003622 0.04% MLLinOp::defineGrids() 11 0.0003618 0.0003618 0.0003618 0.04% main() 1 0.0003229 0.0003229 0.0003229 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002831 0.0002831 0.0002831 0.03% MultiFab::max() 11 0.0002555 0.0002555 0.0002555 0.03% FillPatchIterator::Initialize 41 0.0002278 0.0002278 0.0002278 0.02% FabArray::ParallelCopy() 861 0.0002257 0.0002257 0.0002257 0.02% MLCellLinOp::correctionResidual() 492 0.0002245 0.0002245 0.0002245 0.02% MLCellLinOp::defineBC() 11 0.0002143 0.0002143 0.0002143 0.02% Castro::subcycle_advance_ctu() 10 0.000194 0.000194 0.000194 0.02% Amr::timeStep() 10 0.0001686 0.0001686 0.0001686 0.02% Castro::create_source_corrector() 10 0.0001625 0.0001625 0.0001625 0.02% StateData::checkPoint() 12 0.0001404 0.0001404 0.0001404 0.02% Gravity::update_max_rhs() 11 0.0001292 0.0001292 0.0001292 0.01% MLMG:computeResOfCorrection() 410 0.0001149 0.0001149 0.0001149 0.01% Gravity::solve_for_phi() 10 0.0001056 0.0001056 0.0001056 0.01% Castro::construct_new_source() 50 0.0001013 0.0001013 0.0001013 0.01% Castro::advance() 10 8.981e-05 8.981e-05 8.981e-05 0.01% FabArrayBase::FB::FB() 56 8.851e-05 8.851e-05 8.851e-05 0.01% MLMG::mgVcycle_down::1 82 8.828e-05 8.828e-05 8.828e-05 0.01% MLMG::actualBottomSolve() 82 8.816e-05 8.816e-05 8.816e-05 0.01% Castro::do_old_sources() 10 8.762e-05 8.762e-05 8.762e-05 0.01% MLMG::mgVcycle_down::0 82 8.576e-05 8.576e-05 8.576e-05 0.01% MLMG::mgVcycle_down::2 82 8.503e-05 8.503e-05 8.503e-05 0.01% Castro::Castro() 1 8.423e-05 8.423e-05 8.423e-05 0.01% MLMG::mgVcycle_down::3 82 8.027e-05 8.027e-05 8.027e-05 0.01% MLMG::mgVcycle_down::4 82 7.95e-05 7.95e-05 7.95e-05 0.01% AmrLevel::checkPoint() 3 7.858e-05 7.858e-05 7.858e-05 0.01% Castro::expand_state() 10 7.698e-05 7.698e-05 7.698e-05 0.01% Castro::initialize_advance() 10 7.245e-05 7.245e-05 7.245e-05 0.01% MLMG::solve() 11 7.15e-05 7.15e-05 7.15e-05 0.01% Castro::do_new_sources() 10 7.106e-05 7.106e-05 7.106e-05 0.01% Castro::clean_state() 62 6.676e-05 6.676e-05 6.676e-05 0.01% MLMG::mgVcycle_up::4 82 6.201e-05 6.201e-05 6.201e-05 0.01% Castro::finalize_advance() 10 6.087e-05 6.087e-05 6.087e-05 0.01% Castro::initialize_do_advance() 10 5.797e-05 5.797e-05 5.797e-05 0.01% MLMG::mgVcycle_up::1 82 5.341e-05 5.341e-05 5.341e-05 0.01% MLMG::oneIter() 82 5.326e-05 5.326e-05 5.326e-05 0.01% MLMG::mgVcycle_up::0 82 5.312e-05 5.312e-05 5.312e-05 0.01% MLMG::mgVcycle_up::3 82 5.26e-05 5.26e-05 5.26e-05 0.01% MLMG::mgVcycle_up::2 82 5.221e-05 5.221e-05 5.221e-05 0.01% MLCellLinOp::solutionResidual() 93 4.998e-05 4.998e-05 4.998e-05 0.01% StateData::define() 4 4.098e-05 4.098e-05 4.098e-05 0.00% Castro::do_advance_ctu() 10 4.095e-05 4.095e-05 4.095e-05 0.00% Castro::finalize_do_advance() 10 4.041e-05 4.041e-05 4.041e-05 0.00% Castro::swap_state_time_levels() 10 3.989e-05 3.989e-05 3.989e-05 0.00% Castro::post_timestep() 10 3.903e-05 3.903e-05 3.903e-05 0.00% MLMG::ResNormInf() 93 3.416e-05 3.416e-05 3.416e-05 0.00% MLMG::computeResidual() 82 3.362e-05 3.362e-05 3.362e-05 0.00% MLMG::mgVcycle_bottom 82 3.237e-05 3.237e-05 3.237e-05 0.00% Castro::enforce_consistent_e() 1 3.141e-05 3.141e-05 3.141e-05 0.00% Castro::construct_new_gravity() 10 3.118e-05 3.118e-05 3.118e-05 0.00% FillPatchSingleLevel 41 2.932e-05 2.932e-05 2.932e-05 0.00% MLPoisson::define() 11 2.67e-05 2.67e-05 2.67e-05 0.00% Amr::writeSmallPlotFile() 1 2.527e-05 2.527e-05 2.527e-05 0.00% Castro::initMFs() 1 2.387e-05 2.387e-05 2.387e-05 0.00% makeSFC 55 2.38e-05 2.38e-05 2.38e-05 0.00% Amr::defBaseLevel() 1 2.147e-05 2.147e-05 2.147e-05 0.00% Amr::FinalizeInit() 1 2.127e-05 2.127e-05 2.127e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.094e-05 2.094e-05 2.094e-05 0.00% Castro::buildMetrics() 1 1.855e-05 1.855e-05 1.855e-05 0.00% Castro::construct_old_source() 50 1.852e-05 1.852e-05 1.852e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.665e-05 1.665e-05 1.665e-05 0.00% MLLinOp::define() 11 1.595e-05 1.595e-05 1.595e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.573e-05 1.573e-05 1.573e-05 0.00% DistributionMapping::Distribute() 56 1.559e-05 1.559e-05 1.559e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.362e-05 1.362e-05 1.362e-05 0.00% Castro::check_for_nan() 20 1.167e-05 1.167e-05 1.167e-05 0.00% Castro::apply_source_to_state() 20 1.058e-05 1.058e-05 1.058e-05 0.00% Castro::construct_old_gravity() 10 1.044e-05 1.044e-05 1.044e-05 0.00% MLPoisson::prepareForSolve() 11 8.978e-06 8.978e-06 8.978e-06 0.00% Amr::initSubcycle() 1 8.896e-06 8.896e-06 8.896e-06 0.00% Gravity::swapTimeLevels() 10 8.493e-06 8.493e-06 8.493e-06 0.00% Gravity::actual_multilevel_solve() 1 8.083e-06 8.083e-06 8.083e-06 0.00% MLMG::computeMLResidual() 11 7.876e-06 7.876e-06 7.876e-06 0.00% Castro::computeNewDt() 9 6.479e-06 6.479e-06 6.479e-06 0.00% AmrLevel::checkPointPost() 3 6.376e-06 6.376e-06 6.376e-06 0.00% MLMG::getGradSolution() 11 5.859e-06 5.859e-06 5.859e-06 0.00% Amr::InitializeInit() 1 5.124e-06 5.124e-06 5.124e-06 0.00% Castro::post_init() 1 4.558e-06 4.558e-06 4.558e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.2e-06 4.2e-06 4.2e-06 0.00% Castro::retry_advance_ctu() 10 4.01e-06 4.01e-06 4.01e-06 0.00% MLMG::MLRhsNormInf() 11 3.623e-06 3.623e-06 3.623e-06 0.00% Gravity::set_mass_offset() 11 3.583e-06 3.583e-06 3.583e-06 0.00% MLMG::MLResNormInf() 11 3.177e-06 3.177e-06 3.177e-06 0.00% Castro::FluxRegCrseInit 10 2.776e-06 2.776e-06 2.776e-06 0.00% Castro::computeInitialDt() 2 2.7e-06 2.7e-06 2.7e-06 0.00% Castro::FluxRegFineAdd() 10 2.118e-06 2.118e-06 2.118e-06 0.00% Amr::init() 1 2.065e-06 2.065e-06 2.065e-06 0.00% AmrLevel::checkPointPre() 3 1.866e-06 1.866e-06 1.866e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.809e-06 1.809e-06 1.809e-06 0.00% Amr::initialInit() 1 1.126e-06 1.126e-06 1.126e-06 0.00% Castro::post_regrid() 1 8.59e-07 8.59e-07 8.59e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9175 0.9175 0.9175 100.00% Amr::coarseTimeStep() 10 0.7445 0.7445 0.7445 81.14% Amr::timeStep() 10 0.6242 0.6242 0.6242 68.03% Castro::advance() 10 0.6129 0.6129 0.6129 66.81% Castro::subcycle_advance_ctu() 10 0.5996 0.5996 0.5996 65.36% Castro::do_advance_ctu() 10 0.5994 0.5994 0.5994 65.33% Castro::construct_ctu_hydro_source() 10 0.2784 0.2784 0.2784 30.34% Gravity::solve_phi_with_mlmg() 11 0.275 0.275 0.275 29.97% Gravity::actual_solve_with_mlmg() 11 0.2681 0.2681 0.2681 29.22% Castro::construct_new_gravity() 10 0.251 0.251 0.251 27.35% MLMG::solve() 11 0.2483 0.2483 0.2483 27.06% Gravity::solve_for_phi() 10 0.2359 0.2359 0.2359 25.71% VisMF::Write(FabArray) 11 0.2347 0.2347 0.2347 25.58% MLMG::oneIter() 82 0.2343 0.2343 0.2343 25.54% MLMG::mgVcycle() 82 0.2307 0.2307 0.2307 25.14% Amr::checkPoint() 3 0.1749 0.1749 0.1749 19.06% AmrLevel::checkPoint() 3 0.1709 0.1709 0.1709 18.63% StateData::checkPoint() 12 0.1708 0.1708 0.1708 18.62% Amr::init() 1 0.1386 0.1386 0.1386 15.11% MLCellLinOp::smooth() 1640 0.114 0.114 0.114 12.43% MLCellLinOp::applyBC() 4433 0.1069 0.1069 0.1069 11.66% MLMG::mgVcycle_bottom 82 0.0708 0.0708 0.0708 7.72% MLMG::actualBottomSolve() 82 0.07077 0.07077 0.07077 7.71% MLCGSolver::bicgstab 82 0.0701 0.0701 0.0701 7.64% Amr::writePlotFile() 2 0.0669 0.0669 0.0669 7.29% Castro::clean_state() 62 0.05401 0.05401 0.05401 5.89% Amr::initialInit() 1 0.04705 0.04705 0.04705 5.13% Amr::FinalizeInit() 1 0.04281 0.04281 0.04281 4.67% FillPatchIterator::Initialize 41 0.04176 0.04176 0.04176 4.55% Castro::post_init() 1 0.04155 0.04155 0.04155 4.53% FillPatchSingleLevel 41 0.04025 0.04025 0.04025 4.39% Gravity::multilevel_solve_for_new_phi() 1 0.03954 0.03954 0.03954 4.31% Gravity::actual_multilevel_solve() 1 0.03952 0.03952 0.03952 4.31% StateDataPhysBCFunct::() 41 0.03623 0.03623 0.03623 3.95% MLCellLinOp::apply() 1142 0.03519 0.03519 0.03519 3.83% MLMG::mgVcycle_down::0 82 0.03342 0.03342 0.03342 3.64% FabArray::FillBoundary() 4023 0.03241 0.03241 0.03241 3.53% FillBoundary_nowait() 4023 0.03162 0.03162 0.03162 3.45% MLPoisson::Fsmooth() 3280 0.03126 0.03126 0.03126 3.41% MLMG::mgVcycle_up::0 82 0.02518 0.02518 0.02518 2.74% StateData::FillBoundary(geom) 328 0.02378 0.02378 0.02378 2.59% MLCellLinOp::correctionResidual() 492 0.02161 0.02161 0.02161 2.35% Castro::initialize_do_advance() 10 0.02129 0.02129 0.02129 2.32% Castro::computeTemp() 63 0.0212 0.0212 0.0212 2.31% amrex::Dot() 1114 0.01978 0.01978 0.01978 2.16% Castro::do_old_sources() 10 0.01919 0.01919 0.01919 2.09% MLMG:computeResOfCorrection() 410 0.01906 0.01906 0.01906 2.08% Castro::normalize_species() 62 0.01852 0.01852 0.01852 2.02% Gravity::get_new_grav_vector() 11 0.01678 0.01678 0.01678 1.83% MLPoisson::define() 11 0.01564 0.01564 0.01564 1.70% MLMG::mgVcycle_down::1 82 0.01533 0.01533 0.01533 1.67% amrex::Copy() 1029 0.01444 0.01444 0.01444 1.57% Castro::construct_old_gravity() 10 0.01427 0.01427 0.01427 1.56% Gravity::get_old_grav_vector() 10 0.01426 0.01426 0.01426 1.55% MLMG::mgVcycle_down::2 82 0.01425 0.01425 0.01425 1.55% FabArray::ParallelCopy() 861 0.01396 0.01396 0.01396 1.52% MLMG::mgVcycle_down::3 82 0.01396 0.01396 0.01396 1.52% FabArray::norminf() 743 0.01388 0.01388 0.01388 1.51% FabArray::ParallelCopy_nowait() 861 0.01373 0.01373 0.01373 1.50% MLMG::mgVcycle_down::4 82 0.01368 0.01368 0.01368 1.49% Castro::enforce_min_density() 62 0.01277 0.01277 0.01277 1.39% FabArray::setVal() 1144 0.0127 0.0127 0.0127 1.38% Castro::initialize_advance() 10 0.01265 0.01265 0.01265 1.38% Castro::do_new_sources() 10 0.012 0.012 0.012 1.31% MLCGSolver::ParallelAllReduce 1514 0.01185 0.01185 0.01185 1.29% Castro::expand_state() 10 0.01181 0.01181 0.01181 1.29% MLMG::addInterpCorrection() 410 0.01146 0.01146 0.01146 1.25% MLMG::mgVcycle_up::1 82 0.01113 0.01113 0.01113 1.21% Castro::post_timestep() 10 0.01108 0.01108 0.01108 1.21% MLMG::mgVcycle_up::4 82 0.01102 0.01102 0.01102 1.20% MLMG::mgVcycle_up::2 82 0.01087 0.01087 0.01087 1.18% amrex::average_down 410 0.01083 0.01083 0.01083 1.18% MLMG::mgVcycle_up::3 82 0.01067 0.01067 0.01067 1.16% MLCellLinOp::defineAuxData() 11 0.0105 0.0105 0.0105 1.14% MLPoisson::Fapply() 1142 0.009954 0.009954 0.009954 1.08% FabArray::Saxpy() 813 0.007889 0.007889 0.007889 0.86% FabArray::Xpay() 821 0.00782 0.00782 0.00782 0.85% MLCellLinOp::solutionResidual() 93 0.006996 0.006996 0.006996 0.76% Gravity::fill_multipole_BCs() 11 0.006711 0.006711 0.006711 0.73% Castro::reset_internal_energy(MultiFab) 63 0.006482 0.006482 0.006482 0.71% MLMG::computeResidual() 82 0.006039 0.006039 0.006039 0.66% Castro::estTimeStep() 21 0.00567 0.00567 0.00567 0.62% MLCellLinOp::defineBC() 11 0.004687 0.004687 0.004687 0.51% MLMG::prepareForSolve() 11 0.004514 0.004514 0.004514 0.49% BndryData::define() 11 0.004473 0.004473 0.004473 0.49% amrex::Add() 164 0.004334 0.004334 0.004334 0.47% FabArray::LinComb() 557 0.004307 0.004307 0.004307 0.47% Amr::InitializeInit() 1 0.004236 0.004236 0.004236 0.46% Amr::defBaseLevel() 1 0.004231 0.004231 0.004231 0.46% Castro::initData() 1 0.003722 0.003722 0.003722 0.41% Castro::construct_new_source() 50 0.00318 0.00318 0.00318 0.35% Castro::construct_new_gravity_source() 10 0.003079 0.003079 0.003079 0.34% Castro::construct_old_source() 50 0.002773 0.002773 0.002773 0.30% Castro::construct_old_gravity_source() 10 0.002755 0.002755 0.002755 0.30% Castro::computeNewDt() 9 0.002509 0.002509 0.002509 0.27% Castro::finalize_do_advance() 10 0.002361 0.002361 0.002361 0.26% Castro::enforce_speed_limit() 62 0.002257 0.002257 0.002257 0.25% MLMG::ResNormInf() 93 0.002099 0.002099 0.002099 0.23% Castro::apply_source_to_state() 20 0.001828 0.001828 0.001828 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001593 0.001593 0.001593 0.17% Castro::reset_internal_energy(Fab) 504 0.001573 0.001573 0.001573 0.17% check_for_negative_density() 10 0.001448 0.001448 0.001448 0.16% MLMG::getGradSolution() 11 0.001371 0.001371 0.001371 0.15% FabArrayBase::getCPC() 1323 0.001367 0.001367 0.001367 0.15% MLCellLinOp::compGrad() 11 0.001365 0.001365 0.001365 0.15% MLCellLinOp::setLevelBC() 11 0.001354 0.001354 0.001354 0.15% FabArray::mult() 43 0.001294 0.001294 0.001294 0.14% FabArray::setDomainBndry() 41 0.001287 0.001287 0.001287 0.14% Castro::check_for_nan() 20 0.001195 0.001195 0.001195 0.13% MultiFab::contains_nan() 20 0.001183 0.001183 0.001183 0.13% MLPoisson::prepareForSolve() 11 0.0011 0.0011 0.0011 0.12% MLCellLinOp::prepareForSolve() 11 0.001091 0.001091 0.001091 0.12% Castro::post_regrid() 1 0.001091 0.001091 0.001091 0.12% MLMG::computeMLResidual() 11 0.0009991 0.0009991 0.0009991 0.11% Castro::computeInitialDt() 2 0.0008503 0.0008503 0.0008503 0.09% Gravity::update_max_rhs() 11 0.0008202 0.0008202 0.0008202 0.09% FabArrayBase::getFB() 4023 0.0006811 0.0006811 0.0006811 0.07% FabArrayBase::CPC::define() 454 0.0006616 0.0006616 0.0006616 0.07% Castro::finalize_advance() 10 0.0005664 0.0005664 0.0005664 0.06% Amr::InitAmr() 1 0.0005172 0.0005172 0.0005172 0.06% MLLinOp::define() 11 0.0004312 0.0004312 0.0004312 0.05% Gravity::swapTimeLevels() 10 0.00043 0.00043 0.00043 0.05% Castro::Castro() 1 0.0004248 0.0004248 0.0004248 0.05% MLLinOp::defineGrids() 11 0.0004152 0.0004152 0.0004152 0.05% MLMG::MLResNormInf() 11 0.0002819 0.0002819 0.0002819 0.03% MultiFab::max() 11 0.0002555 0.0002555 0.0002555 0.03% MLMG::MLRhsNormInf() 11 0.0002148 0.0002148 0.0002148 0.02% Castro::create_source_corrector() 10 0.0001625 0.0001625 0.0001625 0.02% Castro::buildMetrics() 1 0.000157 0.000157 0.000157 0.02% FabArrayBase::FB::FB() 56 8.851e-05 8.851e-05 8.851e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.671e-05 5.671e-05 5.671e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.159e-05 5.159e-05 5.159e-05 0.01% StateData::define() 4 4.098e-05 4.098e-05 4.098e-05 0.00% Castro::swap_state_time_levels() 10 3.989e-05 3.989e-05 3.989e-05 0.00% makeSFC 55 3.797e-05 3.797e-05 3.797e-05 0.00% Castro::enforce_consistent_e() 1 3.141e-05 3.141e-05 3.141e-05 0.00% Amr::writeSmallPlotFile() 1 2.527e-05 2.527e-05 2.527e-05 0.00% Castro::initMFs() 1 2.387e-05 2.387e-05 2.387e-05 0.00% DistributionMapping::Distribute() 56 1.559e-05 1.559e-05 1.559e-05 0.00% Amr::initSubcycle() 1 8.896e-06 8.896e-06 8.896e-06 0.00% AmrLevel::checkPointPost() 3 6.376e-06 6.376e-06 6.376e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 5.625e-06 5.625e-06 5.625e-06 0.00% Castro::retry_advance_ctu() 10 4.01e-06 4.01e-06 4.01e-06 0.00% Gravity::set_mass_offset() 11 3.583e-06 3.583e-06 3.583e-06 0.00% Castro::FluxRegCrseInit 10 2.776e-06 2.776e-06 2.776e-06 0.00% Castro::FluxRegFineAdd() 10 2.118e-06 2.118e-06 2.118e-06 0.00% AmrLevel::checkPointPre() 3 1.866e-06 1.866e-06 1.866e-06 0.00% MLLinOp::makeSubCommunicator() 11 1.809e-06 1.809e-06 1.809e-06 0.00% -------------------------------------------------------------------------------------------- Unused ParmParse Variables: [TOP]::amr.ref_ratio(nvals = 4) :: [2, 2, 2, 2] [TOP]::amr.regrid_int(nvals = 4) :: [2, 2, 2, 2] Device Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Arena::Initialize() 1 1 87 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 142 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 992 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 2049 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7611 KiB 14 MiB MLMG::prepareForSolve() 660 660 3329 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 190 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 159 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7527 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 12 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1707 B 2048 KiB Gravity::solve_for_phi() 80 80 526 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 88 KiB 2048 KiB BndryData::define() 1056 1056 303 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 193 KiB 671 KiB Castro::estTimeStep() 21 21 3017 B 480 KiB VisMF::Write(FabArray) 656 656 3200 B 320 KiB Castro::normalize_species() 62 62 6578 B 320 KiB amrex::average_down 1067 1067 1196 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1082 B 257 KiB amrex::Dot() 1360 1360 3175 B 160 KiB FabArray::norminf() 907 907 2237 B 160 KiB check_for_negative_density() 10 10 250 B 160 KiB Castro::initData() 1 1 25 B 160 KiB MultiFab::max() 11 11 43 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3255 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 8866 8866 211 B 9344 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3850 B 6144 B StateData::FillBoundary(geom) 1992 1992 43 B 2976 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 111 B 1472 B MLCellLinOp::defineBC() 66 66 395 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 619 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 48 KiB 8192 KiB VisMF::Write(FabArray) 744 744 587 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3255 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 42 B 10 KiB FillBoundary_nowait() 760 760 295 B 9648 B MLCellLinOp::applyBC() 4433 4433 209 B 9328 B MLCellLinOp::prepareForSolve() 66 66 2 B 7792 B amrex::Copy() 100 100 3851 B 6144 B Gravity::get_new_grav_vector() 3 3 2915 B 3072 B StateData::FillBoundary(geom) 1992 1992 44 B 2976 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 272 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 277 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 23 B 400 B FabArray::norminf() 907 907 16 B 272 B Castro::estTimeStep() 21 21 0 B 32 B check_for_negative_density() 10 10 0 B 16 B MultiFab::max() 11 11 0 B 16 B MultiFab::contains_nan() 20 20 0 B 16 B Castro::normalize_species() 62 62 0 B 16 B Castro::initData() 1 1 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.07-7-g88f03408f18a) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.07-7-g88f03408f18a) initialized Starting run at 07:49:09 UTC on 2023-07-04. Successfully read inputs file ... Castro git describe: 23.07 AMReX git describe: 23.07-7-g88f03408f Microphysics git describe: 23.07-7-g2059cd81 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.491991053 Restart time = 0.045262188 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.050677791 [STEP 6] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 6 TIME = 0.0003089253456 DT = 5.79654185e-05 [Level 0 step 7] ADVANCE at time 0.0003089253456 with dt = 6.086368943e-05 [Level 0 step 7] Advanced 262144 cells [STEP 7] Coarse TimeStep time: 0.045590234 [STEP 7] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 7 TIME = 0.000369789035 DT = 6.086368943e-05 [Level 0 step 8] ADVANCE at time 0.000369789035 with dt = 6.39068739e-05 [Level 0 step 8] Advanced 262144 cells [STEP 8] Coarse TimeStep time: 0.068231317 [STEP 8] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 8 TIME = 0.000433695909 DT = 6.39068739e-05 [Level 0 step 9] ADVANCE at time 0.000433695909 with dt = 6.71022176e-05 [Level 0 step 9] Advanced 262144 cells [STEP 9] Coarse TimeStep time: 0.074990816 [STEP 9] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 9 TIME = 0.0005007981265 DT = 6.71022176e-05 [Level 0 step 10] ADVANCE at time 0.0005007981265 with dt = 7.045732848e-05 [Level 0 step 10] Advanced 262144 cells [STEP 10] Coarse TimeStep time: 0.067066154 [STEP 10] FAB kilobyte spread across MPI nodes: [319638 ... 319638] STEP = 10 TIME = 0.000571255455 DT = 7.045732848e-05 PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.032756004 seconds Ending run at 07:49:10 UTC on 2023-07-04. Run time = 0.385538667 Run time without initialization = 0.339711554 Average number of zones advanced per microsecond: 3.858 Average number of zones advanced per microsecond per rank: 3.858 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3856 ... 0.3856 ... 0.3856 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1299 0.1299 0.1299 33.68% VisMF::Read() 3 0.03913 0.03913 0.03913 10.15% MLCellLinOp::applyBC() 1946 0.03214 0.03214 0.03214 8.34% VisMF::Write(FabArray) 1 0.03118 0.03118 0.03118 8.09% MLPoisson::Fsmooth() 1440 0.01347 0.01347 0.01347 3.49% FillBoundary_nowait() 1766 0.01261 0.01261 0.01261 3.27% StateData::FillBoundary(geom) 160 0.01125 0.01125 0.01125 2.92% Castro::normalize_species() 30 0.008878 0.008878 0.008878 2.30% amrex::Dot() 484 0.008446 0.008446 0.008446 2.19% amrex::Copy() 463 0.006782 0.006782 0.006782 1.76% FabArray::setVal() 537 0.006046 0.006046 0.006046 1.57% FabArray::norminf() 326 0.006034 0.006034 0.006034 1.56% FabArray::ParallelCopy_nowait() 380 0.005919 0.005919 0.005919 1.54% Castro::computeTemp() 30 0.005587 0.005587 0.005587 1.45% Castro::enforce_min_density() 30 0.005239 0.005239 0.005239 1.36% MLCellLinOp::defineAuxData() 6 0.004988 0.004988 0.004988 1.29% MLPoisson::Fapply() 500 0.004238 0.004238 0.004238 1.10% StateDataPhysBCFunct::() 20 0.004182 0.004182 0.004182 1.08% FabArray::Saxpy() 355 0.003502 0.003502 0.003502 0.91% FabArray::Xpay() 361 0.003393 0.003393 0.003393 0.88% Gravity::fill_multipole_BCs() 6 0.003345 0.003345 0.003345 0.87% Castro::estTimeStep() 10 0.003335 0.003335 0.003335 0.86% MLMG::addInterpCorrection() 180 0.002809 0.002809 0.002809 0.73% amrex::average_down 180 0.002517 0.002517 0.002517 0.65% Amr::restart() 1 0.002486 0.002486 0.002486 0.64% Castro::reset_internal_energy(MultiFab) 30 0.002223 0.002223 0.002223 0.58% BndryData::define() 6 0.001923 0.001923 0.001923 0.50% FabArray::LinComb() 242 0.001863 0.001863 0.001863 0.48% amrex::Add() 72 0.001842 0.001842 0.001842 0.48% Castro::construct_new_gravity_source() 5 0.001527 0.001527 0.001527 0.40% Amr::writePlotFile() 1 0.001421 0.001421 0.001421 0.37% Castro::construct_old_gravity_source() 5 0.00129 0.00129 0.00129 0.33% Castro::subcycle_advance_ctu() 5 0.001259 0.001259 0.001259 0.33% MLCGSolver::bicgstab 36 0.0009464 0.0009464 0.0009464 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000868 0.000868 0.000868 0.23% Gravity::actual_solve_with_mlmg() 6 0.0007794 0.0007794 0.0007794 0.20% MLCellLinOp::setLevelBC() 6 0.0007237 0.0007237 0.0007237 0.19% check_for_negative_density() 5 0.0007027 0.0007027 0.0007027 0.18% Castro::reset_internal_energy(Fab) 240 0.0006867 0.0006867 0.0006867 0.18% FabArray::mult() 22 0.0006395 0.0006395 0.0006395 0.17% FabArray::setDomainBndry() 20 0.0006228 0.0006228 0.0006228 0.16% MultiFab::contains_nan() 10 0.0005854 0.0005854 0.0005854 0.15% MLCellLinOp::prepareForSolve() 6 0.0005847 0.0005847 0.0005847 0.15% MLCellLinOp::smooth() 720 0.000484 0.000484 0.000484 0.13% MLCellLinOp::compGrad() 6 0.00048 0.00048 0.00048 0.12% MLMG::prepareForSolve() 6 0.0004603 0.0004603 0.0004603 0.12% Castro::enforce_speed_limit() 30 0.0004141 0.0004141 0.0004141 0.11% FabArrayBase::CPC::define() 244 0.0004133 0.0004133 0.0004133 0.11% Amr::InitAmr() 1 0.000375 0.000375 0.000375 0.10% FabArray::FillBoundary() 1766 0.0003513 0.0003513 0.0003513 0.09% FabArrayBase::getCPC() 632 0.0003464 0.0003464 0.0003464 0.09% Gravity::get_old_grav_vector() 5 0.0002954 0.0002954 0.0002954 0.08% main() 1 0.0002831 0.0002831 0.0002831 0.07% Gravity::get_new_grav_vector() 5 0.0002665 0.0002665 0.0002665 0.07% FabArrayBase::getFB() 1766 0.0002589 0.0002589 0.0002589 0.07% MLCellLinOp::apply() 500 0.0001939 0.0001939 0.0001939 0.05% MLLinOp::defineGrids() 6 0.0001752 0.0001752 0.0001752 0.05% Amr::coarseTimeStep() 5 0.0001584 0.0001584 0.0001584 0.04% MLMG::mgVcycle() 36 0.0001537 0.0001537 0.0001537 0.04% MultiFab::max() 6 0.000137 0.000137 0.000137 0.04% MLCGSolver::ParallelAllReduce 659 0.0001245 0.0001245 0.0001245 0.03% MLCellLinOp::defineBC() 6 0.0001118 0.0001118 0.0001118 0.03% FillPatchIterator::Initialize 20 0.0001095 0.0001095 0.0001095 0.03% FabArray::ParallelCopy() 380 0.0001072 0.0001072 0.0001072 0.03% Castro::construct_new_source() 25 0.000106 0.000106 0.000106 0.03% MLCellLinOp::correctionResidual() 216 9.499e-05 9.499e-05 9.499e-05 0.02% Castro::do_new_sources() 5 9.378e-05 9.378e-05 9.378e-05 0.02% Castro::finalize_do_advance() 5 8.796e-05 8.796e-05 8.796e-05 0.02% Castro::create_source_corrector() 5 8.721e-05 8.721e-05 8.721e-05 0.02% Amr::timeStep() 5 8.323e-05 8.323e-05 8.323e-05 0.02% AmrLevel::restart() 1 8.175e-05 8.175e-05 8.175e-05 0.02% StateData::restartDoit() 4 6.675e-05 6.675e-05 6.675e-05 0.02% Gravity::update_max_rhs() 6 6.487e-05 6.487e-05 6.487e-05 0.02% FabArrayBase::FB::FB() 26 6.232e-05 6.232e-05 6.232e-05 0.02% MLMG:computeResOfCorrection() 180 5.144e-05 5.144e-05 5.144e-05 0.01% Gravity::solve_for_phi() 5 5.033e-05 5.033e-05 5.033e-05 0.01% Castro::do_old_sources() 5 4.492e-05 4.492e-05 4.492e-05 0.01% MLMG::actualBottomSolve() 36 3.981e-05 3.981e-05 3.981e-05 0.01% MLMG::mgVcycle_down::2 36 3.974e-05 3.974e-05 3.974e-05 0.01% MLMG::mgVcycle_down::0 36 3.84e-05 3.84e-05 3.84e-05 0.01% Castro::expand_state() 5 3.797e-05 3.797e-05 3.797e-05 0.01% MLMG::mgVcycle_down::1 36 3.664e-05 3.664e-05 3.664e-05 0.01% MLMG::mgVcycle_down::4 36 3.612e-05 3.612e-05 3.612e-05 0.01% Castro::advance() 5 3.511e-05 3.511e-05 3.511e-05 0.01% MLMG::mgVcycle_down::3 36 3.487e-05 3.487e-05 3.487e-05 0.01% Castro::initialize_advance() 5 3.381e-05 3.381e-05 3.381e-05 0.01% MLMG::solve() 6 3.293e-05 3.293e-05 3.293e-05 0.01% Castro::clean_state() 30 3.038e-05 3.038e-05 3.038e-05 0.01% MLMG::mgVcycle_up::4 36 2.884e-05 2.884e-05 2.884e-05 0.01% Castro::finalize_advance() 5 2.812e-05 2.812e-05 2.812e-05 0.01% Castro::initialize_do_advance() 5 2.788e-05 2.788e-05 2.788e-05 0.01% Castro::post_timestep() 5 2.748e-05 2.748e-05 2.748e-05 0.01% Amr::writeSmallPlotFile() 1 2.657e-05 2.657e-05 2.657e-05 0.01% Castro::initMFs() 1 2.563e-05 2.563e-05 2.563e-05 0.01% Castro::buildMetrics() 1 2.495e-05 2.495e-05 2.495e-05 0.01% MLMG::oneIter() 36 2.353e-05 2.353e-05 2.353e-05 0.01% MLMG::mgVcycle_up::0 36 2.333e-05 2.333e-05 2.333e-05 0.01% MLMG::mgVcycle_up::3 36 2.33e-05 2.33e-05 2.33e-05 0.01% Castro::swap_state_time_levels() 5 2.319e-05 2.319e-05 2.319e-05 0.01% MLMG::mgVcycle_up::2 36 2.314e-05 2.314e-05 2.314e-05 0.01% MLCellLinOp::solutionResidual() 42 2.224e-05 2.224e-05 2.224e-05 0.01% MLMG::mgVcycle_up::1 36 2.214e-05 2.214e-05 2.214e-05 0.01% Castro::post_restart() 1 1.96e-05 1.96e-05 1.96e-05 0.01% Castro::do_advance_ctu() 5 1.853e-05 1.853e-05 1.853e-05 0.00% MLPoisson::define() 6 1.847e-05 1.847e-05 1.847e-05 0.00% MLMG::ResNormInf() 42 1.838e-05 1.838e-05 1.838e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.587e-05 1.587e-05 1.587e-05 0.00% MLMG::mgVcycle_bottom 36 1.368e-05 1.368e-05 1.368e-05 0.00% FillPatchSingleLevel 20 1.341e-05 1.341e-05 1.341e-05 0.00% MLMG::computeResidual() 36 1.336e-05 1.336e-05 1.336e-05 0.00% makeSFC 30 1.251e-05 1.251e-05 1.251e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.243e-05 1.243e-05 1.243e-05 0.00% Castro::construct_new_gravity() 5 1.193e-05 1.193e-05 1.193e-05 0.00% MLLinOp::define() 6 9.947e-06 9.947e-06 9.947e-06 0.00% Castro::construct_old_source() 25 9.803e-06 9.803e-06 9.803e-06 0.00% DistributionMapping::Distribute() 31 8.515e-06 8.515e-06 8.515e-06 0.00% Amr::initSubcycle() 1 8.303e-06 8.303e-06 8.303e-06 0.00% Gravity::actual_multilevel_solve() 1 8.043e-06 8.043e-06 8.043e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.675e-06 6.675e-06 6.675e-06 0.00% Castro::apply_source_to_state() 10 5.429e-06 5.429e-06 5.429e-06 0.00% Castro::check_for_nan() 10 5.42e-06 5.42e-06 5.42e-06 0.00% Castro::construct_old_gravity() 5 5.069e-06 5.069e-06 5.069e-06 0.00% MLPoisson::prepareForSolve() 6 4.227e-06 4.227e-06 4.227e-06 0.00% MLMG::computeMLResidual() 6 4.023e-06 4.023e-06 4.023e-06 0.00% Gravity::swapTimeLevels() 5 3.943e-06 3.943e-06 3.943e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.426e-06 3.426e-06 3.426e-06 0.00% MLMG::getGradSolution() 6 3.132e-06 3.132e-06 3.132e-06 0.00% Castro::computeNewDt() 5 2.987e-06 2.987e-06 2.987e-06 0.00% MLMG::MLResNormInf() 6 2.174e-06 2.174e-06 2.174e-06 0.00% MLMG::MLRhsNormInf() 6 2.131e-06 2.131e-06 2.131e-06 0.00% Castro::retry_advance_ctu() 5 2.048e-06 2.048e-06 2.048e-06 0.00% Gravity::set_mass_offset() 6 2.031e-06 2.031e-06 2.031e-06 0.00% Castro::FluxRegCrseInit 5 1.414e-06 1.414e-06 1.414e-06 0.00% Castro::FluxRegFineAdd() 5 1.141e-06 1.141e-06 1.141e-06 0.00% Amr::init() 1 1.074e-06 1.074e-06 1.074e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.002e-06 1.002e-06 1.002e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3855 0.3855 0.3855 100.00% Amr::coarseTimeStep() 5 0.3067 0.3067 0.3067 79.55% Amr::timeStep() 5 0.3048 0.3048 0.3048 79.04% Castro::advance() 5 0.3013 0.3013 0.3013 78.14% Castro::subcycle_advance_ctu() 5 0.2947 0.2947 0.2947 76.43% Castro::do_advance_ctu() 5 0.2934 0.2934 0.2934 76.11% Castro::construct_ctu_hydro_source() 5 0.1345 0.1345 0.1345 34.87% Castro::construct_new_gravity() 5 0.1254 0.1254 0.1254 32.53% Gravity::solve_phi_with_mlmg() 6 0.1212 0.1212 0.1212 31.43% Gravity::solve_for_phi() 5 0.1182 0.1182 0.1182 30.66% Gravity::actual_solve_with_mlmg() 6 0.1176 0.1176 0.1176 30.50% MLMG::solve() 6 0.1068 0.1068 0.1068 27.71% MLMG::oneIter() 36 0.1002 0.1002 0.1002 25.98% MLMG::mgVcycle() 36 0.09864 0.09864 0.09864 25.58% MLCellLinOp::smooth() 720 0.04848 0.04848 0.04848 12.57% MLCellLinOp::applyBC() 1946 0.04543 0.04543 0.04543 11.78% Amr::init() 1 0.04531 0.04531 0.04531 11.75% Amr::restart() 1 0.0453 0.0453 0.0453 11.75% AmrLevel::restart() 1 0.03934 0.03934 0.03934 10.20% StateData::restartDoit() 4 0.03925 0.03925 0.03925 10.18% VisMF::Read() 3 0.03913 0.03913 0.03913 10.15% Amr::writePlotFile() 1 0.03284 0.03284 0.03284 8.52% VisMF::Write(FabArray) 1 0.03118 0.03118 0.03118 8.09% MLMG::mgVcycle_bottom 36 0.03039 0.03039 0.03039 7.88% MLMG::actualBottomSolve() 36 0.03037 0.03037 0.03037 7.88% MLCGSolver::bicgstab 36 0.03008 0.03008 0.03008 7.80% Castro::clean_state() 30 0.02306 0.02306 0.02306 5.98% FillPatchIterator::Initialize 20 0.01819 0.01819 0.01819 4.72% FillPatchSingleLevel 20 0.01746 0.01746 0.01746 4.53% StateDataPhysBCFunct::() 20 0.01543 0.01543 0.01543 4.00% MLCellLinOp::apply() 500 0.01508 0.01508 0.01508 3.91% MLMG::mgVcycle_down::0 36 0.01409 0.01409 0.01409 3.65% MLPoisson::Fsmooth() 1440 0.01347 0.01347 0.01347 3.49% FabArray::FillBoundary() 1766 0.01329 0.01329 0.01329 3.45% FillBoundary_nowait() 1766 0.01294 0.01294 0.01294 3.36% StateData::FillBoundary(geom) 160 0.01125 0.01125 0.01125 2.92% MLMG::mgVcycle_up::0 36 0.01055 0.01055 0.01055 2.74% Castro::initialize_do_advance() 5 0.009538 0.009538 0.009538 2.47% MLCellLinOp::correctionResidual() 216 0.0092 0.0092 0.0092 2.39% Castro::normalize_species() 30 0.008878 0.008878 0.008878 2.30% Castro::do_old_sources() 5 0.008677 0.008677 0.008677 2.25% MLPoisson::define() 6 0.008498 0.008498 0.008498 2.20% Castro::computeTemp() 30 0.008497 0.008497 0.008497 2.20% amrex::Dot() 484 0.008446 0.008446 0.008446 2.19% MLMG:computeResOfCorrection() 180 0.008091 0.008091 0.008091 2.10% Gravity::get_new_grav_vector() 5 0.007107 0.007107 0.007107 1.84% Castro::construct_old_gravity() 5 0.006844 0.006844 0.006844 1.77% Gravity::get_old_grav_vector() 5 0.006839 0.006839 0.006839 1.77% amrex::Copy() 463 0.006782 0.006782 0.006782 1.76% MLMG::mgVcycle_down::1 36 0.006581 0.006581 0.006581 1.71% FabArray::ParallelCopy() 380 0.006409 0.006409 0.006409 1.66% Castro::do_new_sources() 5 0.006364 0.006364 0.006364 1.65% FabArray::ParallelCopy_nowait() 380 0.006302 0.006302 0.006302 1.63% Castro::initialize_advance() 5 0.006274 0.006274 0.006274 1.63% MLMG::mgVcycle_down::2 36 0.006124 0.006124 0.006124 1.59% FabArray::setVal() 537 0.006046 0.006046 0.006046 1.57% FabArray::norminf() 326 0.006034 0.006034 0.006034 1.56% MLMG::mgVcycle_down::3 36 0.005989 0.005989 0.005989 1.55% MLMG::mgVcycle_down::4 36 0.005919 0.005919 0.005919 1.54% MLCellLinOp::defineAuxData() 6 0.005692 0.005692 0.005692 1.48% Castro::enforce_min_density() 30 0.005239 0.005239 0.005239 1.36% MLCGSolver::ParallelAllReduce 659 0.005102 0.005102 0.005102 1.32% MLMG::addInterpCorrection() 180 0.005012 0.005012 0.005012 1.30% Castro::expand_state() 5 0.004978 0.004978 0.004978 1.29% MLMG::mgVcycle_up::1 36 0.00481 0.00481 0.00481 1.25% MLMG::mgVcycle_up::4 36 0.004758 0.004758 0.004758 1.23% amrex::average_down 180 0.004712 0.004712 0.004712 1.22% MLMG::mgVcycle_up::2 36 0.004674 0.004674 0.004674 1.21% MLMG::mgVcycle_up::3 36 0.004605 0.004605 0.004605 1.19% MLPoisson::Fapply() 500 0.004238 0.004238 0.004238 1.10% FabArray::Saxpy() 355 0.003502 0.003502 0.003502 0.91% Gravity::fill_multipole_BCs() 6 0.003484 0.003484 0.003484 0.90% FabArray::Xpay() 361 0.003393 0.003393 0.003393 0.88% Castro::post_timestep() 5 0.003381 0.003381 0.003381 0.88% Castro::estTimeStep() 10 0.003335 0.003335 0.003335 0.86% Castro::post_restart() 1 0.003308 0.003308 0.003308 0.86% Gravity::multilevel_solve_for_new_phi() 1 0.003195 0.003195 0.003195 0.83% Gravity::actual_multilevel_solve() 1 0.003179 0.003179 0.003179 0.82% MLCellLinOp::solutionResidual() 42 0.00312 0.00312 0.00312 0.81% Castro::reset_internal_energy(MultiFab) 30 0.00291 0.00291 0.00291 0.75% MLMG::computeResidual() 36 0.002576 0.002576 0.002576 0.67% MLCellLinOp::defineBC() 6 0.002575 0.002575 0.002575 0.67% BndryData::define() 6 0.002463 0.002463 0.002463 0.64% MLMG::prepareForSolve() 6 0.002437 0.002437 0.002437 0.63% FabArray::LinComb() 242 0.001863 0.001863 0.001863 0.48% amrex::Add() 72 0.001842 0.001842 0.001842 0.48% Castro::computeNewDt() 5 0.001789 0.001789 0.001789 0.46% Castro::finalize_do_advance() 5 0.001637 0.001637 0.001637 0.42% Castro::construct_new_source() 25 0.001633 0.001633 0.001633 0.42% Castro::construct_new_gravity_source() 5 0.001527 0.001527 0.001527 0.40% Castro::construct_old_source() 25 0.0013 0.0013 0.0013 0.34% Castro::construct_old_gravity_source() 5 0.00129 0.00129 0.00129 0.33% MLMG::ResNormInf() 42 0.0009339 0.0009339 0.0009339 0.24% Castro::apply_source_to_state() 10 0.0009151 0.0009151 0.0009151 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.000868 0.000868 0.000868 0.23% FabArrayBase::getCPC() 632 0.0007597 0.0007597 0.0007597 0.20% MLMG::getGradSolution() 6 0.0007425 0.0007425 0.0007425 0.19% MLCellLinOp::compGrad() 6 0.0007394 0.0007394 0.0007394 0.19% MLCellLinOp::setLevelBC() 6 0.0007237 0.0007237 0.0007237 0.19% check_for_negative_density() 5 0.0007027 0.0007027 0.0007027 0.18% Castro::reset_internal_energy(Fab) 240 0.0006867 0.0006867 0.0006867 0.18% FabArray::mult() 22 0.0006395 0.0006395 0.0006395 0.17% FabArray::setDomainBndry() 20 0.0006228 0.0006228 0.0006228 0.16% Castro::check_for_nan() 10 0.0005908 0.0005908 0.0005908 0.15% MLPoisson::prepareForSolve() 6 0.0005889 0.0005889 0.0005889 0.15% MultiFab::contains_nan() 10 0.0005854 0.0005854 0.0005854 0.15% MLCellLinOp::prepareForSolve() 6 0.0005847 0.0005847 0.0005847 0.15% MLMG::computeMLResidual() 6 0.0005615 0.0005615 0.0005615 0.15% Gravity::update_max_rhs() 6 0.0004443 0.0004443 0.0004443 0.12% Castro::enforce_speed_limit() 30 0.0004141 0.0004141 0.0004141 0.11% FabArrayBase::CPC::define() 244 0.0004133 0.0004133 0.0004133 0.11% Amr::InitAmr() 1 0.0003833 0.0003833 0.0003833 0.10% FabArrayBase::getFB() 1766 0.0003212 0.0003212 0.0003212 0.08% Castro::finalize_advance() 5 0.0002827 0.0002827 0.0002827 0.07% Gravity::swapTimeLevels() 5 0.0002199 0.0002199 0.0002199 0.06% MLLinOp::define() 6 0.0002125 0.0002125 0.0002125 0.06% MLLinOp::defineGrids() 6 0.0002026 0.0002026 0.0002026 0.05% MLMG::MLResNormInf() 6 0.0001494 0.0001494 0.0001494 0.04% Castro::buildMetrics() 1 0.0001476 0.0001476 0.0001476 0.04% MultiFab::max() 6 0.000137 0.000137 0.000137 0.04% MLMG::MLRhsNormInf() 6 0.0001151 0.0001151 0.0001151 0.03% Castro::create_source_corrector() 5 8.721e-05 8.721e-05 8.721e-05 0.02% FabArrayBase::FB::FB() 26 6.232e-05 6.232e-05 6.232e-05 0.02% Amr::writeSmallPlotFile() 1 2.657e-05 2.657e-05 2.657e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.641e-05 2.641e-05 2.641e-05 0.01% Castro::initMFs() 1 2.563e-05 2.563e-05 2.563e-05 0.01% Castro::swap_state_time_levels() 5 2.319e-05 2.319e-05 2.319e-05 0.01% makeSFC 30 1.974e-05 1.974e-05 1.974e-05 0.01% DistributionMapping::Distribute() 31 8.515e-06 8.515e-06 8.515e-06 0.00% Amr::initSubcycle() 1 8.303e-06 8.303e-06 8.303e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.711e-06 4.711e-06 4.711e-06 0.00% Castro::retry_advance_ctu() 5 2.048e-06 2.048e-06 2.048e-06 0.00% Gravity::set_mass_offset() 6 2.031e-06 2.031e-06 2.031e-06 0.00% Castro::FluxRegCrseInit 5 1.414e-06 1.414e-06 1.414e-06 0.00% Castro::FluxRegFineAdd() 5 1.141e-06 1.141e-06 1.141e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.002e-06 1.002e-06 1.002e-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 212 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 159 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 49 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1025 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2382 KiB 28 MiB Castro::initialize_advance() 40 40 18 MiB 23 MiB Castro::buildMetrics() 32 32 14 MiB 15 MiB Castro::post_restart() 48 48 6738 KiB 14 MiB MLMG::prepareForSolve() 361 361 3403 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 184 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 188 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6733 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 14 KiB 2053 KiB Gravity::update_max_rhs() 48 48 2230 B 2048 KiB Gravity::solve_for_phi() 40 40 626 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 16 KiB 2048 KiB BndryData::define() 576 576 313 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 200 KiB 671 KiB Castro::estTimeStep() 10 10 4128 B 480 KiB VisMF::Write(FabArray) 112 112 1247 B 320 KiB Castro::normalize_species() 30 30 7494 B 320 KiB amrex::average_down 469 469 1190 B 257 KiB MLMG::addInterpCorrection() 468 468 1123 B 257 KiB amrex::Dot() 592 592 3220 B 160 KiB FabArray::norminf() 398 398 2312 B 160 KiB check_for_negative_density() 5 5 290 B 160 KiB MultiFab::max() 6 6 54 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 30 B 20 KiB MLPoisson::Fsmooth() 60 60 3310 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 283 B 9648 B MLCellLinOp::applyBC() 3892 3892 218 B 9344 B amrex::Copy() 56 56 5959 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B StateData::FillBoundary(geom) 960 960 35 B 2208 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 113 B 1472 B MLCellLinOp::defineBC() 36 36 405 B 1440 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1458 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 113 KiB 8192 KiB VisMF::Write(FabArray) 120 120 249 KiB 3584 KiB VisMF::Read() 24 24 196 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3310 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 283 B 9648 B MLCellLinOp::applyBC() 1946 1946 217 B 9328 B amrex::Copy() 56 56 5960 B 8464 B MLCellLinOp::prepareForSolve() 36 36 3 B 7792 B Gravity::get_old_grav_vector() 3 3 2663 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 35 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 523 B 1296 B amrex::average_down 37 37 223 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2422 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.07-7-g88f03408f18a) finalized