Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-5-gb98bdae9fb67) initialized Starting run at 07:55:38 UTC on 2023-09-11. Successfully read inputs file ... Castro git describe: 23.09-4-ge16cd4ff2 AMReX git describe: 23.09-5-gb98bdae9f Microphysics git describe: 23.09-4-g2c408a9c 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.051174082 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028528288 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.052181832 [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.051003025 [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.074003161 [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.08104699 [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.066586717 [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.049864565 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.05110172 [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.07398952 [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.073826675 [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.067866526 [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.070444338 [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.095365035 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028441024 seconds Ending run at 07:55:39 UTC on 2023-09-11. Run time = 0.970700612 Run time without initialization = 0.836399867 Average number of zones advanced per microsecond: 3.134 Average number of zones advanced per microsecond per rank: 3.134 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9707 ... 0.9707 ... 0.9707 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2893 0.2893 0.2893 29.80% VisMF::Write(FabArray) 11 0.2009 0.2009 0.2009 20.70% MLCellLinOp::applyBC() 4433 0.07788 0.07788 0.07788 8.02% Amr::checkPoint() 3 0.05002 0.05002 0.05002 5.15% MLPoisson::Fsmooth() 3280 0.03318 0.03318 0.03318 3.42% FillBoundary_nowait() 4023 0.03133 0.03133 0.03133 3.23% StateData::FillBoundary(geom) 328 0.02677 0.02677 0.02677 2.76% amrex::Dot() 1114 0.02114 0.02114 0.02114 2.18% Castro::normalize_species() 62 0.01892 0.01892 0.01892 1.95% Castro::computeTemp() 63 0.01587 0.01587 0.01587 1.63% amrex::Copy() 1029 0.01518 0.01518 0.01518 1.56% FabArray::norminf() 743 0.01477 0.01477 0.01477 1.52% FabArray::ParallelCopy_nowait() 861 0.01358 0.01358 0.01358 1.40% FabArray::setVal() 1144 0.01353 0.01353 0.01353 1.39% Castro::enforce_min_density() 62 0.01109 0.01109 0.01109 1.14% MLPoisson::Fapply() 1142 0.0107 0.0107 0.0107 1.10% StateDataPhysBCFunct::() 41 0.01023 0.01023 0.01023 1.05% MLCellLinOp::defineAuxData() 11 0.01012 0.01012 0.01012 1.04% Gravity::fill_multipole_BCs() 11 0.009248 0.009248 0.009248 0.95% FabArray::Saxpy() 813 0.008442 0.008442 0.008442 0.87% FabArray::Xpay() 821 0.008334 0.008334 0.008334 0.86% MLMG::addInterpCorrection() 410 0.006886 0.006886 0.006886 0.71% amrex::average_down 410 0.006166 0.006166 0.006166 0.64% Castro::estTimeStep() 21 0.005489 0.005489 0.005489 0.57% Castro::reset_internal_energy(MultiFab) 63 0.004844 0.004844 0.004844 0.50% FabArray::LinComb() 557 0.004695 0.004695 0.004695 0.48% amrex::Add() 164 0.004452 0.004452 0.004452 0.46% Castro::enforce_speed_limit() 62 0.004021 0.004021 0.004021 0.41% BndryData::define() 11 0.003847 0.003847 0.003847 0.40% Castro::construct_new_gravity_source() 10 0.003323 0.003323 0.003323 0.34% Castro::construct_old_gravity_source() 10 0.002921 0.002921 0.002921 0.30% MLCGSolver::bicgstab 82 0.002206 0.002206 0.002206 0.23% Amr::writePlotFile() 2 0.001989 0.001989 0.001989 0.20% check_for_negative_density() 10 0.001838 0.001838 0.001838 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001762 0.001762 0.001762 0.18% Castro::reset_internal_energy(Fab) 504 0.001687 0.001687 0.001687 0.17% Castro::initData() 1 0.001524 0.001524 0.001524 0.16% Gravity::actual_solve_with_mlmg() 11 0.001505 0.001505 0.001505 0.16% MLCellLinOp::setLevelBC() 11 0.001453 0.001453 0.001453 0.15% FabArray::mult() 43 0.001366 0.001366 0.001366 0.14% FabArray::setDomainBndry() 41 0.001337 0.001337 0.001337 0.14% MLCellLinOp::prepareForSolve() 11 0.001289 0.001289 0.001289 0.13% MultiFab::contains_nan() 20 0.001285 0.001285 0.001285 0.13% MLCellLinOp::smooth() 1640 0.001073 0.001073 0.001073 0.11% MLCellLinOp::compGrad() 11 0.001066 0.001066 0.001066 0.11% MLMG::prepareForSolve() 11 0.0009442 0.0009442 0.0009442 0.10% FabArray::FillBoundary() 4023 0.0008306 0.0008306 0.0008306 0.09% FabArrayBase::getCPC() 1323 0.0007594 0.0007594 0.0007594 0.08% FabArrayBase::CPC::define() 454 0.0006717 0.0006717 0.0006717 0.07% FabArrayBase::getFB() 4023 0.0006304 0.0006304 0.0006304 0.06% Gravity::get_new_grav_vector() 11 0.000592 0.000592 0.000592 0.06% Gravity::get_old_grav_vector() 10 0.000478 0.000478 0.000478 0.05% Amr::InitAmr() 1 0.0004627 0.0004627 0.0004627 0.05% MLCellLinOp::apply() 1142 0.0004479 0.0004479 0.0004479 0.05% Amr::coarseTimeStep() 10 0.0003648 0.0003648 0.0003648 0.04% MultiFab::max() 11 0.0003249 0.0003249 0.0003249 0.03% AmrLevel::FillPatch() 41 0.0003244 0.0003244 0.0003244 0.03% MLCGSolver::ParallelAllReduce 1514 0.0002779 0.0002779 0.0002779 0.03% main() 1 0.0002713 0.0002713 0.0002713 0.03% FabArray::ParallelCopy() 861 0.0002552 0.0002552 0.0002552 0.03% MLCellLinOp::correctionResidual() 492 0.000222 0.000222 0.000222 0.02% MLCellLinOp::defineBC() 11 0.000213 0.000213 0.000213 0.02% FillPatchIterator::Initialize 41 0.0002122 0.0002122 0.0002122 0.02% MLMG::mgVcycle() 82 0.0002086 0.0002086 0.0002086 0.02% Castro::subcycle_advance_ctu() 10 0.000181 0.000181 0.000181 0.02% MLLinOp::defineGrids() 11 0.0001552 0.0001552 0.0001552 0.02% Amr::timeStep() 10 0.0001525 0.0001525 0.0001525 0.02% Gravity::solve_for_phi() 10 0.0001518 0.0001518 0.0001518 0.02% Castro::create_source_corrector() 10 0.0001489 0.0001489 0.0001489 0.02% Gravity::update_max_rhs() 11 0.0001248 0.0001248 0.0001248 0.01% StateData::checkPoint() 12 0.0001177 0.0001177 0.0001177 0.01% MLMG:computeResOfCorrection() 410 0.0001141 0.0001141 0.0001141 0.01% FabArrayBase::FB::FB() 56 9.442e-05 9.442e-05 9.442e-05 0.01% MLMG::actualBottomSolve() 82 9.247e-05 9.247e-05 9.247e-05 0.01% Castro::Castro() 1 9.154e-05 9.154e-05 9.154e-05 0.01% MLMG::mgVcycle_down::0 82 8.684e-05 8.684e-05 8.684e-05 0.01% MLMG::mgVcycle_down::1 82 8.103e-05 8.103e-05 8.103e-05 0.01% MLMG::solve() 11 8.093e-05 8.093e-05 8.093e-05 0.01% MLMG::mgVcycle_down::2 82 7.799e-05 7.799e-05 7.799e-05 0.01% Castro::initialize_advance() 10 7.722e-05 7.722e-05 7.722e-05 0.01% MLMG::mgVcycle_down::4 82 7.529e-05 7.529e-05 7.529e-05 0.01% MLMG::mgVcycle_down::3 82 7.452e-05 7.452e-05 7.452e-05 0.01% Castro::clean_state() 62 7.061e-05 7.061e-05 7.061e-05 0.01% Castro::enforce_consistent_e() 1 6.949e-05 6.949e-05 6.949e-05 0.01% Castro::finalize_advance() 10 6.893e-05 6.893e-05 6.893e-05 0.01% AmrLevel::checkPoint() 3 6.893e-05 6.893e-05 6.893e-05 0.01% Castro::advance() 10 6.646e-05 6.646e-05 6.646e-05 0.01% MLMG::mgVcycle_up::4 82 6.134e-05 6.134e-05 6.134e-05 0.01% Castro::initialize_do_advance() 10 5.687e-05 5.687e-05 5.687e-05 0.01% Castro::do_advance_ctu() 10 5.453e-05 5.453e-05 5.453e-05 0.01% MLMG::mgVcycle_up::0 82 5.433e-05 5.433e-05 5.433e-05 0.01% MLMG::oneIter() 82 5.114e-05 5.114e-05 5.114e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.988e-05 4.988e-05 4.988e-05 0.01% MLCellLinOp::solutionResidual() 93 4.964e-05 4.964e-05 4.964e-05 0.01% MLMG::mgVcycle_up::3 82 4.74e-05 4.74e-05 4.74e-05 0.00% MLMG::mgVcycle_up::2 82 4.663e-05 4.663e-05 4.663e-05 0.00% Castro::do_new_sources() 10 4.637e-05 4.637e-05 4.637e-05 0.00% MLMG::mgVcycle_up::1 82 4.599e-05 4.599e-05 4.599e-05 0.00% Castro::finalize_do_advance() 10 4.219e-05 4.219e-05 4.219e-05 0.00% Castro::post_timestep() 10 3.997e-05 3.997e-05 3.997e-05 0.00% StateData::define() 4 3.558e-05 3.558e-05 3.558e-05 0.00% Castro::buildMetrics() 1 3.523e-05 3.523e-05 3.523e-05 0.00% FillPatchSingleLevel 41 3.476e-05 3.476e-05 3.476e-05 0.00% Castro::swap_state_time_levels() 10 3.305e-05 3.305e-05 3.305e-05 0.00% MLMG::computeResidual() 82 3.223e-05 3.223e-05 3.223e-05 0.00% MLMG::ResNormInf() 93 3.177e-05 3.177e-05 3.177e-05 0.00% MLMG::mgVcycle_bottom 82 3.153e-05 3.153e-05 3.153e-05 0.00% Amr::writeSmallPlotFile() 1 3.076e-05 3.076e-05 3.076e-05 0.00% Amr::defBaseLevel() 1 2.832e-05 2.832e-05 2.832e-05 0.00% Castro::initMFs() 1 2.752e-05 2.752e-05 2.752e-05 0.00% Castro::construct_new_gravity() 10 2.585e-05 2.585e-05 2.585e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.575e-05 2.575e-05 2.575e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.483e-05 2.483e-05 2.483e-05 0.00% makeSFC 55 2.375e-05 2.375e-05 2.375e-05 0.00% MLPoisson::define() 11 2.29e-05 2.29e-05 2.29e-05 0.00% Castro::do_old_sources() 10 2.141e-05 2.141e-05 2.141e-05 0.00% Amr::FinalizeInit() 1 2.073e-05 2.073e-05 2.073e-05 0.00% Castro::construct_old_source() 50 1.912e-05 1.912e-05 1.912e-05 0.00% Castro::construct_new_source() 50 1.755e-05 1.755e-05 1.755e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.705e-05 1.705e-05 1.705e-05 0.00% DistributionMapping::Distribute() 56 1.606e-05 1.606e-05 1.606e-05 0.00% MLLinOp::define() 11 1.49e-05 1.49e-05 1.49e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.482e-05 1.482e-05 1.482e-05 0.00% Castro::check_for_nan() 20 1.343e-05 1.343e-05 1.343e-05 0.00% Castro::construct_old_gravity() 10 1.16e-05 1.16e-05 1.16e-05 0.00% Castro::apply_source_to_state() 20 1.117e-05 1.117e-05 1.117e-05 0.00% Castro::post_init() 1 1.038e-05 1.038e-05 1.038e-05 0.00% Gravity::swapTimeLevels() 10 9.06e-06 9.06e-06 9.06e-06 0.00% Amr::initSubcycle() 1 8.948e-06 8.948e-06 8.948e-06 0.00% MLMG::computeMLResidual() 11 8.027e-06 8.027e-06 8.027e-06 0.00% Gravity::actual_multilevel_solve() 1 7.876e-06 7.876e-06 7.876e-06 0.00% MLPoisson::prepareForSolve() 11 7.869e-06 7.869e-06 7.869e-06 0.00% Castro::computeNewDt() 9 7.351e-06 7.351e-06 7.351e-06 0.00% Castro::expand_state() 10 6.203e-06 6.203e-06 6.203e-06 0.00% MLMG::getGradSolution() 11 6.144e-06 6.144e-06 6.144e-06 0.00% Amr::InitializeInit() 1 4.98e-06 4.98e-06 4.98e-06 0.00% AmrLevel::checkPointPost() 3 4.604e-06 4.604e-06 4.604e-06 0.00% Castro::retry_advance_ctu() 10 4.326e-06 4.326e-06 4.326e-06 0.00% MLMG::MLRhsNormInf() 11 4.233e-06 4.233e-06 4.233e-06 0.00% Gravity::set_mass_offset() 11 3.753e-06 3.753e-06 3.753e-06 0.00% MLMG::MLResNormInf() 11 3.533e-06 3.533e-06 3.533e-06 0.00% Amr::initialInit() 1 3.502e-06 3.502e-06 3.502e-06 0.00% AmrLevel::checkPointPre() 3 3.223e-06 3.223e-06 3.223e-06 0.00% Castro::computeInitialDt() 2 3.182e-06 3.182e-06 3.182e-06 0.00% Amr::init() 1 2.908e-06 2.908e-06 2.908e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.674e-06 2.674e-06 2.674e-06 0.00% Castro::FluxRegCrseInit 10 2.564e-06 2.564e-06 2.564e-06 0.00% Castro::FluxRegFineAdd() 10 2.092e-06 2.092e-06 2.092e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.056e-06 2.056e-06 2.056e-06 0.00% Castro::post_regrid() 1 1.281e-06 1.281e-06 1.281e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9707 0.9707 0.9707 100.00% Amr::coarseTimeStep() 10 0.8077 0.8077 0.8077 83.21% Amr::timeStep() 10 0.6589 0.6589 0.6589 67.87% Castro::advance() 10 0.649 0.649 0.649 66.86% Castro::subcycle_advance_ctu() 10 0.6353 0.6353 0.6353 65.44% Castro::do_advance_ctu() 10 0.6351 0.6351 0.6351 65.43% Castro::construct_ctu_hydro_source() 10 0.2999 0.2999 0.2999 30.90% Gravity::solve_phi_with_mlmg() 11 0.2922 0.2922 0.2922 30.10% Gravity::actual_solve_with_mlmg() 11 0.2825 0.2825 0.2825 29.10% Castro::construct_new_gravity() 10 0.2636 0.2636 0.2636 27.15% MLMG::solve() 11 0.2612 0.2612 0.2612 26.90% Gravity::solve_for_phi() 10 0.2475 0.2475 0.2475 25.50% MLMG::oneIter() 82 0.2461 0.2461 0.2461 25.35% MLMG::mgVcycle() 82 0.2424 0.2424 0.2424 24.97% VisMF::Write(FabArray) 11 0.2009 0.2009 0.2009 20.70% Amr::checkPoint() 3 0.1965 0.1965 0.1965 20.25% AmrLevel::checkPoint() 3 0.1465 0.1465 0.1465 15.09% StateData::checkPoint() 12 0.1464 0.1464 0.1464 15.09% Amr::init() 1 0.1337 0.1337 0.1337 13.78% MLCellLinOp::smooth() 1640 0.1186 0.1186 0.1186 12.21% MLCellLinOp::applyBC() 4433 0.1108 0.1108 0.1108 11.41% MLMG::mgVcycle_bottom 82 0.07575 0.07575 0.07575 7.80% MLMG::actualBottomSolve() 82 0.07572 0.07572 0.07572 7.80% MLCGSolver::bicgstab 82 0.07499 0.07499 0.07499 7.73% Amr::writePlotFile() 2 0.05708 0.05708 0.05708 5.88% Castro::clean_state() 62 0.05559 0.05559 0.05559 5.73% Amr::initialInit() 1 0.05391 0.05391 0.05391 5.55% Amr::FinalizeInit() 1 0.04891 0.04891 0.04891 5.04% Castro::post_init() 1 0.04747 0.04747 0.04747 4.89% AmrLevel::FillPatch() 41 0.04687 0.04687 0.04687 4.83% Gravity::multilevel_solve_for_new_phi() 1 0.04513 0.04513 0.04513 4.65% Gravity::actual_multilevel_solve() 1 0.04511 0.04511 0.04511 4.65% FillPatchIterator::Initialize 41 0.04269 0.04269 0.04269 4.40% FillPatchIterator::FillFromLevel0() 41 0.04114 0.04114 0.04114 4.24% FillPatchSingleLevel 41 0.04109 0.04109 0.04109 4.23% MLCellLinOp::apply() 1142 0.03711 0.03711 0.03711 3.82% StateDataPhysBCFunct::() 41 0.037 0.037 0.037 3.81% MLMG::mgVcycle_down::0 82 0.03422 0.03422 0.03422 3.53% MLPoisson::Fsmooth() 3280 0.03318 0.03318 0.03318 3.42% FabArray::FillBoundary() 4023 0.03288 0.03288 0.03288 3.39% FillBoundary_nowait() 4023 0.03205 0.03205 0.03205 3.30% StateData::FillBoundary(geom) 328 0.02677 0.02677 0.02677 2.76% MLMG::mgVcycle_up::0 82 0.02574 0.02574 0.02574 2.65% MLCellLinOp::correctionResidual() 492 0.02264 0.02264 0.02264 2.33% Castro::computeTemp() 63 0.0224 0.0224 0.0224 2.31% amrex::Dot() 1114 0.02114 0.02114 0.02114 2.18% Castro::initialize_do_advance() 10 0.02088 0.02088 0.02088 2.15% MLMG:computeResOfCorrection() 410 0.01994 0.01994 0.01994 2.05% Castro::do_old_sources() 10 0.01965 0.01965 0.01965 2.02% Castro::normalize_species() 62 0.01892 0.01892 0.01892 1.95% Gravity::get_new_grav_vector() 11 0.01793 0.01793 0.01793 1.85% MLPoisson::define() 11 0.01683 0.01683 0.01683 1.73% MLMG::mgVcycle_down::1 82 0.01626 0.01626 0.01626 1.67% Castro::construct_old_gravity() 10 0.01526 0.01526 0.01526 1.57% Gravity::get_old_grav_vector() 10 0.01525 0.01525 0.01525 1.57% amrex::Copy() 1029 0.01518 0.01518 0.01518 1.56% MLMG::mgVcycle_down::2 82 0.01502 0.01502 0.01502 1.55% FabArray::norminf() 743 0.01477 0.01477 0.01477 1.52% MLMG::mgVcycle_down::3 82 0.01474 0.01474 0.01474 1.52% FabArray::ParallelCopy() 861 0.01462 0.01462 0.01462 1.51% MLMG::mgVcycle_down::4 82 0.01448 0.01448 0.01448 1.49% FabArray::ParallelCopy_nowait() 861 0.01437 0.01437 0.01437 1.48% FabArray::setVal() 1144 0.01353 0.01353 0.01353 1.39% Castro::initialize_advance() 10 0.01308 0.01308 0.01308 1.35% Castro::do_new_sources() 10 0.0127 0.0127 0.0127 1.31% MLCGSolver::ParallelAllReduce 1514 0.01265 0.01265 0.01265 1.30% MLMG::addInterpCorrection() 410 0.01214 0.01214 0.01214 1.25% MLMG::mgVcycle_up::1 82 0.01172 0.01172 0.01172 1.21% MLMG::mgVcycle_up::4 82 0.01166 0.01166 0.01166 1.20% MLCellLinOp::defineAuxData() 11 0.01152 0.01152 0.01152 1.19% amrex::average_down 410 0.01148 0.01148 0.01148 1.18% MLMG::mgVcycle_up::2 82 0.01143 0.01143 0.01143 1.18% MLMG::mgVcycle_up::3 82 0.01121 0.01121 0.01121 1.15% Castro::enforce_min_density() 62 0.01109 0.01109 0.01109 1.14% Castro::expand_state() 10 0.01105 0.01105 0.01105 1.14% MLPoisson::Fapply() 1142 0.0107 0.0107 0.0107 1.10% Castro::post_timestep() 10 0.009675 0.009675 0.009675 1.00% Gravity::fill_multipole_BCs() 11 0.009484 0.009484 0.009484 0.98% FabArray::Saxpy() 813 0.008442 0.008442 0.008442 0.87% FabArray::Xpay() 821 0.008334 0.008334 0.008334 0.86% MLCellLinOp::solutionResidual() 93 0.007534 0.007534 0.007534 0.78% Castro::reset_internal_energy(MultiFab) 63 0.006531 0.006531 0.006531 0.67% MLMG::computeResidual() 82 0.00625 0.00625 0.00625 0.64% Castro::estTimeStep() 21 0.005489 0.005489 0.005489 0.57% MLCellLinOp::defineBC() 11 0.005059 0.005059 0.005059 0.52% MLMG::prepareForSolve() 11 0.005011 0.005011 0.005011 0.52% Amr::InitializeInit() 1 0.004995 0.004995 0.004995 0.51% Amr::defBaseLevel() 1 0.004991 0.004991 0.004991 0.51% BndryData::define() 11 0.004846 0.004846 0.004846 0.50% FabArray::LinComb() 557 0.004695 0.004695 0.004695 0.48% amrex::Add() 164 0.004452 0.004452 0.004452 0.46% Castro::initData() 1 0.004334 0.004334 0.004334 0.45% Castro::enforce_speed_limit() 62 0.004021 0.004021 0.004021 0.41% Castro::construct_new_source() 50 0.00334 0.00334 0.00334 0.34% Castro::construct_new_gravity_source() 10 0.003323 0.003323 0.003323 0.34% Castro::construct_old_source() 50 0.00294 0.00294 0.00294 0.30% Castro::construct_old_gravity_source() 10 0.002921 0.002921 0.002921 0.30% Castro::computeNewDt() 9 0.002395 0.002395 0.002395 0.25% MLMG::ResNormInf() 93 0.002161 0.002161 0.002161 0.22% Castro::finalize_do_advance() 10 0.00209 0.00209 0.00209 0.22% Castro::apply_source_to_state() 20 0.00187 0.00187 0.00187 0.19% check_for_negative_density() 10 0.001838 0.001838 0.001838 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001762 0.001762 0.001762 0.18% Castro::reset_internal_energy(Fab) 504 0.001687 0.001687 0.001687 0.17% MLMG::getGradSolution() 11 0.001552 0.001552 0.001552 0.16% MLCellLinOp::compGrad() 11 0.001546 0.001546 0.001546 0.16% MLCellLinOp::setLevelBC() 11 0.001453 0.001453 0.001453 0.15% FabArrayBase::getCPC() 1323 0.001431 0.001431 0.001431 0.15% FabArray::mult() 43 0.001366 0.001366 0.001366 0.14% FabArray::setDomainBndry() 41 0.001337 0.001337 0.001337 0.14% MLMG::computeMLResidual() 11 0.001324 0.001324 0.001324 0.14% Castro::check_for_nan() 20 0.001298 0.001298 0.001298 0.13% MLPoisson::prepareForSolve() 11 0.001297 0.001297 0.001297 0.13% MLCellLinOp::prepareForSolve() 11 0.001289 0.001289 0.001289 0.13% MultiFab::contains_nan() 20 0.001285 0.001285 0.001285 0.13% Castro::post_regrid() 1 0.001138 0.001138 0.001138 0.12% Castro::computeInitialDt() 2 0.001057 0.001057 0.001057 0.11% Gravity::update_max_rhs() 11 0.0009745 0.0009745 0.0009745 0.10% FabArrayBase::getFB() 4023 0.0007248 0.0007248 0.0007248 0.07% FabArrayBase::CPC::define() 454 0.0006717 0.0006717 0.0006717 0.07% Castro::finalize_advance() 10 0.0006036 0.0006036 0.0006036 0.06% Castro::Castro() 1 0.0005638 0.0005638 0.0005638 0.06% Amr::InitAmr() 1 0.0004716 0.0004716 0.0004716 0.05% Gravity::swapTimeLevels() 10 0.0004465 0.0004465 0.0004465 0.05% MLMG::MLResNormInf() 11 0.0003318 0.0003318 0.0003318 0.03% MultiFab::max() 11 0.0003249 0.0003249 0.0003249 0.03% Castro::buildMetrics() 1 0.0002744 0.0002744 0.0002744 0.03% MLMG::MLRhsNormInf() 11 0.0002258 0.0002258 0.0002258 0.02% MLLinOp::define() 11 0.0002251 0.0002251 0.0002251 0.02% MLLinOp::defineGrids() 11 0.0002102 0.0002102 0.0002102 0.02% Castro::create_source_corrector() 10 0.0001489 0.0001489 0.0001489 0.02% FabArrayBase::FB::FB() 56 9.442e-05 9.442e-05 9.442e-05 0.01% Castro::enforce_consistent_e() 1 6.949e-05 6.949e-05 6.949e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.041e-05 6.041e-05 6.041e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.293e-05 5.293e-05 5.293e-05 0.01% makeSFC 55 3.811e-05 3.811e-05 3.811e-05 0.00% StateData::define() 4 3.558e-05 3.558e-05 3.558e-05 0.00% Castro::swap_state_time_levels() 10 3.305e-05 3.305e-05 3.305e-05 0.00% Amr::writeSmallPlotFile() 1 3.076e-05 3.076e-05 3.076e-05 0.00% Castro::initMFs() 1 2.752e-05 2.752e-05 2.752e-05 0.00% DistributionMapping::Distribute() 56 1.606e-05 1.606e-05 1.606e-05 0.00% Amr::initSubcycle() 1 8.948e-06 8.948e-06 8.948e-06 0.00% AmrLevel::checkPointPost() 3 4.604e-06 4.604e-06 4.604e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.376e-06 4.376e-06 4.376e-06 0.00% Castro::retry_advance_ctu() 10 4.326e-06 4.326e-06 4.326e-06 0.00% Gravity::set_mass_offset() 11 3.753e-06 3.753e-06 3.753e-06 0.00% AmrLevel::checkPointPre() 3 3.223e-06 3.223e-06 3.223e-06 0.00% Castro::FluxRegCrseInit 10 2.564e-06 2.564e-06 2.564e-06 0.00% Castro::FluxRegFineAdd() 10 2.092e-06 2.092e-06 2.092e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.056e-06 2.056e-06 2.056e-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 86 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 136 MiB 692 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 922 KiB 39 MiB Castro::initialize_do_advance() 80 80 25 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1656 KiB 28 MiB Castro::initialize_advance() 80 80 15 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3309 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 192 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 160 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7522 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 16 KiB 2053 KiB Gravity::update_max_rhs() 88 88 1945 B 2048 KiB Gravity::solve_for_phi() 80 80 521 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 95 KiB 2048 KiB BndryData::define() 1056 1056 302 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 192 KiB 671 KiB Castro::estTimeStep() 21 21 2757 B 480 KiB VisMF::Write(FabArray) 656 656 3170 B 320 KiB Castro::normalize_species() 62 62 6346 B 320 KiB amrex::average_down 1067 1067 1200 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1069 B 257 KiB amrex::Dot() 1360 1360 3212 B 160 KiB FabArray::norminf() 907 907 2256 B 160 KiB check_for_negative_density() 10 10 289 B 160 KiB Castro::initData() 1 1 48 B 160 KiB MultiFab::max() 11 11 52 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 26 B 20 KiB MLPoisson::Fsmooth() 132 132 3231 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 8866 8866 207 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3876 B 6144 B StateData::FillBoundary(geom) 1992 1992 33 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 112 B 1472 B MLCellLinOp::defineBC() 66 66 340 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 490 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 36 KiB 8192 KiB VisMF::Write(FabArray) 744 744 472 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3231 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 41 B 10 KiB FillBoundary_nowait() 760 760 283 B 9648 B MLCellLinOp::applyBC() 4433 4433 206 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3876 B 6144 B Gravity::get_new_grav_vector() 3 3 2903 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 34 B 2544 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B amrex::average_down 83 83 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 275 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): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-5-gb98bdae9fb67) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-5-gb98bdae9fb67) initialized Starting run at 07:55:40 UTC on 2023-09-11. Successfully read inputs file ... Castro git describe: 23.09-4-ge16cd4ff2 AMReX git describe: 23.09-5-gb98bdae9f Microphysics git describe: 23.09-4-g2c408a9c reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.509040255 Restart time = 0.050963491 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.054066487 [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.059305301 [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.067509846 [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.080713248 [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.06517074 [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.029783175 seconds Ending run at 07:55:40 UTC on 2023-09-11. Run time = 0.408533742 Run time without initialization = 0.357000471 Average number of zones advanced per microsecond: 3.671 Average number of zones advanced per microsecond per rank: 3.671 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4086 ... 0.4086 ... 0.4086 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1354 0.1354 0.1354 33.15% VisMF::Read() 3 0.03947 0.03947 0.03947 9.66% MLCellLinOp::applyBC() 1946 0.03394 0.03394 0.03394 8.31% VisMF::Write(FabArray) 1 0.0284 0.0284 0.0284 6.95% MLPoisson::Fsmooth() 1440 0.01432 0.01432 0.01432 3.50% StateData::FillBoundary(geom) 160 0.01289 0.01289 0.01289 3.15% FillBoundary_nowait() 1766 0.01281 0.01281 0.01281 3.14% Castro::normalize_species() 30 0.01087 0.01087 0.01087 2.66% amrex::Dot() 484 0.009094 0.009094 0.009094 2.23% Castro::computeTemp() 30 0.007456 0.007456 0.007456 1.82% amrex::Copy() 463 0.007258 0.007258 0.007258 1.78% FabArray::setVal() 537 0.006582 0.006582 0.006582 1.61% FabArray::norminf() 326 0.006447 0.006447 0.006447 1.58% Castro::enforce_min_density() 30 0.006161 0.006161 0.006161 1.51% FabArray::ParallelCopy_nowait() 380 0.00613 0.00613 0.00613 1.50% Gravity::fill_multipole_BCs() 6 0.005708 0.005708 0.005708 1.40% MLCellLinOp::defineAuxData() 6 0.005442 0.005442 0.005442 1.33% Amr::restart() 1 0.004759 0.004759 0.004759 1.16% StateDataPhysBCFunct::() 20 0.004667 0.004667 0.004667 1.14% MLPoisson::Fapply() 500 0.004614 0.004614 0.004614 1.13% FabArray::Saxpy() 355 0.003776 0.003776 0.003776 0.92% FabArray::Xpay() 361 0.00364 0.00364 0.00364 0.89% Castro::estTimeStep() 10 0.00319 0.00319 0.00319 0.78% MLMG::addInterpCorrection() 180 0.003074 0.003074 0.003074 0.75% amrex::average_down 180 0.002702 0.002702 0.002702 0.66% FabArray::LinComb() 242 0.002287 0.002287 0.002287 0.56% BndryData::define() 6 0.002136 0.002136 0.002136 0.52% amrex::Add() 72 0.001887 0.001887 0.001887 0.46% Castro::construct_new_gravity_source() 5 0.001779 0.001779 0.001779 0.44% Castro::construct_old_gravity_source() 5 0.001499 0.001499 0.001499 0.37% Castro::reset_internal_energy(MultiFab) 30 0.001496 0.001496 0.001496 0.37% Amr::writePlotFile() 1 0.00121 0.00121 0.00121 0.30% MLCGSolver::bicgstab 36 0.001113 0.001113 0.001113 0.27% Castro::enforce_speed_limit() 30 0.00109 0.00109 0.00109 0.27% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009567 0.0009567 0.0009567 0.23% Castro::reset_internal_energy(Fab) 240 0.0008799 0.0008799 0.0008799 0.22% Gravity::actual_solve_with_mlmg() 6 0.0008243 0.0008243 0.0008243 0.20% MLCellLinOp::setLevelBC() 6 0.0008098 0.0008098 0.0008098 0.20% MLCellLinOp::prepareForSolve() 6 0.0007167 0.0007167 0.0007167 0.18% FabArray::mult() 22 0.0006878 0.0006878 0.0006878 0.17% check_for_negative_density() 5 0.0006857 0.0006857 0.0006857 0.17% FabArray::setDomainBndry() 20 0.0006837 0.0006837 0.0006837 0.17% MultiFab::contains_nan() 10 0.0006602 0.0006602 0.0006602 0.16% MLCellLinOp::smooth() 720 0.0006598 0.0006598 0.0006598 0.16% MLCellLinOp::compGrad() 6 0.0005888 0.0005888 0.0005888 0.14% MLMG::prepareForSolve() 6 0.0005552 0.0005552 0.0005552 0.14% FabArrayBase::CPC::define() 244 0.0004099 0.0004099 0.0004099 0.10% Amr::InitAmr() 1 0.0004055 0.0004055 0.0004055 0.10% FabArrayBase::getCPC() 632 0.0003733 0.0003733 0.0003733 0.09% FabArray::FillBoundary() 1766 0.0003623 0.0003623 0.0003623 0.09% Gravity::get_old_grav_vector() 5 0.0003608 0.0003608 0.0003608 0.09% Gravity::get_new_grav_vector() 5 0.0003413 0.0003413 0.0003413 0.08% FabArrayBase::getFB() 1766 0.000272 0.000272 0.000272 0.07% main() 1 0.0002552 0.0002552 0.0002552 0.06% MLCellLinOp::apply() 500 0.0002507 0.0002507 0.0002507 0.06% Amr::coarseTimeStep() 5 0.0002108 0.0002108 0.0002108 0.05% MultiFab::max() 6 0.0002085 0.0002085 0.0002085 0.05% AmrLevel::FillPatch() 20 0.0001617 0.0001617 0.0001617 0.04% MLCGSolver::ParallelAllReduce 659 0.0001354 0.0001354 0.0001354 0.03% FabArray::ParallelCopy() 380 0.0001247 0.0001247 0.0001247 0.03% Castro::subcycle_advance_ctu() 5 0.0001173 0.0001173 0.0001173 0.03% MLCellLinOp::defineBC() 6 0.0001133 0.0001133 0.0001133 0.03% MLCellLinOp::correctionResidual() 216 0.0001127 0.0001127 0.0001127 0.03% FillPatchIterator::Initialize 20 0.0001072 0.0001072 0.0001072 0.03% Castro::create_source_corrector() 5 0.0001069 0.0001069 0.0001069 0.03% MLLinOp::defineGrids() 6 0.0001034 0.0001034 0.0001034 0.03% MLMG::mgVcycle() 36 9.59e-05 9.59e-05 9.59e-05 0.02% Amr::timeStep() 5 8.424e-05 8.424e-05 8.424e-05 0.02% AmrLevel::restart() 1 8.287e-05 8.287e-05 8.287e-05 0.02% Castro::finalize_do_advance() 5 8.176e-05 8.176e-05 8.176e-05 0.02% Castro::advance() 5 7.709e-05 7.709e-05 7.709e-05 0.02% Gravity::solve_for_phi() 5 7.31e-05 7.31e-05 7.31e-05 0.02% Gravity::update_max_rhs() 6 6.405e-05 6.405e-05 6.405e-05 0.02% StateData::restartDoit() 4 6.353e-05 6.353e-05 6.353e-05 0.02% Castro::do_new_sources() 5 6.143e-05 6.143e-05 6.143e-05 0.02% FabArrayBase::FB::FB() 26 5.977e-05 5.977e-05 5.977e-05 0.01% Castro::construct_new_source() 25 5.542e-05 5.542e-05 5.542e-05 0.01% MLMG:computeResOfCorrection() 180 5.091e-05 5.091e-05 5.091e-05 0.01% Castro::do_advance_ctu() 5 4.662e-05 4.662e-05 4.662e-05 0.01% MLMG::actualBottomSolve() 36 4.544e-05 4.544e-05 4.544e-05 0.01% MLMG::mgVcycle_down::0 36 4.414e-05 4.414e-05 4.414e-05 0.01% MLMG::mgVcycle_down::1 36 4.157e-05 4.157e-05 4.157e-05 0.01% MLMG::mgVcycle_down::2 36 3.981e-05 3.981e-05 3.981e-05 0.01% MLMG::solve() 6 3.941e-05 3.941e-05 3.941e-05 0.01% MLMG::mgVcycle_down::4 36 3.936e-05 3.936e-05 3.936e-05 0.01% Castro::initialize_advance() 5 3.906e-05 3.906e-05 3.906e-05 0.01% MLMG::mgVcycle_down::3 36 3.879e-05 3.879e-05 3.879e-05 0.01% Castro::clean_state() 30 3.777e-05 3.777e-05 3.777e-05 0.01% MLMG::mgVcycle_up::4 36 3.224e-05 3.224e-05 3.224e-05 0.01% Castro::post_timestep() 5 3.188e-05 3.188e-05 3.188e-05 0.01% Castro::finalize_advance() 5 3.018e-05 3.018e-05 3.018e-05 0.01% Castro::initialize_do_advance() 5 3.015e-05 3.015e-05 3.015e-05 0.01% Amr::writeSmallPlotFile() 1 2.914e-05 2.914e-05 2.914e-05 0.01% Castro::post_restart() 1 2.892e-05 2.892e-05 2.892e-05 0.01% Castro::construct_old_source() 25 2.671e-05 2.671e-05 2.671e-05 0.01% MLMG::mgVcycle_up::0 36 2.63e-05 2.63e-05 2.63e-05 0.01% MLCellLinOp::solutionResidual() 42 2.584e-05 2.584e-05 2.584e-05 0.01% MLMG::mgVcycle_up::3 36 2.579e-05 2.579e-05 2.579e-05 0.01% MLMG::mgVcycle_up::2 36 2.519e-05 2.519e-05 2.519e-05 0.01% Castro::buildMetrics() 1 2.514e-05 2.514e-05 2.514e-05 0.01% MLMG::oneIter() 36 2.509e-05 2.509e-05 2.509e-05 0.01% MLMG::mgVcycle_up::1 36 2.444e-05 2.444e-05 2.444e-05 0.01% Castro::initMFs() 1 2.352e-05 2.352e-05 2.352e-05 0.01% Castro::swap_state_time_levels() 5 2.338e-05 2.338e-05 2.338e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.242e-05 2.242e-05 2.242e-05 0.01% MLMG::ResNormInf() 42 1.791e-05 1.791e-05 1.791e-05 0.00% FillPatchSingleLevel 20 1.584e-05 1.584e-05 1.584e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.58e-05 1.58e-05 1.58e-05 0.00% MLMG::mgVcycle_bottom 36 1.509e-05 1.509e-05 1.509e-05 0.00% MLMG::computeResidual() 36 1.501e-05 1.501e-05 1.501e-05 0.00% MLPoisson::define() 6 1.45e-05 1.45e-05 1.45e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.396e-05 1.396e-05 1.396e-05 0.00% Castro::construct_new_gravity() 5 1.353e-05 1.353e-05 1.353e-05 0.00% makeSFC 30 1.274e-05 1.274e-05 1.274e-05 0.00% Castro::do_old_sources() 5 1.241e-05 1.241e-05 1.241e-05 0.00% MLLinOp::define() 6 1.074e-05 1.074e-05 1.074e-05 0.00% MLMG::getGradSolution() 6 9.233e-06 9.233e-06 9.233e-06 0.00% Amr::initSubcycle() 1 9.145e-06 9.145e-06 9.145e-06 0.00% DistributionMapping::Distribute() 31 9.094e-06 9.094e-06 9.094e-06 0.00% Gravity::actual_multilevel_solve() 1 8.249e-06 8.249e-06 8.249e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 8.194e-06 8.194e-06 8.194e-06 0.00% Castro::check_for_nan() 10 7.402e-06 7.402e-06 7.402e-06 0.00% Castro::construct_old_gravity() 5 6.398e-06 6.398e-06 6.398e-06 0.00% Castro::apply_source_to_state() 10 5.832e-06 5.832e-06 5.832e-06 0.00% Gravity::swapTimeLevels() 5 5.38e-06 5.38e-06 5.38e-06 0.00% MLPoisson::prepareForSolve() 6 4.211e-06 4.211e-06 4.211e-06 0.00% MLMG::computeMLResidual() 6 4.175e-06 4.175e-06 4.175e-06 0.00% Castro::computeNewDt() 5 4.003e-06 4.003e-06 4.003e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.222e-06 3.222e-06 3.222e-06 0.00% Castro::expand_state() 5 2.77e-06 2.77e-06 2.77e-06 0.00% MLMG::MLRhsNormInf() 6 2.623e-06 2.623e-06 2.623e-06 0.00% MLMG::MLResNormInf() 6 2.56e-06 2.56e-06 2.56e-06 0.00% Gravity::set_mass_offset() 6 2.189e-06 2.189e-06 2.189e-06 0.00% Castro::retry_advance_ctu() 5 1.985e-06 1.985e-06 1.985e-06 0.00% Castro::FluxRegCrseInit 5 1.536e-06 1.536e-06 1.536e-06 0.00% Castro::FluxRegFineAdd() 5 1.139e-06 1.139e-06 1.139e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.5e-07 9.5e-07 9.5e-07 0.00% Amr::init() 1 8.13e-07 8.13e-07 8.13e-07 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4085 0.4085 0.4085 100.00% Amr::coarseTimeStep() 5 0.327 0.327 0.327 80.03% Amr::timeStep() 5 0.3248 0.3248 0.3248 79.49% Castro::advance() 5 0.3192 0.3192 0.3192 78.13% Castro::subcycle_advance_ctu() 5 0.3113 0.3113 0.3113 76.19% Castro::do_advance_ctu() 5 0.3112 0.3112 0.3112 76.16% Castro::construct_ctu_hydro_source() 5 0.1401 0.1401 0.1401 34.30% Castro::construct_new_gravity() 5 0.1339 0.1339 0.1339 32.77% Gravity::solve_phi_with_mlmg() 6 0.1316 0.1316 0.1316 32.20% Gravity::solve_for_phi() 5 0.126 0.126 0.126 30.83% Gravity::actual_solve_with_mlmg() 6 0.1256 0.1256 0.1256 30.75% MLMG::solve() 6 0.1139 0.1139 0.1139 27.88% MLMG::oneIter() 36 0.1065 0.1065 0.1065 26.06% MLMG::mgVcycle() 36 0.1049 0.1049 0.1049 25.68% Amr::init() 1 0.05101 0.05101 0.05101 12.49% Amr::restart() 1 0.05101 0.05101 0.05101 12.48% MLCellLinOp::smooth() 720 0.05082 0.05082 0.05082 12.44% MLCellLinOp::applyBC() 1946 0.04745 0.04745 0.04745 11.61% AmrLevel::restart() 1 0.03983 0.03983 0.03983 9.75% StateData::restartDoit() 4 0.03974 0.03974 0.03974 9.73% VisMF::Read() 3 0.03947 0.03947 0.03947 9.66% MLMG::mgVcycle_bottom 36 0.03307 0.03307 0.03307 8.09% MLMG::actualBottomSolve() 36 0.03306 0.03306 0.03306 8.09% MLCGSolver::bicgstab 36 0.03274 0.03274 0.03274 8.01% Amr::writePlotFile() 1 0.02987 0.02987 0.02987 7.31% VisMF::Write(FabArray) 1 0.0284 0.0284 0.0284 6.95% Castro::clean_state() 30 0.02799 0.02799 0.02799 6.85% AmrLevel::FillPatch() 20 0.02247 0.02247 0.02247 5.50% FillPatchIterator::Initialize 20 0.02041 0.02041 0.02041 4.99% FillPatchIterator::FillFromLevel0() 20 0.01962 0.01962 0.01962 4.80% FillPatchSingleLevel 20 0.01959 0.01959 0.01959 4.80% StateDataPhysBCFunct::() 20 0.01756 0.01756 0.01756 4.30% MLCellLinOp::apply() 500 0.0162 0.0162 0.0162 3.96% MLMG::mgVcycle_down::0 36 0.01455 0.01455 0.01455 3.56% MLPoisson::Fsmooth() 1440 0.01432 0.01432 0.01432 3.50% FabArray::FillBoundary() 1766 0.01351 0.01351 0.01351 3.31% FillBoundary_nowait() 1766 0.01315 0.01315 0.01315 3.22% StateData::FillBoundary(geom) 160 0.01289 0.01289 0.01289 3.15% Castro::initialize_do_advance() 5 0.01092 0.01092 0.01092 2.67% MLMG::mgVcycle_up::0 36 0.01091 0.01091 0.01091 2.67% Castro::normalize_species() 30 0.01087 0.01087 0.01087 2.66% Castro::computeTemp() 30 0.009832 0.009832 0.009832 2.41% MLCellLinOp::correctionResidual() 216 0.009757 0.009757 0.009757 2.39% Castro::do_old_sources() 5 0.009323 0.009323 0.009323 2.28% MLPoisson::define() 6 0.009194 0.009194 0.009194 2.25% amrex::Dot() 484 0.009094 0.009094 0.009094 2.23% MLMG:computeResOfCorrection() 180 0.008576 0.008576 0.008576 2.10% Gravity::get_new_grav_vector() 5 0.007779 0.007779 0.007779 1.90% Castro::do_new_sources() 5 0.007579 0.007579 0.007579 1.85% Castro::initialize_advance() 5 0.007559 0.007559 0.007559 1.85% Castro::construct_old_gravity() 5 0.007526 0.007526 0.007526 1.84% Gravity::get_old_grav_vector() 5 0.007519 0.007519 0.007519 1.84% amrex::Copy() 463 0.007258 0.007258 0.007258 1.78% MLMG::mgVcycle_down::1 36 0.007092 0.007092 0.007092 1.74% FabArray::ParallelCopy() 380 0.00665 0.00665 0.00665 1.63% FabArray::setVal() 537 0.006582 0.006582 0.006582 1.61% FabArray::ParallelCopy_nowait() 380 0.006525 0.006525 0.006525 1.60% MLMG::mgVcycle_down::2 36 0.006519 0.006519 0.006519 1.60% FabArray::norminf() 326 0.006447 0.006447 0.006447 1.58% MLMG::mgVcycle_down::3 36 0.006388 0.006388 0.006388 1.56% MLMG::mgVcycle_down::4 36 0.006295 0.006295 0.006295 1.54% Castro::post_restart() 1 0.006244 0.006244 0.006244 1.53% MLCellLinOp::defineAuxData() 6 0.006217 0.006217 0.006217 1.52% Castro::enforce_min_density() 30 0.006161 0.006161 0.006161 1.51% Castro::expand_state() 5 0.005952 0.005952 0.005952 1.46% Gravity::multilevel_solve_for_new_phi() 1 0.005869 0.005869 0.005869 1.44% Gravity::actual_multilevel_solve() 1 0.005853 0.005853 0.005853 1.43% Gravity::fill_multipole_BCs() 6 0.005832 0.005832 0.005832 1.43% MLCGSolver::ParallelAllReduce 659 0.005511 0.005511 0.005511 1.35% Castro::post_timestep() 5 0.005463 0.005463 0.005463 1.34% MLMG::addInterpCorrection() 180 0.005358 0.005358 0.005358 1.31% MLMG::mgVcycle_up::4 36 0.005123 0.005123 0.005123 1.25% amrex::average_down 180 0.005047 0.005047 0.005047 1.24% MLMG::mgVcycle_up::1 36 0.005047 0.005047 0.005047 1.24% MLMG::mgVcycle_up::2 36 0.004954 0.004954 0.004954 1.21% MLMG::mgVcycle_up::3 36 0.004869 0.004869 0.004869 1.19% MLPoisson::Fapply() 500 0.004614 0.004614 0.004614 1.13% FabArray::Saxpy() 355 0.003776 0.003776 0.003776 0.92% FabArray::Xpay() 361 0.00364 0.00364 0.00364 0.89% MLCellLinOp::solutionResidual() 42 0.003513 0.003513 0.003513 0.86% Castro::estTimeStep() 10 0.00319 0.00319 0.00319 0.78% MLCellLinOp::defineBC() 6 0.002819 0.002819 0.002819 0.69% MLMG::prepareForSolve() 6 0.002768 0.002768 0.002768 0.68% MLMG::computeResidual() 36 0.002744 0.002744 0.002744 0.67% BndryData::define() 6 0.002706 0.002706 0.002706 0.66% Castro::reset_internal_energy(MultiFab) 30 0.002375 0.002375 0.002375 0.58% FabArray::LinComb() 242 0.002287 0.002287 0.002287 0.56% Castro::computeNewDt() 5 0.001986 0.001986 0.001986 0.49% amrex::Add() 72 0.001887 0.001887 0.001887 0.46% Castro::construct_new_source() 25 0.001835 0.001835 0.001835 0.45% Castro::construct_new_gravity_source() 5 0.001779 0.001779 0.001779 0.44% Castro::construct_old_source() 25 0.001525 0.001525 0.001525 0.37% Castro::construct_old_gravity_source() 5 0.001499 0.001499 0.001499 0.37% Castro::finalize_do_advance() 5 0.001289 0.001289 0.001289 0.32% Castro::enforce_speed_limit() 30 0.00109 0.00109 0.00109 0.27% MLMG::ResNormInf() 42 0.0009975 0.0009975 0.0009975 0.24% Castro::apply_source_to_state() 10 0.000958 0.000958 0.000958 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009567 0.0009567 0.0009567 0.23% Castro::reset_internal_energy(Fab) 240 0.0008799 0.0008799 0.0008799 0.22% MLMG::getGradSolution() 6 0.0008758 0.0008758 0.0008758 0.21% MLCellLinOp::compGrad() 6 0.0008666 0.0008666 0.0008666 0.21% MLCellLinOp::setLevelBC() 6 0.0008098 0.0008098 0.0008098 0.20% MLMG::computeMLResidual() 6 0.0007882 0.0007882 0.0007882 0.19% FabArrayBase::getCPC() 632 0.0007832 0.0007832 0.0007832 0.19% MLPoisson::prepareForSolve() 6 0.0007209 0.0007209 0.0007209 0.18% Gravity::update_max_rhs() 6 0.0007175 0.0007175 0.0007175 0.18% MLCellLinOp::prepareForSolve() 6 0.0007167 0.0007167 0.0007167 0.18% FabArray::mult() 22 0.0006878 0.0006878 0.0006878 0.17% check_for_negative_density() 5 0.0006857 0.0006857 0.0006857 0.17% FabArray::setDomainBndry() 20 0.0006837 0.0006837 0.0006837 0.17% Castro::check_for_nan() 10 0.0006676 0.0006676 0.0006676 0.16% MultiFab::contains_nan() 10 0.0006602 0.0006602 0.0006602 0.16% Amr::InitAmr() 1 0.0004146 0.0004146 0.0004146 0.10% FabArrayBase::CPC::define() 244 0.0004099 0.0004099 0.0004099 0.10% FabArrayBase::getFB() 1766 0.0003317 0.0003317 0.0003317 0.08% Castro::finalize_advance() 5 0.000298 0.000298 0.000298 0.07% Gravity::swapTimeLevels() 5 0.0002312 0.0002312 0.0002312 0.06% MultiFab::max() 6 0.0002085 0.0002085 0.0002085 0.05% MLMG::MLResNormInf() 6 0.00019 0.00019 0.00019 0.05% Castro::buildMetrics() 1 0.0001555 0.0001555 0.0001555 0.04% MLLinOp::define() 6 0.0001438 0.0001438 0.0001438 0.04% MLLinOp::defineGrids() 6 0.0001331 0.0001331 0.0001331 0.03% MLMG::MLRhsNormInf() 6 0.0001204 0.0001204 0.0001204 0.03% Castro::create_source_corrector() 5 0.0001069 0.0001069 0.0001069 0.03% FabArrayBase::FB::FB() 26 5.977e-05 5.977e-05 5.977e-05 0.01% Amr::writeSmallPlotFile() 1 2.914e-05 2.914e-05 2.914e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.873e-05 2.873e-05 2.873e-05 0.01% Castro::initMFs() 1 2.352e-05 2.352e-05 2.352e-05 0.01% Castro::swap_state_time_levels() 5 2.338e-05 2.338e-05 2.338e-05 0.01% makeSFC 30 2.053e-05 2.053e-05 2.053e-05 0.01% Amr::initSubcycle() 1 9.145e-06 9.145e-06 9.145e-06 0.00% DistributionMapping::Distribute() 31 9.094e-06 9.094e-06 9.094e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.524e-06 4.524e-06 4.524e-06 0.00% Gravity::set_mass_offset() 6 2.189e-06 2.189e-06 2.189e-06 0.00% Castro::retry_advance_ctu() 5 1.985e-06 1.985e-06 1.985e-06 0.00% Castro::FluxRegCrseInit 5 1.536e-06 1.536e-06 1.536e-06 0.00% Castro::FluxRegFineAdd() 5 1.139e-06 1.139e-06 1.139e-06 0.00% MLLinOp::makeSubCommunicator() 6 9.5e-07 9.5e-07 9.5e-07 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 205 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 147 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1101 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2053 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 3423 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 190 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 194 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6724 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3494 B 2048 KiB Gravity::solve_for_phi() 40 40 630 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 315 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 202 KiB 671 KiB Castro::estTimeStep() 10 10 3747 B 480 KiB VisMF::Write(FabArray) 112 112 1364 B 320 KiB Castro::normalize_species() 30 30 8662 B 320 KiB amrex::average_down 469 469 1204 B 257 KiB MLMG::addInterpCorrection() 468 468 1119 B 257 KiB amrex::Dot() 592 592 3272 B 160 KiB FabArray::norminf() 398 398 2325 B 160 KiB check_for_negative_density() 5 5 264 B 160 KiB MultiFab::max() 6 6 79 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3318 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 272 B 9648 B MLCellLinOp::applyBC() 3892 3892 217 B 9344 B amrex::Copy() 56 56 5930 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 42 B 2832 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLCGSolver::bicgstab 324 324 116 B 1472 B MLCellLinOp::defineBC() 36 36 354 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1208 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 88 KiB 8192 KiB VisMF::Write(FabArray) 120 120 200 KiB 3584 KiB VisMF::Read() 24 24 187 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3318 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 47 B 10 KiB FillBoundary_nowait() 336 336 272 B 9648 B MLCellLinOp::applyBC() 1946 1946 215 B 9328 B amrex::Copy() 56 56 5930 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2636 B 3072 B StateData::FillBoundary(geom) 960 960 42 B 2928 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 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 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 24 B 400 B FabArray::norminf() 398 398 17 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 2528 [The Arena] space allocated (MB): 9042 [The Arena] space used (MB): 0 [The Managed Arena] space allocated (MB): 8 [The Managed Arena] space used (MB): 0 [The Pinned Arena] space allocated (MB): 8 [The Pinned Arena] space used (MB): 0 AMReX (23.09-5-gb98bdae9fb67) finalized