Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-56-g9a85e502923e) initialized Starting run at 08:30:21 UTC on 2023-09-04. Successfully read inputs file ... Castro git describe: 23.08-7-gf1b93be75 AMReX git describe: 23.08-56-g9a85e5029 Microphysics git describe: 23.08-19-gbb8d2a2b 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.051135071 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.02852541 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.052468761 [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.071183356 [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.078056553 [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.070468752 [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.067095277 [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.050090274 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.070352895 [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.075116236 [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.065294323 [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.067367461 [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.083714291 [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.077673209 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.0284642 seconds Ending run at 08:30:22 UTC on 2023-09-04. Run time = 0.992352997 Run time without initialization = 0.857958692 Average number of zones advanced per microsecond: 3.055 Average number of zones advanced per microsecond per rank: 3.055 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9924 ... 0.9924 ... 0.9924 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.3240 0.3240 0.3240 32.65% VisMF::Write(FabArray) 11 0.201 0.201 0.201 20.25% MLCellLinOp::applyBC() 4433 0.07801 0.07801 0.07801 7.86% MLPoisson::Fsmooth() 3280 0.0329 0.0329 0.0329 3.32% Amr::checkPoint() 3 0.03243 0.03243 0.03243 3.27% FillBoundary_nowait() 4023 0.03062 0.03062 0.03062 3.09% StateData::FillBoundary(geom) 328 0.02614 0.02614 0.02614 2.63% Castro::normalize_species() 62 0.02107 0.02107 0.02107 2.12% amrex::Dot() 1114 0.02097 0.02097 0.02097 2.11% Castro::computeTemp() 63 0.01718 0.01718 0.01718 1.73% amrex::Copy() 1029 0.0151 0.0151 0.0151 1.52% FabArray::norminf() 743 0.01463 0.01463 0.01463 1.47% FabArray::ParallelCopy_nowait() 861 0.01357 0.01357 0.01357 1.37% Castro::enforce_min_density() 62 0.01353 0.01353 0.01353 1.36% FabArray::setVal() 1144 0.01342 0.01342 0.01342 1.35% StateDataPhysBCFunct::() 41 0.01066 0.01066 0.01066 1.07% MLPoisson::Fapply() 1142 0.01057 0.01057 0.01057 1.06% MLCellLinOp::defineAuxData() 11 0.01039 0.01039 0.01039 1.05% Gravity::fill_multipole_BCs() 11 0.009421 0.009421 0.009421 0.95% FabArray::Saxpy() 813 0.008383 0.008383 0.008383 0.84% FabArray::Xpay() 821 0.008296 0.008296 0.008296 0.84% MLMG::addInterpCorrection() 410 0.006841 0.006841 0.006841 0.69% Castro::estTimeStep() 21 0.006391 0.006391 0.006391 0.64% amrex::average_down 410 0.006149 0.006149 0.006149 0.62% Castro::reset_internal_energy(MultiFab) 63 0.005105 0.005105 0.005105 0.51% FabArray::LinComb() 557 0.004598 0.004598 0.004598 0.46% amrex::Add() 164 0.00444 0.00444 0.00444 0.45% BndryData::define() 11 0.003813 0.003813 0.003813 0.38% Castro::construct_new_gravity_source() 10 0.003476 0.003476 0.003476 0.35% Castro::construct_old_gravity_source() 10 0.002856 0.002856 0.002856 0.29% MLCGSolver::bicgstab 82 0.002253 0.002253 0.002253 0.23% Castro::enforce_speed_limit() 62 0.00219 0.00219 0.00219 0.22% check_for_negative_density() 10 0.002039 0.002039 0.002039 0.21% Amr::writePlotFile() 2 0.001998 0.001998 0.001998 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.18% Castro::reset_internal_energy(Fab) 504 0.001707 0.001707 0.001707 0.17% Castro::initData() 1 0.001523 0.001523 0.001523 0.15% Gravity::actual_solve_with_mlmg() 11 0.001502 0.001502 0.001502 0.15% MLCellLinOp::setLevelBC() 11 0.001451 0.001451 0.001451 0.15% FabArray::mult() 43 0.001358 0.001358 0.001358 0.14% FabArray::setDomainBndry() 41 0.001346 0.001346 0.001346 0.14% MultiFab::contains_nan() 20 0.001279 0.001279 0.001279 0.13% MLCellLinOp::prepareForSolve() 11 0.001253 0.001253 0.001253 0.13% MLCellLinOp::smooth() 1640 0.001188 0.001188 0.001188 0.12% MLCellLinOp::compGrad() 11 0.001053 0.001053 0.001053 0.11% MLMG::prepareForSolve() 11 0.0009562 0.0009562 0.0009562 0.10% FabArray::FillBoundary() 4023 0.0008259 0.0008259 0.0008259 0.08% FabArrayBase::getCPC() 1323 0.0007919 0.0007919 0.0007919 0.08% FabArrayBase::CPC::define() 454 0.0007073 0.0007073 0.0007073 0.07% FabArrayBase::getFB() 4023 0.0006095 0.0006095 0.0006095 0.06% Gravity::get_new_grav_vector() 11 0.0005936 0.0005936 0.0005936 0.06% Amr::InitAmr() 1 0.0004851 0.0004851 0.0004851 0.05% Gravity::get_old_grav_vector() 10 0.0004811 0.0004811 0.0004811 0.05% MLCellLinOp::apply() 1142 0.0004786 0.0004786 0.0004786 0.05% Amr::coarseTimeStep() 10 0.0003369 0.0003369 0.0003369 0.03% AmrLevel::FillPatch() 41 0.0003327 0.0003327 0.0003327 0.03% MultiFab::max() 11 0.0003264 0.0003264 0.0003264 0.03% MLCGSolver::ParallelAllReduce 1514 0.000295 0.000295 0.000295 0.03% main() 1 0.0002844 0.0002844 0.0002844 0.03% FabArray::ParallelCopy() 861 0.0002744 0.0002744 0.0002744 0.03% MLCellLinOp::correctionResidual() 492 0.0002284 0.0002284 0.0002284 0.02% MLCellLinOp::defineBC() 11 0.0002138 0.0002138 0.0002138 0.02% FillPatchIterator::Initialize 41 0.0002133 0.0002133 0.0002133 0.02% MLMG::mgVcycle() 82 0.0001971 0.0001971 0.0001971 0.02% Castro::subcycle_advance_ctu() 10 0.000177 0.000177 0.000177 0.02% Castro::create_source_corrector() 10 0.0001625 0.0001625 0.0001625 0.02% MLLinOp::defineGrids() 11 0.0001569 0.0001569 0.0001569 0.02% Amr::timeStep() 10 0.0001523 0.0001523 0.0001523 0.02% Gravity::solve_for_phi() 10 0.0001333 0.0001333 0.0001333 0.01% StateData::checkPoint() 12 0.0001326 0.0001326 0.0001326 0.01% Gravity::update_max_rhs() 11 0.0001275 0.0001275 0.0001275 0.01% MLMG:computeResOfCorrection() 410 0.0001229 0.0001229 0.0001229 0.01% Castro::Castro() 1 0.000101 0.000101 0.000101 0.01% AmrLevel::checkPoint() 3 9.762e-05 9.762e-05 9.762e-05 0.01% FabArrayBase::FB::FB() 56 9.679e-05 9.679e-05 9.679e-05 0.01% MLMG::actualBottomSolve() 82 9.172e-05 9.172e-05 9.172e-05 0.01% Castro::advance() 10 8.607e-05 8.607e-05 8.607e-05 0.01% MLMG::mgVcycle_down::0 82 8.509e-05 8.509e-05 8.509e-05 0.01% Castro::finalize_advance() 10 8.355e-05 8.355e-05 8.355e-05 0.01% MLMG::solve() 11 8.181e-05 8.181e-05 8.181e-05 0.01% Castro::enforce_consistent_e() 1 7.76e-05 7.76e-05 7.76e-05 0.01% Castro::initialize_advance() 10 7.753e-05 7.753e-05 7.753e-05 0.01% Castro::do_new_sources() 10 7.607e-05 7.607e-05 7.607e-05 0.01% MLMG::mgVcycle_down::2 82 7.581e-05 7.581e-05 7.581e-05 0.01% MLMG::mgVcycle_down::1 82 7.499e-05 7.499e-05 7.499e-05 0.01% MLMG::mgVcycle_down::3 82 7.326e-05 7.326e-05 7.326e-05 0.01% MLMG::mgVcycle_down::4 82 7.19e-05 7.19e-05 7.19e-05 0.01% Castro::clean_state() 62 7.014e-05 7.014e-05 7.014e-05 0.01% MLMG::mgVcycle_up::4 82 6.022e-05 6.022e-05 6.022e-05 0.01% Castro::initialize_do_advance() 10 5.959e-05 5.959e-05 5.959e-05 0.01% MLMG::oneIter() 82 5.35e-05 5.35e-05 5.35e-05 0.01% MLMG::mgVcycle_up::0 82 5.174e-05 5.174e-05 5.174e-05 0.01% MLCellLinOp::solutionResidual() 93 5.168e-05 5.168e-05 5.168e-05 0.01% MLMG::mgVcycle_up::3 82 4.975e-05 4.975e-05 4.975e-05 0.01% Castro::do_advance_ctu() 10 4.83e-05 4.83e-05 4.83e-05 0.00% MLMG::mgVcycle_up::1 82 4.748e-05 4.748e-05 4.748e-05 0.00% FillPatchIterator::FillFromLevel0() 41 4.731e-05 4.731e-05 4.731e-05 0.00% MLMG::mgVcycle_up::2 82 4.681e-05 4.681e-05 4.681e-05 0.00% Castro::finalize_do_advance() 10 4.418e-05 4.418e-05 4.418e-05 0.00% StateData::define() 4 4.027e-05 4.027e-05 4.027e-05 0.00% Castro::post_timestep() 10 3.862e-05 3.862e-05 3.862e-05 0.00% Castro::swap_state_time_levels() 10 3.819e-05 3.819e-05 3.819e-05 0.00% Castro::construct_new_source() 50 3.798e-05 3.798e-05 3.798e-05 0.00% FillPatchSingleLevel 41 3.516e-05 3.516e-05 3.516e-05 0.00% MLMG::computeResidual() 82 3.413e-05 3.413e-05 3.413e-05 0.00% MLMG::mgVcycle_bottom 82 3.289e-05 3.289e-05 3.289e-05 0.00% MLMG::ResNormInf() 93 3.129e-05 3.129e-05 3.129e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.886e-05 2.886e-05 2.886e-05 0.00% Castro::initMFs() 1 2.862e-05 2.862e-05 2.862e-05 0.00% Castro::buildMetrics() 1 2.828e-05 2.828e-05 2.828e-05 0.00% Amr::writeSmallPlotFile() 1 2.79e-05 2.79e-05 2.79e-05 0.00% Amr::defBaseLevel() 1 2.69e-05 2.69e-05 2.69e-05 0.00% AmrLevel::AmrLevel(dm) 1 2.63e-05 2.63e-05 2.63e-05 0.00% Castro::construct_new_gravity() 10 2.605e-05 2.605e-05 2.605e-05 0.00% makeSFC 55 2.459e-05 2.459e-05 2.459e-05 0.00% MLPoisson::define() 11 2.172e-05 2.172e-05 2.172e-05 0.00% Castro::do_old_sources() 10 2.17e-05 2.17e-05 2.17e-05 0.00% Amr::FinalizeInit() 1 2.044e-05 2.044e-05 2.044e-05 0.00% Castro::construct_old_source() 50 1.936e-05 1.936e-05 1.936e-05 0.00% DistributionMapping::Distribute() 56 1.845e-05 1.845e-05 1.845e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.821e-05 1.821e-05 1.821e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.533e-05 1.533e-05 1.533e-05 0.00% MLLinOp::define() 11 1.497e-05 1.497e-05 1.497e-05 0.00% Castro::check_for_nan() 20 1.326e-05 1.326e-05 1.326e-05 0.00% Castro::construct_old_gravity() 10 1.251e-05 1.251e-05 1.251e-05 0.00% Castro::apply_source_to_state() 20 1.157e-05 1.157e-05 1.157e-05 0.00% Castro::post_init() 1 1.119e-05 1.119e-05 1.119e-05 0.00% Amr::initSubcycle() 1 9.811e-06 9.811e-06 9.811e-06 0.00% Gravity::swapTimeLevels() 10 9.633e-06 9.633e-06 9.633e-06 0.00% Gravity::actual_multilevel_solve() 1 8.176e-06 8.176e-06 8.176e-06 0.00% MLMG::computeMLResidual() 11 7.993e-06 7.993e-06 7.993e-06 0.00% Castro::computeNewDt() 9 7.844e-06 7.844e-06 7.844e-06 0.00% MLPoisson::prepareForSolve() 11 7.733e-06 7.733e-06 7.733e-06 0.00% Castro::expand_state() 10 6.475e-06 6.475e-06 6.475e-06 0.00% MLMG::getGradSolution() 11 5.901e-06 5.901e-06 5.901e-06 0.00% AmrLevel::checkPointPost() 3 5.172e-06 5.172e-06 5.172e-06 0.00% Amr::init() 1 5.069e-06 5.069e-06 5.069e-06 0.00% Amr::InitializeInit() 1 5.062e-06 5.062e-06 5.062e-06 0.00% Castro::retry_advance_ctu() 10 4.975e-06 4.975e-06 4.975e-06 0.00% MLMG::MLRhsNormInf() 11 4.371e-06 4.371e-06 4.371e-06 0.00% Gravity::set_mass_offset() 11 4.024e-06 4.024e-06 4.024e-06 0.00% AmrLevel::checkPointPre() 3 3.977e-06 3.977e-06 3.977e-06 0.00% Castro::computeInitialDt() 2 3.57e-06 3.57e-06 3.57e-06 0.00% MLMG::MLResNormInf() 11 3.471e-06 3.471e-06 3.471e-06 0.00% Castro::FluxRegCrseInit 10 2.936e-06 2.936e-06 2.936e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.797e-06 2.797e-06 2.797e-06 0.00% Castro::FluxRegFineAdd() 10 2.239e-06 2.239e-06 2.239e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.051e-06 2.051e-06 2.051e-06 0.00% Castro::post_regrid() 1 1.363e-06 1.363e-06 1.363e-06 0.00% Amr::initialInit() 1 1.169e-06 1.169e-06 1.169e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9924 0.9924 0.9924 100.00% Amr::coarseTimeStep() 10 0.8293 0.8293 0.8293 83.56% Amr::timeStep() 10 0.6975 0.6975 0.6975 70.29% Castro::advance() 10 0.6858 0.6858 0.6858 69.11% Castro::subcycle_advance_ctu() 10 0.671 0.671 0.671 67.62% Castro::do_advance_ctu() 10 0.6708 0.6708 0.6708 67.60% Castro::construct_ctu_hydro_source() 10 0.3357 0.3357 0.3357 33.82% Gravity::solve_phi_with_mlmg() 11 0.2911 0.2911 0.2911 29.33% Gravity::actual_solve_with_mlmg() 11 0.2812 0.2812 0.2812 28.34% Castro::construct_new_gravity() 10 0.2619 0.2619 0.2619 26.39% MLMG::solve() 11 0.2596 0.2596 0.2596 26.16% Gravity::solve_for_phi() 10 0.2465 0.2465 0.2465 24.84% MLMG::oneIter() 82 0.2446 0.2446 0.2446 24.65% MLMG::mgVcycle() 82 0.241 0.241 0.241 24.28% VisMF::Write(FabArray) 11 0.201 0.201 0.201 20.25% Amr::checkPoint() 3 0.179 0.179 0.179 18.04% AmrLevel::checkPoint() 3 0.1466 0.1466 0.1466 14.77% StateData::checkPoint() 12 0.1465 0.1465 0.1465 14.76% Amr::init() 1 0.1338 0.1338 0.1338 13.48% MLCellLinOp::smooth() 1640 0.1178 0.1178 0.1178 11.87% MLCellLinOp::applyBC() 4433 0.1102 0.1102 0.1102 11.10% MLMG::mgVcycle_bottom 82 0.07523 0.07523 0.07523 7.58% MLMG::actualBottomSolve() 82 0.07519 0.07519 0.07519 7.58% MLCGSolver::bicgstab 82 0.07448 0.07448 0.07448 7.51% Castro::clean_state() 62 0.05998 0.05998 0.05998 6.04% Amr::writePlotFile() 2 0.05712 0.05712 0.05712 5.76% Amr::initialInit() 1 0.05396 0.05396 0.05396 5.44% Amr::FinalizeInit() 1 0.04895 0.04895 0.04895 4.93% Castro::post_init() 1 0.04739 0.04739 0.04739 4.78% AmrLevel::FillPatch() 41 0.04664 0.04664 0.04664 4.70% Gravity::multilevel_solve_for_new_phi() 1 0.04509 0.04509 0.04509 4.54% Gravity::actual_multilevel_solve() 1 0.04507 0.04507 0.04507 4.54% FillPatchIterator::Initialize 41 0.04247 0.04247 0.04247 4.28% FillPatchIterator::FillFromLevel0() 41 0.04091 0.04091 0.04091 4.12% FillPatchSingleLevel 41 0.04086 0.04086 0.04086 4.12% MLCellLinOp::apply() 1142 0.03704 0.03704 0.03704 3.73% StateDataPhysBCFunct::() 41 0.03679 0.03679 0.03679 3.71% MLMG::mgVcycle_down::0 82 0.0338 0.0338 0.0338 3.41% MLPoisson::Fsmooth() 3280 0.0329 0.0329 0.0329 3.32% FabArray::FillBoundary() 4023 0.03216 0.03216 0.03216 3.24% FillBoundary_nowait() 4023 0.03133 0.03133 0.03133 3.16% StateData::FillBoundary(geom) 328 0.02614 0.02614 0.02614 2.63% MLMG::mgVcycle_up::0 82 0.02543 0.02543 0.02543 2.56% Castro::computeTemp() 63 0.02399 0.02399 0.02399 2.42% MLCellLinOp::correctionResidual() 492 0.0226 0.0226 0.0226 2.28% Castro::initialize_do_advance() 10 0.02181 0.02181 0.02181 2.20% Castro::normalize_species() 62 0.02107 0.02107 0.02107 2.12% amrex::Dot() 1114 0.02097 0.02097 0.02097 2.11% MLMG:computeResOfCorrection() 410 0.01988 0.01988 0.01988 2.00% Castro::do_old_sources() 10 0.01876 0.01876 0.01876 1.89% Gravity::get_new_grav_vector() 11 0.01727 0.01727 0.01727 1.74% MLPoisson::define() 11 0.01715 0.01715 0.01715 1.73% MLMG::mgVcycle_down::1 82 0.01619 0.01619 0.01619 1.63% amrex::Copy() 1029 0.0151 0.0151 0.0151 1.52% Castro::construct_old_gravity() 10 0.01505 0.01505 0.01505 1.52% Gravity::get_old_grav_vector() 10 0.01503 0.01503 0.01503 1.51% MLMG::mgVcycle_down::2 82 0.015 0.015 0.015 1.51% MLMG::mgVcycle_down::3 82 0.01465 0.01465 0.01465 1.48% FabArray::ParallelCopy() 861 0.01465 0.01465 0.01465 1.48% FabArray::norminf() 743 0.01463 0.01463 0.01463 1.47% MLMG::mgVcycle_down::4 82 0.0145 0.0145 0.0145 1.46% FabArray::ParallelCopy_nowait() 861 0.01438 0.01438 0.01438 1.45% Castro::initialize_advance() 10 0.01411 0.01411 0.01411 1.42% Castro::do_new_sources() 10 0.01408 0.01408 0.01408 1.42% Castro::enforce_min_density() 62 0.01353 0.01353 0.01353 1.36% FabArray::setVal() 1144 0.01342 0.01342 0.01342 1.35% MLCGSolver::ParallelAllReduce 1514 0.01259 0.01259 0.01259 1.27% MLMG::addInterpCorrection() 410 0.01209 0.01209 0.01209 1.22% MLCellLinOp::defineAuxData() 11 0.01185 0.01185 0.01185 1.19% Castro::expand_state() 10 0.01184 0.01184 0.01184 1.19% MLMG::mgVcycle_up::1 82 0.01167 0.01167 0.01167 1.18% MLMG::mgVcycle_up::4 82 0.01167 0.01167 0.01167 1.18% Castro::post_timestep() 10 0.01156 0.01156 0.01156 1.16% amrex::average_down 410 0.01152 0.01152 0.01152 1.16% MLMG::mgVcycle_up::2 82 0.01142 0.01142 0.01142 1.15% MLMG::mgVcycle_up::3 82 0.0112 0.0112 0.0112 1.13% MLPoisson::Fapply() 1142 0.01057 0.01057 0.01057 1.06% Gravity::fill_multipole_BCs() 11 0.009651 0.009651 0.009651 0.97% FabArray::Saxpy() 813 0.008383 0.008383 0.008383 0.84% FabArray::Xpay() 821 0.008296 0.008296 0.008296 0.84% MLCellLinOp::solutionResidual() 93 0.00751 0.00751 0.00751 0.76% Castro::reset_internal_energy(MultiFab) 63 0.006811 0.006811 0.006811 0.69% Castro::estTimeStep() 21 0.006391 0.006391 0.006391 0.64% MLMG::computeResidual() 82 0.006258 0.006258 0.006258 0.63% MLCellLinOp::defineBC() 11 0.005043 0.005043 0.005043 0.51% Amr::InitializeInit() 1 0.005007 0.005007 0.005007 0.50% Amr::defBaseLevel() 1 0.005002 0.005002 0.005002 0.50% MLMG::prepareForSolve() 11 0.004958 0.004958 0.004958 0.50% BndryData::define() 11 0.004829 0.004829 0.004829 0.49% FabArray::LinComb() 557 0.004598 0.004598 0.004598 0.46% amrex::Add() 164 0.00444 0.00444 0.00444 0.45% Castro::initData() 1 0.004319 0.004319 0.004319 0.44% Castro::construct_new_source() 50 0.003514 0.003514 0.003514 0.35% Castro::construct_new_gravity_source() 10 0.003476 0.003476 0.003476 0.35% Castro::construct_old_source() 50 0.002875 0.002875 0.002875 0.29% Castro::construct_old_gravity_source() 10 0.002856 0.002856 0.002856 0.29% Castro::computeNewDt() 9 0.002733 0.002733 0.002733 0.28% Castro::finalize_do_advance() 10 0.002597 0.002597 0.002597 0.26% Castro::enforce_speed_limit() 62 0.00219 0.00219 0.00219 0.22% MLMG::ResNormInf() 93 0.002155 0.002155 0.002155 0.22% check_for_negative_density() 10 0.002039 0.002039 0.002039 0.21% Castro::apply_source_to_state() 20 0.001869 0.001869 0.001869 0.19% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001785 0.001785 0.001785 0.18% Castro::reset_internal_energy(Fab) 504 0.001707 0.001707 0.001707 0.17% MLMG::getGradSolution() 11 0.001542 0.001542 0.001542 0.16% MLCellLinOp::compGrad() 11 0.001536 0.001536 0.001536 0.15% FabArrayBase::getCPC() 1323 0.001499 0.001499 0.001499 0.15% MLCellLinOp::setLevelBC() 11 0.001451 0.001451 0.001451 0.15% FabArray::mult() 43 0.001358 0.001358 0.001358 0.14% FabArray::setDomainBndry() 41 0.001346 0.001346 0.001346 0.14% MLMG::computeMLResidual() 11 0.001294 0.001294 0.001294 0.13% Castro::check_for_nan() 20 0.001292 0.001292 0.001292 0.13% MultiFab::contains_nan() 20 0.001279 0.001279 0.001279 0.13% MLPoisson::prepareForSolve() 11 0.001261 0.001261 0.001261 0.13% Castro::post_regrid() 1 0.001258 0.001258 0.001258 0.13% MLCellLinOp::prepareForSolve() 11 0.001253 0.001253 0.001253 0.13% Castro::computeInitialDt() 2 0.001116 0.001116 0.001116 0.11% Gravity::update_max_rhs() 11 0.0009828 0.0009828 0.0009828 0.10% FabArrayBase::CPC::define() 454 0.0007073 0.0007073 0.0007073 0.07% FabArrayBase::getFB() 4023 0.0007063 0.0007063 0.0007063 0.07% Castro::finalize_advance() 10 0.0006283 0.0006283 0.0006283 0.06% Castro::Castro() 1 0.0005855 0.0005855 0.0005855 0.06% Amr::InitAmr() 1 0.0004949 0.0004949 0.0004949 0.05% Gravity::swapTimeLevels() 10 0.0004484 0.0004484 0.0004484 0.05% MLMG::MLResNormInf() 11 0.0003292 0.0003292 0.0003292 0.03% MultiFab::max() 11 0.0003264 0.0003264 0.0003264 0.03% Castro::buildMetrics() 1 0.0002851 0.0002851 0.0002851 0.03% MLLinOp::define() 11 0.0002306 0.0002306 0.0002306 0.02% MLMG::MLRhsNormInf() 11 0.0002254 0.0002254 0.0002254 0.02% MLLinOp::defineGrids() 11 0.0002156 0.0002156 0.0002156 0.02% Castro::create_source_corrector() 10 0.0001625 0.0001625 0.0001625 0.02% FabArrayBase::FB::FB() 56 9.679e-05 9.679e-05 9.679e-05 0.01% Castro::enforce_consistent_e() 1 7.76e-05 7.76e-05 7.76e-05 0.01% AmrLevel::AmrLevel(dm) 1 6.657e-05 6.657e-05 6.657e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.67e-05 5.67e-05 5.67e-05 0.01% makeSFC 55 4.137e-05 4.137e-05 4.137e-05 0.00% StateData::define() 4 4.027e-05 4.027e-05 4.027e-05 0.00% Castro::swap_state_time_levels() 10 3.819e-05 3.819e-05 3.819e-05 0.00% Castro::initMFs() 1 2.862e-05 2.862e-05 2.862e-05 0.00% Amr::writeSmallPlotFile() 1 2.79e-05 2.79e-05 2.79e-05 0.00% DistributionMapping::Distribute() 56 1.845e-05 1.845e-05 1.845e-05 0.00% Amr::initSubcycle() 1 9.811e-06 9.811e-06 9.811e-06 0.00% AmrLevel::checkPointPost() 3 5.172e-06 5.172e-06 5.172e-06 0.00% Castro::retry_advance_ctu() 10 4.975e-06 4.975e-06 4.975e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.464e-06 4.464e-06 4.464e-06 0.00% Gravity::set_mass_offset() 11 4.024e-06 4.024e-06 4.024e-06 0.00% AmrLevel::checkPointPre() 3 3.977e-06 3.977e-06 3.977e-06 0.00% Castro::FluxRegCrseInit 10 2.936e-06 2.936e-06 2.936e-06 0.00% Castro::FluxRegFineAdd() 10 2.239e-06 2.239e-06 2.239e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.051e-06 2.051e-06 2.051e-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 85 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 154 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 921 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1620 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7616 KiB 14 MiB MLMG::prepareForSolve() 660 660 3218 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 181 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 155 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 1920 B 2048 KiB Gravity::solve_for_phi() 80 80 508 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 92 KiB 2048 KiB BndryData::define() 1056 1056 294 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 187 KiB 671 KiB Castro::estTimeStep() 21 21 3142 B 480 KiB VisMF::Write(FabArray) 656 656 3088 B 320 KiB Castro::normalize_species() 62 62 6912 B 320 KiB amrex::average_down 1067 1067 1177 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1038 B 257 KiB amrex::Dot() 1360 1360 3108 B 160 KiB FabArray::norminf() 907 907 2180 B 160 KiB check_for_negative_density() 10 10 322 B 160 KiB Castro::initData() 1 1 49 B 160 KiB MultiFab::max() 11 11 51 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 25 B 20 KiB MLPoisson::Fsmooth() 132 132 3142 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 270 B 9648 B MLCellLinOp::applyBC() 8866 8866 202 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3892 B 6144 B StateData::FillBoundary(geom) 1992 1992 34 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 109 B 1472 B MLCellLinOp::defineBC() 66 66 331 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 478 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 461 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3142 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 40 B 10 KiB FillBoundary_nowait() 760 760 270 B 9648 B MLCellLinOp::applyBC() 4433 4433 201 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3892 B 6144 B Gravity::get_new_grav_vector() 3 3 2906 B 3072 B StateData::FillBoundary(geom) 1992 1992 34 B 3024 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 271 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 268 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 22 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.08-56-g9a85e502923e) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.08-56-g9a85e502923e) initialized Starting run at 08:30:23 UTC on 2023-09-04. Successfully read inputs file ... Castro git describe: 23.08-7-gf1b93be75 AMReX git describe: 23.08-56-g9a85e5029 Microphysics git describe: 23.08-19-gbb8d2a2b reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.523772258 Restart time = 0.050792545 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.054332283 [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.048791963 [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.061074906 [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.081691676 [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.07693517 [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.029778176 seconds Ending run at 08:30:23 UTC on 2023-09-04. Run time = 0.40441318 Run time without initialization = 0.353053179 Average number of zones advanced per microsecond: 3.713 Average number of zones advanced per microsecond per rank: 3.713 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4044 ... 0.4044 ... 0.4044 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1339 0.1339 0.1339 33.11% VisMF::Read() 3 0.03944 0.03944 0.03944 9.75% MLCellLinOp::applyBC() 1946 0.0338 0.0338 0.0338 8.36% VisMF::Write(FabArray) 1 0.02839 0.02839 0.02839 7.02% MLPoisson::Fsmooth() 1440 0.01426 0.01426 0.01426 3.53% FillBoundary_nowait() 1766 0.01306 0.01306 0.01306 3.23% StateData::FillBoundary(geom) 160 0.01296 0.01296 0.01296 3.20% Castro::normalize_species() 30 0.0107 0.0107 0.0107 2.64% amrex::Dot() 484 0.009077 0.009077 0.009077 2.24% amrex::Copy() 463 0.007266 0.007266 0.007266 1.80% Castro::computeTemp() 30 0.006747 0.006747 0.006747 1.67% FabArray::setVal() 537 0.006585 0.006585 0.006585 1.63% FabArray::norminf() 326 0.006424 0.006424 0.006424 1.59% FabArray::ParallelCopy_nowait() 380 0.006175 0.006175 0.006175 1.53% Castro::enforce_min_density() 30 0.005687 0.005687 0.005687 1.41% MLCellLinOp::defineAuxData() 6 0.005591 0.005591 0.005591 1.38% Gravity::fill_multipole_BCs() 6 0.005408 0.005408 0.005408 1.34% Amr::restart() 1 0.004745 0.004745 0.004745 1.17% MLPoisson::Fapply() 500 0.00462 0.00462 0.00462 1.14% StateDataPhysBCFunct::() 20 0.004473 0.004473 0.004473 1.11% FabArray::Saxpy() 355 0.003768 0.003768 0.003768 0.93% FabArray::Xpay() 361 0.00363 0.00363 0.00363 0.90% MLMG::addInterpCorrection() 180 0.00307 0.00307 0.00307 0.76% Castro::estTimeStep() 10 0.002741 0.002741 0.002741 0.68% amrex::average_down 180 0.002723 0.002723 0.002723 0.67% FabArray::LinComb() 242 0.002278 0.002278 0.002278 0.56% BndryData::define() 6 0.002111 0.002111 0.002111 0.52% amrex::Add() 72 0.001897 0.001897 0.001897 0.47% Castro::construct_new_gravity_source() 5 0.001597 0.001597 0.001597 0.39% Castro::reset_internal_energy(MultiFab) 30 0.00146 0.00146 0.00146 0.36% Castro::enforce_speed_limit() 30 0.001405 0.001405 0.001405 0.35% Castro::construct_old_gravity_source() 5 0.001248 0.001248 0.001248 0.31% Amr::writePlotFile() 1 0.001216 0.001216 0.001216 0.30% MLCGSolver::bicgstab 36 0.0009784 0.0009784 0.0009784 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009596 0.0009596 0.0009596 0.24% check_for_negative_density() 5 0.0009137 0.0009137 0.0009137 0.23% Castro::reset_internal_energy(Fab) 240 0.0008431 0.0008431 0.0008431 0.21% Gravity::actual_solve_with_mlmg() 6 0.0008217 0.0008217 0.0008217 0.20% MLCellLinOp::setLevelBC() 6 0.0008118 0.0008118 0.0008118 0.20% MLCellLinOp::prepareForSolve() 6 0.0007221 0.0007221 0.0007221 0.18% FabArray::setDomainBndry() 20 0.0006911 0.0006911 0.0006911 0.17% FabArray::mult() 22 0.0006897 0.0006897 0.0006897 0.17% MultiFab::contains_nan() 10 0.0006567 0.0006567 0.0006567 0.16% MLCellLinOp::compGrad() 6 0.0005875 0.0005875 0.0005875 0.15% MLMG::prepareForSolve() 6 0.0005561 0.0005561 0.0005561 0.14% MLCellLinOp::smooth() 720 0.0005179 0.0005179 0.0005179 0.13% FabArrayBase::CPC::define() 244 0.0004236 0.0004236 0.0004236 0.10% Amr::InitAmr() 1 0.0004039 0.0004039 0.0004039 0.10% FabArrayBase::getCPC() 632 0.0003903 0.0003903 0.0003903 0.10% FabArray::FillBoundary() 1766 0.0003727 0.0003727 0.0003727 0.09% Gravity::get_old_grav_vector() 5 0.0003448 0.0003448 0.0003448 0.09% Gravity::get_new_grav_vector() 5 0.0002878 0.0002878 0.0002878 0.07% FabArrayBase::getFB() 1766 0.0002671 0.0002671 0.0002671 0.07% main() 1 0.000259 0.000259 0.000259 0.06% MultiFab::max() 6 0.0002067 0.0002067 0.0002067 0.05% MLCellLinOp::apply() 500 0.0002047 0.0002047 0.0002047 0.05% Amr::coarseTimeStep() 5 0.0002006 0.0002006 0.0002006 0.05% AmrLevel::FillPatch() 20 0.0001616 0.0001616 0.0001616 0.04% MLCGSolver::ParallelAllReduce 659 0.0001265 0.0001265 0.0001265 0.03% FabArray::ParallelCopy() 380 0.0001222 0.0001222 0.0001222 0.03% MLLinOp::defineGrids() 6 0.0001168 0.0001168 0.0001168 0.03% Castro::create_source_corrector() 5 0.0001158 0.0001158 0.0001158 0.03% Castro::subcycle_advance_ctu() 5 0.0001127 0.0001127 0.0001127 0.03% MLCellLinOp::defineBC() 6 0.0001122 0.0001122 0.0001122 0.03% FillPatchIterator::Initialize 20 0.0001062 0.0001062 0.0001062 0.03% MLCellLinOp::correctionResidual() 216 9.553e-05 9.553e-05 9.553e-05 0.02% MLMG::mgVcycle() 36 8.692e-05 8.692e-05 8.692e-05 0.02% Castro::construct_new_source() 25 8.473e-05 8.473e-05 8.473e-05 0.02% Amr::timeStep() 5 8.339e-05 8.339e-05 8.339e-05 0.02% AmrLevel::restart() 1 7.567e-05 7.567e-05 7.567e-05 0.02% Gravity::update_max_rhs() 6 6.659e-05 6.659e-05 6.659e-05 0.02% Gravity::solve_for_phi() 5 6.334e-05 6.334e-05 6.334e-05 0.02% FabArrayBase::FB::FB() 26 6.227e-05 6.227e-05 6.227e-05 0.02% StateData::restartDoit() 4 6.21e-05 6.21e-05 6.21e-05 0.02% Castro::advance() 5 5.323e-05 5.323e-05 5.323e-05 0.01% MLMG:computeResOfCorrection() 180 5.002e-05 5.002e-05 5.002e-05 0.01% Castro::do_advance_ctu() 5 4.318e-05 4.318e-05 4.318e-05 0.01% MLMG::actualBottomSolve() 36 4.139e-05 4.139e-05 4.139e-05 0.01% Castro::finalize_do_advance() 5 4.012e-05 4.012e-05 4.012e-05 0.01% Castro::initialize_advance() 5 3.799e-05 3.799e-05 3.799e-05 0.01% MLMG::mgVcycle_down::0 36 3.609e-05 3.609e-05 3.609e-05 0.01% MLMG::mgVcycle_down::2 36 3.605e-05 3.605e-05 3.605e-05 0.01% MLMG::solve() 6 3.576e-05 3.576e-05 3.576e-05 0.01% Castro::clean_state() 30 3.413e-05 3.413e-05 3.413e-05 0.01% MLMG::mgVcycle_down::1 36 3.366e-05 3.366e-05 3.366e-05 0.01% Castro::finalize_advance() 5 3.097e-05 3.097e-05 3.097e-05 0.01% MLMG::mgVcycle_down::4 36 3.085e-05 3.085e-05 3.085e-05 0.01% Castro::initialize_do_advance() 5 3.073e-05 3.073e-05 3.073e-05 0.01% MLMG::mgVcycle_down::3 36 2.958e-05 2.958e-05 2.958e-05 0.01% Amr::writeSmallPlotFile() 1 2.946e-05 2.946e-05 2.946e-05 0.01% Castro::post_timestep() 5 2.946e-05 2.946e-05 2.946e-05 0.01% Castro::construct_old_source() 25 2.828e-05 2.828e-05 2.828e-05 0.01% Castro::post_restart() 1 2.819e-05 2.819e-05 2.819e-05 0.01% MLMG::mgVcycle_up::4 36 2.815e-05 2.815e-05 2.815e-05 0.01% Castro::buildMetrics() 1 2.709e-05 2.709e-05 2.709e-05 0.01% Castro::initMFs() 1 2.472e-05 2.472e-05 2.472e-05 0.01% MLMG::oneIter() 36 2.379e-05 2.379e-05 2.379e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.342e-05 2.342e-05 2.342e-05 0.01% Castro::swap_state_time_levels() 5 2.336e-05 2.336e-05 2.336e-05 0.01% MLCellLinOp::solutionResidual() 42 2.327e-05 2.327e-05 2.327e-05 0.01% MLMG::mgVcycle_up::0 36 2.292e-05 2.292e-05 2.292e-05 0.01% MLMG::mgVcycle_up::3 36 2.258e-05 2.258e-05 2.258e-05 0.01% MLMG::mgVcycle_up::2 36 2.126e-05 2.126e-05 2.126e-05 0.01% MLMG::mgVcycle_up::1 36 2.056e-05 2.056e-05 2.056e-05 0.01% MLMG::ResNormInf() 42 1.716e-05 1.716e-05 1.716e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.665e-05 1.665e-05 1.665e-05 0.00% FillPatchSingleLevel 20 1.609e-05 1.609e-05 1.609e-05 0.00% MLMG::mgVcycle_bottom 36 1.543e-05 1.543e-05 1.543e-05 0.00% MLMG::computeResidual() 36 1.493e-05 1.493e-05 1.493e-05 0.00% MLPoisson::define() 6 1.445e-05 1.445e-05 1.445e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.36e-05 1.36e-05 1.36e-05 0.00% makeSFC 30 1.3e-05 1.3e-05 1.3e-05 0.00% Castro::construct_new_gravity() 5 1.29e-05 1.29e-05 1.29e-05 0.00% Castro::do_old_sources() 5 1.162e-05 1.162e-05 1.162e-05 0.00% MLLinOp::define() 6 1.052e-05 1.052e-05 1.052e-05 0.00% Castro::do_new_sources() 5 1.023e-05 1.023e-05 1.023e-05 0.00% MLMG::getGradSolution() 6 1.022e-05 1.022e-05 1.022e-05 0.00% DistributionMapping::Distribute() 31 9.354e-06 9.354e-06 9.354e-06 0.00% Amr::initSubcycle() 1 9.016e-06 9.016e-06 9.016e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.991e-06 7.991e-06 7.991e-06 0.00% Gravity::actual_multilevel_solve() 1 7.895e-06 7.895e-06 7.895e-06 0.00% Castro::check_for_nan() 10 7.84e-06 7.84e-06 7.84e-06 0.00% Castro::construct_old_gravity() 5 6.357e-06 6.357e-06 6.357e-06 0.00% Castro::apply_source_to_state() 10 6.236e-06 6.236e-06 6.236e-06 0.00% Gravity::swapTimeLevels() 5 4.564e-06 4.564e-06 4.564e-06 0.00% MLMG::computeMLResidual() 6 4.399e-06 4.399e-06 4.399e-06 0.00% MLPoisson::prepareForSolve() 6 4.048e-06 4.048e-06 4.048e-06 0.00% Castro::computeNewDt() 5 3.893e-06 3.893e-06 3.893e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.048e-06 3.048e-06 3.048e-06 0.00% Castro::expand_state() 5 2.779e-06 2.779e-06 2.779e-06 0.00% MLMG::MLRhsNormInf() 6 2.331e-06 2.331e-06 2.331e-06 0.00% Gravity::set_mass_offset() 6 2.256e-06 2.256e-06 2.256e-06 0.00% MLMG::MLResNormInf() 6 2.252e-06 2.252e-06 2.252e-06 0.00% Castro::retry_advance_ctu() 5 2.086e-06 2.086e-06 2.086e-06 0.00% Castro::FluxRegCrseInit 5 1.561e-06 1.561e-06 1.561e-06 0.00% Castro::FluxRegFineAdd() 5 1.264e-06 1.264e-06 1.264e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.164e-06 1.164e-06 1.164e-06 0.00% Amr::init() 1 1.011e-06 1.011e-06 1.011e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4044 0.4044 0.4044 100.00% Amr::coarseTimeStep() 5 0.323 0.323 0.323 79.87% Amr::timeStep() 5 0.3211 0.3211 0.3211 79.39% Castro::advance() 5 0.3156 0.3156 0.3156 78.04% Castro::subcycle_advance_ctu() 5 0.308 0.308 0.308 76.16% Castro::do_advance_ctu() 5 0.3079 0.3079 0.3079 76.13% Castro::construct_ctu_hydro_source() 5 0.139 0.139 0.139 34.38% Castro::construct_new_gravity() 5 0.1335 0.1335 0.1335 33.00% Gravity::solve_phi_with_mlmg() 6 0.1311 0.1311 0.1311 32.41% Gravity::solve_for_phi() 5 0.1256 0.1256 0.1256 31.05% Gravity::actual_solve_with_mlmg() 6 0.1254 0.1254 0.1254 31.01% MLMG::solve() 6 0.1136 0.1136 0.1136 28.08% MLMG::oneIter() 36 0.1062 0.1062 0.1062 26.25% MLMG::mgVcycle() 36 0.1046 0.1046 0.1046 25.87% Amr::init() 1 0.05084 0.05084 0.05084 12.57% Amr::restart() 1 0.05084 0.05084 0.05084 12.57% MLCellLinOp::smooth() 720 0.05075 0.05075 0.05075 12.55% MLCellLinOp::applyBC() 1946 0.04756 0.04756 0.04756 11.76% AmrLevel::restart() 1 0.03979 0.03979 0.03979 9.84% StateData::restartDoit() 4 0.03971 0.03971 0.03971 9.82% VisMF::Read() 3 0.03944 0.03944 0.03944 9.75% MLMG::mgVcycle_bottom 36 0.03287 0.03287 0.03287 8.13% MLMG::actualBottomSolve() 36 0.03285 0.03285 0.03285 8.12% MLCGSolver::bicgstab 36 0.03254 0.03254 0.03254 8.04% Amr::writePlotFile() 1 0.02986 0.02986 0.02986 7.38% VisMF::Write(FabArray) 1 0.02839 0.02839 0.02839 7.02% Castro::clean_state() 30 0.02687 0.02687 0.02687 6.64% AmrLevel::FillPatch() 20 0.02238 0.02238 0.02238 5.53% FillPatchIterator::Initialize 20 0.02031 0.02031 0.02031 5.02% FillPatchIterator::FillFromLevel0() 20 0.01951 0.01951 0.01951 4.82% FillPatchSingleLevel 20 0.01949 0.01949 0.01949 4.82% StateDataPhysBCFunct::() 20 0.01743 0.01743 0.01743 4.31% MLCellLinOp::apply() 500 0.01614 0.01614 0.01614 3.99% MLMG::mgVcycle_down::0 36 0.01463 0.01463 0.01463 3.62% MLPoisson::Fsmooth() 1440 0.01426 0.01426 0.01426 3.53% FabArray::FillBoundary() 1766 0.01377 0.01377 0.01377 3.40% FillBoundary_nowait() 1766 0.01339 0.01339 0.01339 3.31% StateData::FillBoundary(geom) 160 0.01296 0.01296 0.01296 3.20% MLMG::mgVcycle_up::0 36 0.011 0.011 0.011 2.72% Castro::normalize_species() 30 0.0107 0.0107 0.0107 2.64% Castro::initialize_do_advance() 5 0.01069 0.01069 0.01069 2.64% MLCellLinOp::correctionResidual() 216 0.009756 0.009756 0.009756 2.41% MLPoisson::define() 6 0.009351 0.009351 0.009351 2.31% amrex::Dot() 484 0.009077 0.009077 0.009077 2.24% Castro::computeTemp() 30 0.00905 0.00905 0.00905 2.24% Castro::do_old_sources() 5 0.008929 0.008929 0.008929 2.21% MLMG:computeResOfCorrection() 180 0.008575 0.008575 0.008575 2.12% Gravity::get_new_grav_vector() 5 0.00779 0.00779 0.00779 1.93% Castro::construct_old_gravity() 5 0.007654 0.007654 0.007654 1.89% Gravity::get_old_grav_vector() 5 0.007647 0.007647 0.007647 1.89% Castro::initialize_advance() 5 0.007267 0.007267 0.007267 1.80% amrex::Copy() 463 0.007266 0.007266 0.007266 1.80% MLMG::mgVcycle_down::1 36 0.00707 0.00707 0.00707 1.75% FabArray::ParallelCopy() 380 0.006707 0.006707 0.006707 1.66% FabArray::setVal() 537 0.006585 0.006585 0.006585 1.63% FabArray::ParallelCopy_nowait() 380 0.006584 0.006584 0.006584 1.63% Castro::do_new_sources() 5 0.00656 0.00656 0.00656 1.62% MLMG::mgVcycle_down::2 36 0.006503 0.006503 0.006503 1.61% FabArray::norminf() 326 0.006424 0.006424 0.006424 1.59% MLCellLinOp::defineAuxData() 6 0.006388 0.006388 0.006388 1.58% MLMG::mgVcycle_down::3 36 0.006314 0.006314 0.006314 1.56% MLMG::mgVcycle_down::4 36 0.006249 0.006249 0.006249 1.54% Castro::post_restart() 1 0.006128 0.006128 0.006128 1.52% Castro::expand_state() 5 0.005761 0.005761 0.005761 1.42% Gravity::multilevel_solve_for_new_phi() 1 0.005753 0.005753 0.005753 1.42% Gravity::actual_multilevel_solve() 1 0.005736 0.005736 0.005736 1.42% Castro::enforce_min_density() 30 0.005687 0.005687 0.005687 1.41% Gravity::fill_multipole_BCs() 6 0.005531 0.005531 0.005531 1.37% MLCGSolver::ParallelAllReduce 659 0.00548 0.00548 0.00548 1.36% MLMG::addInterpCorrection() 180 0.005378 0.005378 0.005378 1.33% Castro::post_timestep() 5 0.005363 0.005363 0.005363 1.33% MLMG::mgVcycle_up::4 36 0.005091 0.005091 0.005091 1.26% amrex::average_down 180 0.00508 0.00508 0.00508 1.26% MLMG::mgVcycle_up::1 36 0.005005 0.005005 0.005005 1.24% MLMG::mgVcycle_up::2 36 0.00493 0.00493 0.00493 1.22% MLMG::mgVcycle_up::3 36 0.004864 0.004864 0.004864 1.20% MLPoisson::Fapply() 500 0.00462 0.00462 0.00462 1.14% FabArray::Saxpy() 355 0.003768 0.003768 0.003768 0.93% FabArray::Xpay() 361 0.00363 0.00363 0.00363 0.90% MLCellLinOp::solutionResidual() 42 0.003461 0.003461 0.003461 0.86% MLCellLinOp::defineBC() 6 0.002791 0.002791 0.002791 0.69% MLMG::prepareForSolve() 6 0.002786 0.002786 0.002786 0.69% Castro::estTimeStep() 10 0.002741 0.002741 0.002741 0.68% MLMG::computeResidual() 36 0.0027 0.0027 0.0027 0.67% BndryData::define() 6 0.002679 0.002679 0.002679 0.66% Castro::reset_internal_energy(MultiFab) 30 0.002304 0.002304 0.002304 0.57% FabArray::LinComb() 242 0.002278 0.002278 0.002278 0.56% amrex::Add() 72 0.001897 0.001897 0.001897 0.47% Castro::computeNewDt() 5 0.001734 0.001734 0.001734 0.43% Castro::construct_new_source() 25 0.001682 0.001682 0.001682 0.42% Castro::construct_new_gravity_source() 5 0.001597 0.001597 0.001597 0.39% Castro::enforce_speed_limit() 30 0.001405 0.001405 0.001405 0.35% Castro::construct_old_source() 25 0.001276 0.001276 0.001276 0.32% Castro::construct_old_gravity_source() 5 0.001248 0.001248 0.001248 0.31% Castro::finalize_do_advance() 5 0.001051 0.001051 0.001051 0.26% MLMG::ResNormInf() 42 0.0009916 0.0009916 0.0009916 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009596 0.0009596 0.0009596 0.24% Castro::apply_source_to_state() 10 0.0009568 0.0009568 0.0009568 0.24% check_for_negative_density() 5 0.0009137 0.0009137 0.0009137 0.23% MLMG::getGradSolution() 6 0.0008704 0.0008704 0.0008704 0.22% MLCellLinOp::compGrad() 6 0.0008602 0.0008602 0.0008602 0.21% Castro::reset_internal_energy(Fab) 240 0.0008431 0.0008431 0.0008431 0.21% FabArrayBase::getCPC() 632 0.0008139 0.0008139 0.0008139 0.20% MLCellLinOp::setLevelBC() 6 0.0008118 0.0008118 0.0008118 0.20% MLMG::computeMLResidual() 6 0.0007805 0.0007805 0.0007805 0.19% Gravity::update_max_rhs() 6 0.0007271 0.0007271 0.0007271 0.18% MLPoisson::prepareForSolve() 6 0.0007262 0.0007262 0.0007262 0.18% MLCellLinOp::prepareForSolve() 6 0.0007221 0.0007221 0.0007221 0.18% FabArray::setDomainBndry() 20 0.0006911 0.0006911 0.0006911 0.17% FabArray::mult() 22 0.0006897 0.0006897 0.0006897 0.17% Castro::check_for_nan() 10 0.0006646 0.0006646 0.0006646 0.16% MultiFab::contains_nan() 10 0.0006567 0.0006567 0.0006567 0.16% FabArrayBase::CPC::define() 244 0.0004236 0.0004236 0.0004236 0.10% Amr::InitAmr() 1 0.000413 0.000413 0.000413 0.10% FabArrayBase::getFB() 1766 0.0003293 0.0003293 0.0003293 0.08% Castro::finalize_advance() 5 0.000295 0.000295 0.000295 0.07% Gravity::swapTimeLevels() 5 0.0002328 0.0002328 0.0002328 0.06% MultiFab::max() 6 0.0002067 0.0002067 0.0002067 0.05% MLMG::MLResNormInf() 6 0.0001881 0.0001881 0.0001881 0.05% MLLinOp::define() 6 0.0001574 0.0001574 0.0001574 0.04% Castro::buildMetrics() 1 0.0001522 0.0001522 0.0001522 0.04% MLLinOp::defineGrids() 6 0.0001468 0.0001468 0.0001468 0.04% MLMG::MLRhsNormInf() 6 0.0001197 0.0001197 0.0001197 0.03% Castro::create_source_corrector() 5 0.0001158 0.0001158 0.0001158 0.03% FabArrayBase::FB::FB() 26 6.227e-05 6.227e-05 6.227e-05 0.02% Amr::writeSmallPlotFile() 1 2.946e-05 2.946e-05 2.946e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.885e-05 2.885e-05 2.885e-05 0.01% Castro::initMFs() 1 2.472e-05 2.472e-05 2.472e-05 0.01% Castro::swap_state_time_levels() 5 2.336e-05 2.336e-05 2.336e-05 0.01% makeSFC 30 2.086e-05 2.086e-05 2.086e-05 0.01% DistributionMapping::Distribute() 31 9.354e-06 9.354e-06 9.354e-06 0.00% Amr::initSubcycle() 1 9.016e-06 9.016e-06 9.016e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.539e-06 4.539e-06 4.539e-06 0.00% Gravity::set_mass_offset() 6 2.256e-06 2.256e-06 2.256e-06 0.00% Castro::retry_advance_ctu() 5 2.086e-06 2.086e-06 2.086e-06 0.00% Castro::FluxRegCrseInit 5 1.561e-06 1.561e-06 1.561e-06 0.00% Castro::FluxRegFineAdd() 5 1.264e-06 1.264e-06 1.264e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.164e-06 1.164e-06 1.164e-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 207 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 152 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 1092 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2073 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 6730 KiB 14 MiB MLMG::prepareForSolve() 361 361 3446 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 196 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 197 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6716 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 23 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3570 B 2048 KiB Gravity::solve_for_phi() 40 40 634 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 317 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 204 KiB 671 KiB Castro::estTimeStep() 10 10 3245 B 480 KiB VisMF::Write(FabArray) 112 112 1366 B 320 KiB Castro::normalize_species() 30 30 8613 B 320 KiB amrex::average_down 469 469 1221 B 257 KiB MLMG::addInterpCorrection() 468 468 1129 B 257 KiB amrex::Dot() 592 592 3303 B 160 KiB FabArray::norminf() 398 398 2345 B 160 KiB check_for_negative_density() 5 5 360 B 160 KiB MultiFab::max() 6 6 80 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 32 B 20 KiB MLPoisson::Fsmooth() 60 60 3341 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 280 B 9648 B MLCellLinOp::applyBC() 3892 3892 217 B 9344 B amrex::Copy() 56 56 5925 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 38 B 2256 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 356 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1190 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 202 KiB 3584 KiB VisMF::Read() 24 24 188 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3341 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 48 B 10 KiB FillBoundary_nowait() 336 336 281 B 9648 B MLCellLinOp::applyBC() 1946 1946 217 B 9328 B amrex::Copy() 56 56 5925 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2638 B 3072 B Gravity::fill_multipole_BCs() 18 18 5 B 2832 B StateData::FillBoundary(geom) 960 960 38 B 2256 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 525 B 1296 B amrex::average_down 37 37 221 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.08-56-g9a85e502923e) finalized