Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-22-gb2052f2d2e5c) initialized Starting run at 07:57:39 UTC on 2023-09-20. Successfully read inputs file ... Castro git describe: 23.09-12-ga02f2dce8 AMReX git describe: 23.09-22-gb2052f2d2 Microphysics git describe: 23.09-11-g5ddd146e 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.049170998 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.027251274 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.051642225 [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.049486748 [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.068337399 [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.068144664 [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.051077 [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.047750228 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.065462043 [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.055739302 [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.068177381 [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.068640031 [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.055995551 [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.047049889 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.027152273 seconds Ending run at 07:57:40 UTC on 2023-09-20. Run time = 0.855248524 Run time without initialization = 0.725325714 Average number of zones advanced per microsecond: 3.614 Average number of zones advanced per microsecond per rank: 3.614 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.8553 ... 0.8553 ... 0.8553 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2346 0.2346 0.2346 27.43% VisMF::Write(FabArray) 11 0.191 0.191 0.191 22.34% MLCellLinOp::applyBC() 4433 0.0757 0.0757 0.0757 8.85% MLPoisson::Fsmooth() 3280 0.03204 0.03204 0.03204 3.75% FillBoundary_nowait() 4023 0.03096 0.03096 0.03096 3.62% StateData::FillBoundary(geom) 328 0.02527 0.02527 0.02527 2.95% amrex::Dot() 1114 0.02023 0.02023 0.02023 2.37% Castro::normalize_species() 62 0.01968 0.01968 0.01968 2.30% Castro::computeTemp() 63 0.01518 0.01518 0.01518 1.77% amrex::Copy() 1029 0.01478 0.01478 0.01478 1.73% FabArray::norminf() 743 0.01419 0.01419 0.01419 1.66% FabArray::setVal() 1144 0.01312 0.01312 0.01312 1.53% FabArray::ParallelCopy_nowait() 861 0.01306 0.01306 0.01306 1.53% Castro::enforce_min_density() 62 0.01258 0.01258 0.01258 1.47% StateDataPhysBCFunct::() 41 0.01185 0.01185 0.01185 1.38% MLPoisson::Fapply() 1142 0.01024 0.01024 0.01024 1.20% MLCellLinOp::defineAuxData() 11 0.009649 0.009649 0.009649 1.13% Gravity::fill_multipole_BCs() 11 0.009053 0.009053 0.009053 1.06% FabArray::Saxpy() 813 0.008137 0.008137 0.008137 0.95% FabArray::Xpay() 821 0.008002 0.008002 0.008002 0.94% MLMG::addInterpCorrection() 410 0.006689 0.006689 0.006689 0.78% Castro::estTimeStep() 21 0.006507 0.006507 0.006507 0.76% amrex::average_down 410 0.00594 0.00594 0.00594 0.69% Castro::reset_internal_energy(MultiFab) 63 0.005623 0.005623 0.005623 0.66% Amr::checkPoint() 3 0.004895 0.004895 0.004895 0.57% FabArray::LinComb() 557 0.004457 0.004457 0.004457 0.52% amrex::Add() 164 0.004377 0.004377 0.004377 0.51% Castro::enforce_speed_limit() 62 0.00428 0.00428 0.00428 0.50% BndryData::define() 11 0.003611 0.003611 0.003611 0.42% Castro::construct_new_gravity_source() 10 0.003353 0.003353 0.003353 0.39% Castro::construct_old_gravity_source() 10 0.002959 0.002959 0.002959 0.35% MLCGSolver::bicgstab 82 0.002224 0.002224 0.002224 0.26% Amr::writePlotFile() 2 0.00201 0.00201 0.00201 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0017 0.0017 0.0017 0.20% check_for_negative_density() 10 0.001616 0.001616 0.001616 0.19% Gravity::actual_solve_with_mlmg() 11 0.001546 0.001546 0.001546 0.18% Castro::reset_internal_energy(Fab) 504 0.00154 0.00154 0.00154 0.18% Castro::initData() 1 0.001479 0.001479 0.001479 0.17% MLCellLinOp::setLevelBC() 11 0.001423 0.001423 0.001423 0.17% FabArray::mult() 43 0.001336 0.001336 0.001336 0.16% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.15% MultiFab::contains_nan() 20 0.001261 0.001261 0.001261 0.15% MLCellLinOp::prepareForSolve() 11 0.001237 0.001237 0.001237 0.14% MLCellLinOp::smooth() 1640 0.001137 0.001137 0.001137 0.13% MLCellLinOp::compGrad() 11 0.001035 0.001035 0.001035 0.12% MLMG::prepareForSolve() 11 0.0009425 0.0009425 0.0009425 0.11% FabArray::FillBoundary() 4023 0.0008389 0.0008389 0.0008389 0.10% FabArrayBase::getCPC() 1323 0.000772 0.000772 0.000772 0.09% FabArrayBase::CPC::define() 454 0.0006597 0.0006597 0.0006597 0.08% FabArrayBase::getFB() 4023 0.0006366 0.0006366 0.0006366 0.07% Gravity::get_new_grav_vector() 11 0.0005956 0.0005956 0.0005956 0.07% Gravity::get_old_grav_vector() 10 0.0004818 0.0004818 0.0004818 0.06% Amr::InitAmr() 1 0.0004775 0.0004775 0.0004775 0.06% MLCellLinOp::apply() 1142 0.000466 0.000466 0.000466 0.05% Amr::coarseTimeStep() 10 0.0003608 0.0003608 0.0003608 0.04% AmrLevel::FillPatch() 41 0.0003322 0.0003322 0.0003322 0.04% MultiFab::max() 11 0.000325 0.000325 0.000325 0.04% MLCGSolver::ParallelAllReduce 1514 0.000294 0.000294 0.000294 0.03% main() 1 0.0002681 0.0002681 0.0002681 0.03% FabArray::ParallelCopy() 861 0.000256 0.000256 0.000256 0.03% MLCellLinOp::correctionResidual() 492 0.0002249 0.0002249 0.0002249 0.03% Castro::subcycle_advance_ctu() 10 0.0002241 0.0002241 0.0002241 0.03% MLCellLinOp::defineBC() 11 0.0002207 0.0002207 0.0002207 0.03% FillPatchIterator::Initialize 41 0.000207 0.000207 0.000207 0.02% MLMG::mgVcycle() 82 0.0001892 0.0001892 0.0001892 0.02% MLLinOp::defineGrids() 11 0.0001534 0.0001534 0.0001534 0.02% Castro::create_source_corrector() 10 0.0001529 0.0001529 0.0001529 0.02% Amr::timeStep() 10 0.0001505 0.0001505 0.0001505 0.02% Gravity::solve_for_phi() 10 0.0001385 0.0001385 0.0001385 0.02% Castro::advance() 10 0.0001362 0.0001362 0.0001362 0.02% MLMG:computeResOfCorrection() 410 0.000126 0.000126 0.000126 0.01% Gravity::update_max_rhs() 11 0.0001253 0.0001253 0.0001253 0.01% StateData::checkPoint() 12 0.0001184 0.0001184 0.0001184 0.01% Castro::Castro() 1 9.402e-05 9.402e-05 9.402e-05 0.01% FabArrayBase::FB::FB() 56 9.229e-05 9.229e-05 9.229e-05 0.01% MLMG::actualBottomSolve() 82 8.911e-05 8.911e-05 8.911e-05 0.01% MLMG::mgVcycle_down::0 82 8.054e-05 8.054e-05 8.054e-05 0.01% MLMG::mgVcycle_down::1 82 7.558e-05 7.558e-05 7.558e-05 0.01% MLMG::mgVcycle_down::2 82 7.511e-05 7.511e-05 7.511e-05 0.01% MLMG::solve() 11 7.474e-05 7.474e-05 7.474e-05 0.01% Castro::initialize_advance() 10 7.462e-05 7.462e-05 7.462e-05 0.01% MLMG::mgVcycle_down::4 82 7.456e-05 7.456e-05 7.456e-05 0.01% Castro::clean_state() 62 7.241e-05 7.241e-05 7.241e-05 0.01% MLMG::mgVcycle_down::3 82 7.067e-05 7.067e-05 7.067e-05 0.01% AmrLevel::checkPoint() 3 6.892e-05 6.892e-05 6.892e-05 0.01% Castro::do_new_sources() 10 6.751e-05 6.751e-05 6.751e-05 0.01% Castro::enforce_consistent_e() 1 6.702e-05 6.702e-05 6.702e-05 0.01% Castro::finalize_advance() 10 5.892e-05 5.892e-05 5.892e-05 0.01% MLMG::mgVcycle_up::4 82 5.884e-05 5.884e-05 5.884e-05 0.01% Castro::initialize_do_advance() 10 5.709e-05 5.709e-05 5.709e-05 0.01% Castro::initMFs() 1 5.432e-05 5.432e-05 5.432e-05 0.01% MLMG::mgVcycle_up::0 82 5.318e-05 5.318e-05 5.318e-05 0.01% Castro::construct_new_source() 50 5.175e-05 5.175e-05 5.175e-05 0.01% MLMG::mgVcycle_up::3 82 5.046e-05 5.046e-05 5.046e-05 0.01% MLMG::mgVcycle_up::2 82 5.003e-05 5.003e-05 5.003e-05 0.01% MLMG::mgVcycle_up::1 82 4.995e-05 4.995e-05 4.995e-05 0.01% MLMG::oneIter() 82 4.895e-05 4.895e-05 4.895e-05 0.01% Castro::do_advance_ctu() 10 4.753e-05 4.753e-05 4.753e-05 0.01% MLCellLinOp::solutionResidual() 93 4.532e-05 4.532e-05 4.532e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.517e-05 4.517e-05 4.517e-05 0.01% StateData::define() 4 4.203e-05 4.203e-05 4.203e-05 0.00% Castro::finalize_do_advance() 10 3.979e-05 3.979e-05 3.979e-05 0.00% Castro::swap_state_time_levels() 10 3.621e-05 3.621e-05 3.621e-05 0.00% MLMG::ResNormInf() 93 3.398e-05 3.398e-05 3.398e-05 0.00% MLMG::mgVcycle_bottom 82 3.39e-05 3.39e-05 3.39e-05 0.00% FillPatchSingleLevel 41 3.243e-05 3.243e-05 3.243e-05 0.00% MLMG::computeResidual() 82 3.227e-05 3.227e-05 3.227e-05 0.00% Gravity::solve_phi_with_mlmg() 11 3.086e-05 3.086e-05 3.086e-05 0.00% Amr::writeSmallPlotFile() 1 2.905e-05 2.905e-05 2.905e-05 0.00% Castro::construct_new_gravity() 10 2.416e-05 2.416e-05 2.416e-05 0.00% makeSFC 55 2.401e-05 2.401e-05 2.401e-05 0.00% Castro::buildMetrics() 1 2.356e-05 2.356e-05 2.356e-05 0.00% Amr::defBaseLevel() 1 2.29e-05 2.29e-05 2.29e-05 0.00% Castro::do_old_sources() 10 2.14e-05 2.14e-05 2.14e-05 0.00% MLPoisson::define() 11 2.077e-05 2.077e-05 2.077e-05 0.00% Amr::FinalizeInit() 1 1.918e-05 1.918e-05 1.918e-05 0.00% Castro::construct_old_source() 50 1.836e-05 1.836e-05 1.836e-05 0.00% DistributionMapping::Distribute() 56 1.782e-05 1.782e-05 1.782e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.773e-05 1.773e-05 1.773e-05 0.00% MLLinOp::define() 11 1.605e-05 1.605e-05 1.605e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.451e-05 1.451e-05 1.451e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.381e-05 1.381e-05 1.381e-05 0.00% Castro::post_timestep() 10 1.193e-05 1.193e-05 1.193e-05 0.00% Castro::construct_old_gravity() 10 1.123e-05 1.123e-05 1.123e-05 0.00% Castro::check_for_nan() 20 1.116e-05 1.116e-05 1.116e-05 0.00% Castro::apply_source_to_state() 20 1.1e-05 1.1e-05 1.1e-05 0.00% Castro::post_init() 1 1.011e-05 1.011e-05 1.011e-05 0.00% Amr::initSubcycle() 1 9.224e-06 9.224e-06 9.224e-06 0.00% MLMG::computeMLResidual() 11 8.712e-06 8.712e-06 8.712e-06 0.00% Gravity::swapTimeLevels() 10 8.35e-06 8.35e-06 8.35e-06 0.00% Castro::computeNewDt() 9 8.206e-06 8.206e-06 8.206e-06 0.00% MLPoisson::prepareForSolve() 11 8.105e-06 8.105e-06 8.105e-06 0.00% Gravity::actual_multilevel_solve() 1 7.881e-06 7.881e-06 7.881e-06 0.00% MLMG::getGradSolution() 11 6.259e-06 6.259e-06 6.259e-06 0.00% Castro::expand_state() 10 5.622e-06 5.622e-06 5.622e-06 0.00% AmrLevel::checkPointPost() 3 5.438e-06 5.438e-06 5.438e-06 0.00% Amr::InitializeInit() 1 4.468e-06 4.468e-06 4.468e-06 0.00% MLMG::MLRhsNormInf() 11 4.316e-06 4.316e-06 4.316e-06 0.00% Castro::retry_advance_ctu() 10 4.104e-06 4.104e-06 4.104e-06 0.00% Gravity::set_mass_offset() 11 3.887e-06 3.887e-06 3.887e-06 0.00% MLMG::MLResNormInf() 11 3.746e-06 3.746e-06 3.746e-06 0.00% Castro::computeInitialDt() 2 3.648e-06 3.648e-06 3.648e-06 0.00% Castro::FluxRegCrseInit 10 3.041e-06 3.041e-06 3.041e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.848e-06 2.848e-06 2.848e-06 0.00% Amr::init() 1 2.489e-06 2.489e-06 2.489e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.395e-06 2.395e-06 2.395e-06 0.00% Castro::FluxRegFineAdd() 10 2.162e-06 2.162e-06 2.162e-06 0.00% AmrLevel::checkPointPre() 3 2.106e-06 2.106e-06 2.106e-06 0.00% Castro::post_regrid() 1 1.283e-06 1.283e-06 1.283e-06 0.00% Amr::initialInit() 1 1.14e-06 1.14e-06 1.14e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.8553 0.8553 0.8553 100.00% Amr::coarseTimeStep() 10 0.6979 0.6979 0.6979 81.60% Amr::timeStep() 10 0.5988 0.5988 0.5988 70.01% Castro::advance() 10 0.5867 0.5867 0.5867 68.60% Castro::subcycle_advance_ctu() 10 0.5723 0.5723 0.5723 66.92% Castro::do_advance_ctu() 10 0.5721 0.5721 0.5721 66.89% Gravity::solve_phi_with_mlmg() 11 0.2832 0.2832 0.2832 33.11% Gravity::actual_solve_with_mlmg() 11 0.2737 0.2737 0.2737 32.00% Castro::construct_new_gravity() 10 0.2549 0.2549 0.2549 29.81% MLMG::solve() 11 0.2531 0.2531 0.2531 29.60% Castro::construct_ctu_hydro_source() 10 0.2441 0.2441 0.2441 28.54% Gravity::solve_for_phi() 10 0.2397 0.2397 0.2397 28.03% MLMG::oneIter() 82 0.2384 0.2384 0.2384 27.88% MLMG::mgVcycle() 82 0.2348 0.2348 0.2348 27.46% VisMF::Write(FabArray) 11 0.191 0.191 0.191 22.34% Amr::checkPoint() 3 0.1441 0.1441 0.1441 16.85% AmrLevel::checkPoint() 3 0.1392 0.1392 0.1392 16.28% StateData::checkPoint() 12 0.1391 0.1391 0.1391 16.27% Amr::init() 1 0.1293 0.1293 0.1293 15.12% MLCellLinOp::smooth() 1640 0.1156 0.1156 0.1156 13.51% MLCellLinOp::applyBC() 4433 0.1082 0.1082 0.1082 12.65% MLMG::mgVcycle_bottom 82 0.07271 0.07271 0.07271 8.50% MLMG::actualBottomSolve() 82 0.07268 0.07268 0.07268 8.50% MLCGSolver::bicgstab 82 0.07199 0.07199 0.07199 8.42% Castro::clean_state() 62 0.05795 0.05795 0.05795 6.78% Amr::writePlotFile() 2 0.05454 0.05454 0.05454 6.38% Amr::initialInit() 1 0.05278 0.05278 0.05278 6.17% Amr::FinalizeInit() 1 0.04758 0.04758 0.04758 5.56% AmrLevel::FillPatch() 41 0.0468 0.0468 0.0468 5.47% Castro::post_init() 1 0.04617 0.04617 0.04617 5.40% Gravity::multilevel_solve_for_new_phi() 1 0.04391 0.04391 0.04391 5.13% Gravity::actual_multilevel_solve() 1 0.0439 0.0439 0.0439 5.13% FillPatchIterator::Initialize 41 0.04265 0.04265 0.04265 4.99% FillPatchIterator::FillFromLevel0() 41 0.04115 0.04115 0.04115 4.81% FillPatchSingleLevel 41 0.04111 0.04111 0.04111 4.81% StateDataPhysBCFunct::() 41 0.03712 0.03712 0.03712 4.34% MLCellLinOp::apply() 1142 0.03604 0.03604 0.03604 4.21% MLMG::mgVcycle_down::0 82 0.03352 0.03352 0.03352 3.92% FabArray::FillBoundary() 4023 0.03253 0.03253 0.03253 3.80% MLPoisson::Fsmooth() 3280 0.03204 0.03204 0.03204 3.75% FillBoundary_nowait() 4023 0.03169 0.03169 0.03169 3.71% MLMG::mgVcycle_up::0 82 0.02536 0.02536 0.02536 2.96% StateData::FillBoundary(geom) 328 0.02527 0.02527 0.02527 2.95% Castro::initialize_do_advance() 10 0.02324 0.02324 0.02324 2.72% Castro::computeTemp() 63 0.02234 0.02234 0.02234 2.61% MLCellLinOp::correctionResidual() 492 0.02195 0.02195 0.02195 2.57% amrex::Dot() 1114 0.02023 0.02023 0.02023 2.37% Castro::do_old_sources() 10 0.01982 0.01982 0.01982 2.32% Castro::normalize_species() 62 0.01968 0.01968 0.01968 2.30% MLMG:computeResOfCorrection() 410 0.01937 0.01937 0.01937 2.26% Gravity::get_new_grav_vector() 11 0.01703 0.01703 0.01703 1.99% MLPoisson::define() 11 0.01606 0.01606 0.01606 1.88% MLMG::mgVcycle_down::1 82 0.01573 0.01573 0.01573 1.84% Castro::construct_old_gravity() 10 0.01483 0.01483 0.01483 1.73% Gravity::get_old_grav_vector() 10 0.01482 0.01482 0.01482 1.73% amrex::Copy() 1029 0.01478 0.01478 0.01478 1.73% MLMG::mgVcycle_down::2 82 0.01452 0.01452 0.01452 1.70% FabArray::norminf() 743 0.01419 0.01419 0.01419 1.66% MLMG::mgVcycle_down::3 82 0.01416 0.01416 0.01416 1.66% FabArray::ParallelCopy() 861 0.01411 0.01411 0.01411 1.65% MLMG::mgVcycle_down::4 82 0.01401 0.01401 0.01401 1.64% FabArray::ParallelCopy_nowait() 861 0.01386 0.01386 0.01386 1.62% Castro::initialize_advance() 10 0.01367 0.01367 0.01367 1.60% FabArray::setVal() 1144 0.01312 0.01312 0.01312 1.53% Castro::enforce_min_density() 62 0.01258 0.01258 0.01258 1.47% Castro::expand_state() 10 0.01228 0.01228 0.01228 1.44% MLCGSolver::ParallelAllReduce 1514 0.01215 0.01215 0.01215 1.42% Castro::post_timestep() 10 0.01194 0.01194 0.01194 1.40% Castro::do_new_sources() 10 0.01181 0.01181 0.01181 1.38% MLMG::addInterpCorrection() 410 0.01171 0.01171 0.01171 1.37% MLMG::mgVcycle_up::1 82 0.01134 0.01134 0.01134 1.33% MLMG::mgVcycle_up::4 82 0.01134 0.01134 0.01134 1.33% amrex::average_down 410 0.01107 0.01107 0.01107 1.29% MLMG::mgVcycle_up::2 82 0.01106 0.01106 0.01106 1.29% MLCellLinOp::defineAuxData() 11 0.01102 0.01102 0.01102 1.29% MLMG::mgVcycle_up::3 82 0.01089 0.01089 0.01089 1.27% MLPoisson::Fapply() 1142 0.01024 0.01024 0.01024 1.20% Gravity::fill_multipole_BCs() 11 0.009282 0.009282 0.009282 1.09% FabArray::Saxpy() 813 0.008137 0.008137 0.008137 0.95% FabArray::Xpay() 821 0.008002 0.008002 0.008002 0.94% MLCellLinOp::solutionResidual() 93 0.007384 0.007384 0.007384 0.86% Castro::reset_internal_energy(MultiFab) 63 0.007163 0.007163 0.007163 0.84% Castro::estTimeStep() 21 0.006507 0.006507 0.006507 0.76% MLMG::computeResidual() 82 0.006131 0.006131 0.006131 0.72% Amr::InitializeInit() 1 0.005198 0.005198 0.005198 0.61% Amr::defBaseLevel() 1 0.005194 0.005194 0.005194 0.61% MLMG::prepareForSolve() 11 0.004836 0.004836 0.004836 0.57% MLCellLinOp::defineBC() 11 0.004799 0.004799 0.004799 0.56% BndryData::define() 11 0.004579 0.004579 0.004579 0.54% Castro::initData() 1 0.004517 0.004517 0.004517 0.53% FabArray::LinComb() 557 0.004457 0.004457 0.004457 0.52% amrex::Add() 164 0.004377 0.004377 0.004377 0.51% Castro::enforce_speed_limit() 62 0.00428 0.00428 0.00428 0.50% Castro::construct_new_source() 50 0.003404 0.003404 0.003404 0.40% Castro::construct_new_gravity_source() 10 0.003353 0.003353 0.003353 0.39% Castro::computeNewDt() 9 0.003083 0.003083 0.003083 0.36% Castro::construct_old_source() 50 0.002977 0.002977 0.002977 0.35% Castro::construct_old_gravity_source() 10 0.002959 0.002959 0.002959 0.35% Castro::finalize_do_advance() 10 0.002361 0.002361 0.002361 0.28% MLMG::ResNormInf() 93 0.00213 0.00213 0.00213 0.25% Castro::apply_source_to_state() 20 0.001844 0.001844 0.001844 0.22% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.0017 0.0017 0.0017 0.20% check_for_negative_density() 10 0.001616 0.001616 0.001616 0.19% Castro::reset_internal_energy(Fab) 504 0.00154 0.00154 0.00154 0.18% MLMG::getGradSolution() 11 0.001518 0.001518 0.001518 0.18% MLCellLinOp::compGrad() 11 0.001512 0.001512 0.001512 0.18% FabArrayBase::getCPC() 1323 0.001432 0.001432 0.001432 0.17% MLCellLinOp::setLevelBC() 11 0.001423 0.001423 0.001423 0.17% FabArray::mult() 43 0.001336 0.001336 0.001336 0.16% MLMG::computeMLResidual() 11 0.001294 0.001294 0.001294 0.15% FabArray::setDomainBndry() 41 0.001293 0.001293 0.001293 0.15% Castro::check_for_nan() 20 0.001272 0.001272 0.001272 0.15% MultiFab::contains_nan() 20 0.001261 0.001261 0.001261 0.15% MLPoisson::prepareForSolve() 11 0.001245 0.001245 0.001245 0.15% MLCellLinOp::prepareForSolve() 11 0.001237 0.001237 0.001237 0.14% Castro::computeInitialDt() 2 0.001114 0.001114 0.001114 0.13% Castro::post_regrid() 1 0.001082 0.001082 0.001082 0.13% Gravity::update_max_rhs() 11 0.0009641 0.0009641 0.0009641 0.11% FabArrayBase::getFB() 4023 0.0007289 0.0007289 0.0007289 0.09% FabArrayBase::CPC::define() 454 0.0006597 0.0006597 0.0006597 0.08% Castro::Castro() 1 0.0005939 0.0005939 0.0005939 0.07% Castro::finalize_advance() 10 0.0005818 0.0005818 0.0005818 0.07% Amr::InitAmr() 1 0.0004867 0.0004867 0.0004867 0.06% Gravity::swapTimeLevels() 10 0.0004334 0.0004334 0.0004334 0.05% MLMG::MLResNormInf() 11 0.0003275 0.0003275 0.0003275 0.04% MultiFab::max() 11 0.000325 0.000325 0.000325 0.04% Castro::buildMetrics() 1 0.0002772 0.0002772 0.0002772 0.03% MLLinOp::define() 11 0.000227 0.000227 0.000227 0.03% MLMG::MLRhsNormInf() 11 0.000219 0.000219 0.000219 0.03% MLLinOp::defineGrids() 11 0.000211 0.000211 0.000211 0.02% Castro::create_source_corrector() 10 0.0001529 0.0001529 0.0001529 0.02% FabArrayBase::FB::FB() 56 9.229e-05 9.229e-05 9.229e-05 0.01% Castro::enforce_consistent_e() 1 6.702e-05 6.702e-05 6.702e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.584e-05 5.584e-05 5.584e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.512e-05 5.512e-05 5.512e-05 0.01% Castro::initMFs() 1 5.432e-05 5.432e-05 5.432e-05 0.01% StateData::define() 4 4.203e-05 4.203e-05 4.203e-05 0.00% makeSFC 55 4.062e-05 4.062e-05 4.062e-05 0.00% Castro::swap_state_time_levels() 10 3.621e-05 3.621e-05 3.621e-05 0.00% Amr::writeSmallPlotFile() 1 2.905e-05 2.905e-05 2.905e-05 0.00% DistributionMapping::Distribute() 56 1.782e-05 1.782e-05 1.782e-05 0.00% Amr::initSubcycle() 1 9.224e-06 9.224e-06 9.224e-06 0.00% AmrLevel::checkPointPost() 3 5.438e-06 5.438e-06 5.438e-06 0.00% Castro::retry_advance_ctu() 10 4.104e-06 4.104e-06 4.104e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.067e-06 4.067e-06 4.067e-06 0.00% Gravity::set_mass_offset() 11 3.887e-06 3.887e-06 3.887e-06 0.00% Castro::FluxRegCrseInit 10 3.041e-06 3.041e-06 3.041e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.395e-06 2.395e-06 2.395e-06 0.00% Castro::FluxRegFineAdd() 10 2.162e-06 2.162e-06 2.162e-06 0.00% AmrLevel::checkPointPre() 3 2.106e-06 2.106e-06 2.106e-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 96 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 125 MiB 692 MiB Castro::initMFs() 48 48 67 MiB 68 MiB Castro::swap_state_time_levels() 32 32 47 MiB 55 MiB StateData::define() 32 32 55 MiB 55 MiB FillPatchIterator::Initialize 328 328 1089 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1793 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7621 KiB 14 MiB MLMG::prepareForSolve() 660 660 3640 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 206 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 177 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7512 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2180 B 2048 KiB Gravity::solve_for_phi() 80 80 573 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 105 KiB 2048 KiB BndryData::define() 1056 1056 332 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 211 KiB 671 KiB Castro::estTimeStep() 21 21 3714 B 480 KiB VisMF::Write(FabArray) 656 656 3490 B 320 KiB Castro::normalize_species() 62 62 7491 B 320 KiB amrex::average_down 1067 1067 1283 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1169 B 257 KiB amrex::Dot() 1360 1360 3484 B 160 KiB FabArray::norminf() 907 907 2453 B 160 KiB check_for_negative_density() 10 10 293 B 160 KiB Castro::initData() 1 1 52 B 160 KiB MultiFab::max() 11 11 57 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 29 B 20 KiB MLPoisson::Fsmooth() 132 132 3554 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 317 B 9648 B MLCellLinOp::applyBC() 8866 8866 228 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3900 B 6144 B StateData::FillBoundary(geom) 1992 1992 47 B 3024 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 122 B 1472 B MLCellLinOp::defineBC() 66 66 374 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 614 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 41 KiB 8192 KiB VisMF::Write(FabArray) 744 744 502 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3554 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 46 B 10 KiB FillBoundary_nowait() 760 760 317 B 9648 B MLCellLinOp::applyBC() 4433 4433 226 B 9328 B MLCellLinOp::prepareForSolve() 66 66 4 B 7792 B amrex::Copy() 100 100 3900 B 6144 B Gravity::get_new_grav_vector() 3 3 2884 B 3072 B StateData::FillBoundary(geom) 1992 1992 48 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 270 B 1296 B MLMG::addInterpCorrection() 82 82 2 B 1024 B MLMG::prepareForSolve() 11 11 303 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 25 B 400 B FabArray::norminf() 907 907 17 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-22-gb2052f2d2e5c) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-22-gb2052f2d2e5c) initialized Starting run at 07:57:41 UTC on 2023-09-20. Successfully read inputs file ... Castro git describe: 23.09-12-ga02f2dce8 AMReX git describe: 23.09-22-gb2052f2d2 Microphysics git describe: 23.09-11-g5ddd146e reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.466417031 Restart time = 0.049695188 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.05259186 [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.056427121 [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.073559308 [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.074129747 [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.054731777 [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.028570652 seconds Ending run at 07:57:41 UTC on 2023-09-20. Run time = 0.390748607 Run time without initialization = 0.340454002 Average number of zones advanced per microsecond: 3.850 Average number of zones advanced per microsecond per rank: 3.850 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.3908 ... 0.3908 ... 0.3908 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1271 0.1271 0.1271 32.53% VisMF::Read() 3 0.03842 0.03842 0.03842 9.83% MLCellLinOp::applyBC() 1946 0.03279 0.03279 0.03279 8.39% VisMF::Write(FabArray) 1 0.02717 0.02717 0.02717 6.95% MLPoisson::Fsmooth() 1440 0.01384 0.01384 0.01384 3.54% FillBoundary_nowait() 1766 0.01282 0.01282 0.01282 3.28% StateData::FillBoundary(geom) 160 0.01209 0.01209 0.01209 3.09% Castro::normalize_species() 30 0.009779 0.009779 0.009779 2.50% amrex::Dot() 484 0.008664 0.008664 0.008664 2.22% amrex::Copy() 463 0.00707 0.00707 0.00707 1.81% FabArray::setVal() 537 0.006349 0.006349 0.006349 1.62% Castro::computeTemp() 30 0.006233 0.006233 0.006233 1.60% FabArray::norminf() 326 0.006194 0.006194 0.006194 1.58% FabArray::ParallelCopy_nowait() 380 0.005949 0.005949 0.005949 1.52% Gravity::fill_multipole_BCs() 6 0.005417 0.005417 0.005417 1.39% Castro::enforce_min_density() 30 0.005353 0.005353 0.005353 1.37% MLCellLinOp::defineAuxData() 6 0.005209 0.005209 0.005209 1.33% Amr::restart() 1 0.004762 0.004762 0.004762 1.22% MLPoisson::Fapply() 500 0.004444 0.004444 0.004444 1.14% StateDataPhysBCFunct::() 20 0.004329 0.004329 0.004329 1.11% FabArray::Saxpy() 355 0.003659 0.003659 0.003659 0.94% FabArray::Xpay() 361 0.003501 0.003501 0.003501 0.90% Castro::estTimeStep() 10 0.003391 0.003391 0.003391 0.87% MLMG::addInterpCorrection() 180 0.002999 0.002999 0.002999 0.77% amrex::average_down 180 0.002615 0.002615 0.002615 0.67% Castro::reset_internal_energy(MultiFab) 30 0.002237 0.002237 0.002237 0.57% FabArray::LinComb() 242 0.002222 0.002222 0.002222 0.57% BndryData::define() 6 0.001964 0.001964 0.001964 0.50% amrex::Add() 72 0.001865 0.001865 0.001865 0.48% Castro::construct_new_gravity_source() 5 0.001724 0.001724 0.001724 0.44% Castro::reset_internal_energy(Fab) 240 0.001548 0.001548 0.001548 0.40% Castro::construct_old_gravity_source() 5 0.0015 0.0015 0.0015 0.38% Amr::writePlotFile() 1 0.00125 0.00125 0.00125 0.32% Castro::subcycle_advance_ctu() 5 0.00121 0.00121 0.00121 0.31% MLCGSolver::bicgstab 36 0.0009691 0.0009691 0.0009691 0.25% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009322 0.0009322 0.0009322 0.24% check_for_negative_density() 5 0.0008756 0.0008756 0.0008756 0.22% Gravity::actual_solve_with_mlmg() 6 0.0008306 0.0008306 0.0008306 0.21% MLCellLinOp::setLevelBC() 6 0.0007788 0.0007788 0.0007788 0.20% MLCellLinOp::prepareForSolve() 6 0.0006932 0.0006932 0.0006932 0.18% FabArray::mult() 22 0.0006766 0.0006766 0.0006766 0.17% MultiFab::contains_nan() 10 0.0006517 0.0006517 0.0006517 0.17% FabArray::setDomainBndry() 20 0.0006503 0.0006503 0.0006503 0.17% MLCellLinOp::compGrad() 6 0.0005655 0.0005655 0.0005655 0.14% MLMG::prepareForSolve() 6 0.0005537 0.0005537 0.0005537 0.14% MLCellLinOp::smooth() 720 0.0005106 0.0005106 0.0005106 0.13% Amr::InitAmr() 1 0.0004237 0.0004237 0.0004237 0.11% FabArrayBase::CPC::define() 244 0.0004101 0.0004101 0.0004101 0.10% Castro::enforce_speed_limit() 30 0.000406 0.000406 0.000406 0.10% FabArray::FillBoundary() 1766 0.000368 0.000368 0.000368 0.09% FabArrayBase::getCPC() 632 0.0003585 0.0003585 0.0003585 0.09% Gravity::get_old_grav_vector() 5 0.0002879 0.0002879 0.0002879 0.07% FabArrayBase::getFB() 1766 0.0002661 0.0002661 0.0002661 0.07% main() 1 0.0002549 0.0002549 0.0002549 0.07% Gravity::get_new_grav_vector() 5 0.0002336 0.0002336 0.0002336 0.06% MLCellLinOp::apply() 500 0.0002049 0.0002049 0.0002049 0.05% MultiFab::max() 6 0.0001994 0.0001994 0.0001994 0.05% Amr::coarseTimeStep() 5 0.0001796 0.0001796 0.0001796 0.05% AmrLevel::FillPatch() 20 0.000162 0.000162 0.000162 0.04% MLCGSolver::ParallelAllReduce 659 0.0001278 0.0001278 0.0001278 0.03% FabArray::ParallelCopy() 380 0.0001152 0.0001152 0.0001152 0.03% Castro::construct_new_source() 25 0.0001148 0.0001148 0.0001148 0.03% MLCellLinOp::defineBC() 6 0.0001147 0.0001147 0.0001147 0.03% FillPatchIterator::Initialize 20 0.0001132 0.0001132 0.0001132 0.03% Castro::do_new_sources() 5 9.544e-05 9.544e-05 9.544e-05 0.02% MLCellLinOp::correctionResidual() 216 9.476e-05 9.476e-05 9.476e-05 0.02% MLLinOp::defineGrids() 6 9e-05 9e-05 9e-05 0.02% Castro::create_source_corrector() 5 8.357e-05 8.357e-05 8.357e-05 0.02% MLMG::mgVcycle() 36 8.313e-05 8.313e-05 8.313e-05 0.02% Amr::timeStep() 5 8.194e-05 8.194e-05 8.194e-05 0.02% AmrLevel::restart() 1 7.067e-05 7.067e-05 7.067e-05 0.02% Castro::finalize_do_advance() 5 6.738e-05 6.738e-05 6.738e-05 0.02% StateData::restartDoit() 4 6.358e-05 6.358e-05 6.358e-05 0.02% Gravity::update_max_rhs() 6 6.34e-05 6.34e-05 6.34e-05 0.02% Gravity::solve_for_phi() 5 6.131e-05 6.131e-05 6.131e-05 0.02% FabArrayBase::FB::FB() 26 5.878e-05 5.878e-05 5.878e-05 0.02% MLMG:computeResOfCorrection() 180 5.487e-05 5.487e-05 5.487e-05 0.01% Castro::advance() 5 5.381e-05 5.381e-05 5.381e-05 0.01% Castro::post_timestep() 5 4.247e-05 4.247e-05 4.247e-05 0.01% MLMG::actualBottomSolve() 36 4.022e-05 4.022e-05 4.022e-05 0.01% Castro::clean_state() 30 3.974e-05 3.974e-05 3.974e-05 0.01% MLMG::mgVcycle_down::0 36 3.689e-05 3.689e-05 3.689e-05 0.01% Castro::initialize_advance() 5 3.469e-05 3.469e-05 3.469e-05 0.01% MLMG::mgVcycle_down::1 36 3.452e-05 3.452e-05 3.452e-05 0.01% MLMG::solve() 6 3.449e-05 3.449e-05 3.449e-05 0.01% MLMG::mgVcycle_down::2 36 3.286e-05 3.286e-05 3.286e-05 0.01% MLMG::mgVcycle_down::4 36 3.192e-05 3.192e-05 3.192e-05 0.01% Castro::finalize_advance() 5 3.055e-05 3.055e-05 3.055e-05 0.01% Castro::construct_old_source() 25 3.042e-05 3.042e-05 3.042e-05 0.01% MLMG::mgVcycle_down::3 36 3.003e-05 3.003e-05 3.003e-05 0.01% Amr::writeSmallPlotFile() 1 2.989e-05 2.989e-05 2.989e-05 0.01% Castro::initialize_do_advance() 5 2.898e-05 2.898e-05 2.898e-05 0.01% MLMG::mgVcycle_up::4 36 2.784e-05 2.784e-05 2.784e-05 0.01% Castro::post_restart() 1 2.768e-05 2.768e-05 2.768e-05 0.01% Castro::buildMetrics() 1 2.464e-05 2.464e-05 2.464e-05 0.01% Castro::swap_state_time_levels() 5 2.456e-05 2.456e-05 2.456e-05 0.01% Castro::initMFs() 1 2.427e-05 2.427e-05 2.427e-05 0.01% Castro::do_advance_ctu() 5 2.369e-05 2.369e-05 2.369e-05 0.01% MLMG::mgVcycle_up::0 36 2.297e-05 2.297e-05 2.297e-05 0.01% MLMG::oneIter() 36 2.282e-05 2.282e-05 2.282e-05 0.01% MLMG::mgVcycle_up::3 36 2.245e-05 2.245e-05 2.245e-05 0.01% MLMG::mgVcycle_up::2 36 2.128e-05 2.128e-05 2.128e-05 0.01% MLCellLinOp::solutionResidual() 42 2.128e-05 2.128e-05 2.128e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.098e-05 2.098e-05 2.098e-05 0.01% MLMG::mgVcycle_up::1 36 2.091e-05 2.091e-05 2.091e-05 0.01% MLMG::ResNormInf() 42 1.81e-05 1.81e-05 1.81e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.677e-05 1.677e-05 1.677e-05 0.00% FillPatchSingleLevel 20 1.58e-05 1.58e-05 1.58e-05 0.00% MLMG::mgVcycle_bottom 36 1.521e-05 1.521e-05 1.521e-05 0.00% MLMG::computeResidual() 36 1.401e-05 1.401e-05 1.401e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.383e-05 1.383e-05 1.383e-05 0.00% MLPoisson::define() 6 1.364e-05 1.364e-05 1.364e-05 0.00% makeSFC 30 1.343e-05 1.343e-05 1.343e-05 0.00% Castro::construct_new_gravity() 5 1.195e-05 1.195e-05 1.195e-05 0.00% Castro::do_old_sources() 5 1.145e-05 1.145e-05 1.145e-05 0.00% MLLinOp::define() 6 1.067e-05 1.067e-05 1.067e-05 0.00% DistributionMapping::Distribute() 31 1.031e-05 1.031e-05 1.031e-05 0.00% Amr::initSubcycle() 1 9.44e-06 9.44e-06 9.44e-06 0.00% Castro::check_for_nan() 10 8.132e-06 8.132e-06 8.132e-06 0.00% Gravity::actual_multilevel_solve() 1 7.749e-06 7.749e-06 7.749e-06 0.00% Castro::construct_old_gravity() 5 7.09e-06 7.09e-06 7.09e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 6.94e-06 6.94e-06 6.94e-06 0.00% Castro::apply_source_to_state() 10 5.862e-06 5.862e-06 5.862e-06 0.00% Castro::computeNewDt() 5 4.482e-06 4.482e-06 4.482e-06 0.00% MLPoisson::prepareForSolve() 6 4.473e-06 4.473e-06 4.473e-06 0.00% MLMG::computeMLResidual() 6 4.085e-06 4.085e-06 4.085e-06 0.00% Gravity::swapTimeLevels() 5 3.997e-06 3.997e-06 3.997e-06 0.00% MLMG::getGradSolution() 6 3.164e-06 3.164e-06 3.164e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 3.001e-06 3.001e-06 3.001e-06 0.00% Castro::expand_state() 5 2.748e-06 2.748e-06 2.748e-06 0.00% MLMG::MLResNormInf() 6 2.454e-06 2.454e-06 2.454e-06 0.00% Castro::retry_advance_ctu() 5 2.447e-06 2.447e-06 2.447e-06 0.00% MLMG::MLRhsNormInf() 6 2.445e-06 2.445e-06 2.445e-06 0.00% Gravity::set_mass_offset() 6 1.878e-06 1.878e-06 1.878e-06 0.00% Castro::FluxRegCrseInit 5 1.329e-06 1.329e-06 1.329e-06 0.00% Castro::FluxRegFineAdd() 5 1.253e-06 1.253e-06 1.253e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.097e-06 1.097e-06 1.097e-06 0.00% Amr::init() 1 1.016e-06 1.016e-06 1.016e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.3908 0.3908 0.3908 100.00% Amr::coarseTimeStep() 5 0.3116 0.3116 0.3116 79.74% Amr::timeStep() 5 0.3092 0.3092 0.3092 79.12% Castro::advance() 5 0.3048 0.3048 0.3048 78.00% Castro::subcycle_advance_ctu() 5 0.2983 0.2983 0.2983 76.33% Castro::do_advance_ctu() 5 0.297 0.297 0.297 76.01% Castro::construct_ctu_hydro_source() 5 0.1318 0.1318 0.1318 33.74% Castro::construct_new_gravity() 5 0.1288 0.1288 0.1288 32.95% Gravity::solve_phi_with_mlmg() 6 0.1268 0.1268 0.1268 32.46% Gravity::solve_for_phi() 5 0.1214 0.1214 0.1214 31.06% Gravity::actual_solve_with_mlmg() 6 0.1212 0.1212 0.1212 31.01% MLMG::solve() 6 0.11 0.11 0.11 28.14% MLMG::oneIter() 36 0.1027 0.1027 0.1027 26.29% MLMG::mgVcycle() 36 0.1012 0.1012 0.1012 25.90% Amr::init() 1 0.04976 0.04976 0.04976 12.73% Amr::restart() 1 0.04976 0.04976 0.04976 12.73% MLCellLinOp::smooth() 720 0.04941 0.04941 0.04941 12.65% MLCellLinOp::applyBC() 1946 0.04631 0.04631 0.04631 11.85% AmrLevel::restart() 1 0.03875 0.03875 0.03875 9.92% StateData::restartDoit() 4 0.03868 0.03868 0.03868 9.90% VisMF::Read() 3 0.03842 0.03842 0.03842 9.83% MLMG::mgVcycle_bottom 36 0.03157 0.03157 0.03157 8.08% MLMG::actualBottomSolve() 36 0.03155 0.03155 0.03155 8.07% MLCGSolver::bicgstab 36 0.03126 0.03126 0.03126 8.00% Amr::writePlotFile() 1 0.02867 0.02867 0.02867 7.34% VisMF::Write(FabArray) 1 0.02717 0.02717 0.02717 6.95% Castro::clean_state() 30 0.0256 0.0256 0.0256 6.55% AmrLevel::FillPatch() 20 0.0213 0.0213 0.0213 5.45% FillPatchIterator::Initialize 20 0.01925 0.01925 0.01925 4.93% FillPatchIterator::FillFromLevel0() 20 0.01849 0.01849 0.01849 4.73% FillPatchSingleLevel 20 0.01847 0.01847 0.01847 4.73% StateDataPhysBCFunct::() 20 0.01642 0.01642 0.01642 4.20% MLCellLinOp::apply() 500 0.01562 0.01562 0.01562 4.00% MLMG::mgVcycle_down::0 36 0.01431 0.01431 0.01431 3.66% MLPoisson::Fsmooth() 1440 0.01384 0.01384 0.01384 3.54% FabArray::FillBoundary() 1766 0.01352 0.01352 0.01352 3.46% FillBoundary_nowait() 1766 0.01315 0.01315 0.01315 3.36% StateData::FillBoundary(geom) 160 0.01209 0.01209 0.01209 3.09% MLMG::mgVcycle_up::0 36 0.01079 0.01079 0.01079 2.76% Castro::do_old_sources() 5 0.01027 0.01027 0.01027 2.63% Castro::computeTemp() 30 0.01002 0.01002 0.01002 2.56% Castro::initialize_do_advance() 5 0.01 0.01 0.01 2.56% Castro::normalize_species() 30 0.009779 0.009779 0.009779 2.50% MLCellLinOp::correctionResidual() 216 0.009398 0.009398 0.009398 2.40% MLPoisson::define() 6 0.008748 0.008748 0.008748 2.24% amrex::Dot() 484 0.008664 0.008664 0.008664 2.22% MLMG:computeResOfCorrection() 180 0.008282 0.008282 0.008282 2.12% Castro::construct_old_gravity() 5 0.007366 0.007366 0.007366 1.88% Gravity::get_old_grav_vector() 5 0.007359 0.007359 0.007359 1.88% Gravity::get_new_grav_vector() 5 0.007286 0.007286 0.007286 1.86% Castro::do_new_sources() 5 0.007118 0.007118 0.007118 1.82% amrex::Copy() 463 0.00707 0.00707 0.00707 1.81% MLMG::mgVcycle_down::1 36 0.006844 0.006844 0.006844 1.75% FabArray::ParallelCopy() 380 0.00645 0.00645 0.00645 1.65% FabArray::setVal() 537 0.006349 0.006349 0.006349 1.62% FabArray::ParallelCopy_nowait() 380 0.006335 0.006335 0.006335 1.62% MLMG::mgVcycle_down::2 36 0.006259 0.006259 0.006259 1.60% Castro::initialize_advance() 5 0.006207 0.006207 0.006207 1.59% FabArray::norminf() 326 0.006194 0.006194 0.006194 1.58% MLMG::mgVcycle_down::3 36 0.006096 0.006096 0.006096 1.56% Castro::post_restart() 1 0.006073 0.006073 0.006073 1.55% MLMG::mgVcycle_down::4 36 0.006014 0.006014 0.006014 1.54% MLCellLinOp::defineAuxData() 6 0.005968 0.005968 0.005968 1.53% Gravity::multilevel_solve_for_new_phi() 1 0.005704 0.005704 0.005704 1.46% Gravity::actual_multilevel_solve() 1 0.005688 0.005688 0.005688 1.46% Gravity::fill_multipole_BCs() 6 0.005541 0.005541 0.005541 1.42% Castro::enforce_min_density() 30 0.005353 0.005353 0.005353 1.37% Castro::expand_state() 5 0.005349 0.005349 0.005349 1.37% MLCGSolver::ParallelAllReduce 659 0.005246 0.005246 0.005246 1.34% MLMG::addInterpCorrection() 180 0.005185 0.005185 0.005185 1.33% MLMG::mgVcycle_up::4 36 0.004923 0.004923 0.004923 1.26% MLMG::mgVcycle_up::1 36 0.004866 0.004866 0.004866 1.25% amrex::average_down 180 0.004849 0.004849 0.004849 1.24% MLMG::mgVcycle_up::2 36 0.004788 0.004788 0.004788 1.23% MLMG::mgVcycle_up::3 36 0.004666 0.004666 0.004666 1.19% MLPoisson::Fapply() 500 0.004444 0.004444 0.004444 1.14% Castro::post_timestep() 5 0.004268 0.004268 0.004268 1.09% Castro::reset_internal_energy(MultiFab) 30 0.003785 0.003785 0.003785 0.97% FabArray::Saxpy() 355 0.003659 0.003659 0.003659 0.94% FabArray::Xpay() 361 0.003501 0.003501 0.003501 0.90% MLCellLinOp::solutionResidual() 42 0.0034 0.0034 0.0034 0.87% Castro::estTimeStep() 10 0.003391 0.003391 0.003391 0.87% MLMG::prepareForSolve() 6 0.002692 0.002692 0.002692 0.69% MLMG::computeResidual() 36 0.002655 0.002655 0.002655 0.68% MLCellLinOp::defineBC() 6 0.002635 0.002635 0.002635 0.67% BndryData::define() 6 0.002521 0.002521 0.002521 0.65% Castro::computeNewDt() 5 0.002269 0.002269 0.002269 0.58% FabArray::LinComb() 242 0.002222 0.002222 0.002222 0.57% amrex::Add() 72 0.001865 0.001865 0.001865 0.48% Castro::construct_new_source() 25 0.001838 0.001838 0.001838 0.47% Castro::construct_new_gravity_source() 5 0.001724 0.001724 0.001724 0.44% Castro::reset_internal_energy(Fab) 240 0.001548 0.001548 0.001548 0.40% Castro::construct_old_source() 25 0.00153 0.00153 0.00153 0.39% Castro::construct_old_gravity_source() 5 0.0015 0.0015 0.0015 0.38% Castro::finalize_do_advance() 5 0.001195 0.001195 0.001195 0.31% MLMG::ResNormInf() 42 0.000977 0.000977 0.000977 0.25% Castro::apply_source_to_state() 10 0.000954 0.000954 0.000954 0.24% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009322 0.0009322 0.0009322 0.24% check_for_negative_density() 5 0.0008756 0.0008756 0.0008756 0.22% MLMG::getGradSolution() 6 0.0008388 0.0008388 0.0008388 0.21% MLCellLinOp::compGrad() 6 0.0008356 0.0008356 0.0008356 0.21% MLCellLinOp::setLevelBC() 6 0.0007788 0.0007788 0.0007788 0.20% FabArrayBase::getCPC() 632 0.0007686 0.0007686 0.0007686 0.20% MLMG::computeMLResidual() 6 0.000763 0.000763 0.000763 0.20% Gravity::update_max_rhs() 6 0.000702 0.000702 0.000702 0.18% MLPoisson::prepareForSolve() 6 0.0006976 0.0006976 0.0006976 0.18% MLCellLinOp::prepareForSolve() 6 0.0006932 0.0006932 0.0006932 0.18% FabArray::mult() 22 0.0006766 0.0006766 0.0006766 0.17% Castro::check_for_nan() 10 0.0006599 0.0006599 0.0006599 0.17% MultiFab::contains_nan() 10 0.0006517 0.0006517 0.0006517 0.17% FabArray::setDomainBndry() 20 0.0006503 0.0006503 0.0006503 0.17% Amr::InitAmr() 1 0.0004332 0.0004332 0.0004332 0.11% FabArrayBase::CPC::define() 244 0.0004101 0.0004101 0.0004101 0.10% Castro::enforce_speed_limit() 30 0.000406 0.000406 0.000406 0.10% FabArrayBase::getFB() 1766 0.0003249 0.0003249 0.0003249 0.08% Castro::finalize_advance() 5 0.0002926 0.0002926 0.0002926 0.07% Gravity::swapTimeLevels() 5 0.0002305 0.0002305 0.0002305 0.06% MultiFab::max() 6 0.0001994 0.0001994 0.0001994 0.05% MLMG::MLResNormInf() 6 0.0001864 0.0001864 0.0001864 0.05% Castro::buildMetrics() 1 0.0001441 0.0001441 0.0001441 0.04% MLLinOp::define() 6 0.0001305 0.0001305 0.0001305 0.03% MLLinOp::defineGrids() 6 0.0001198 0.0001198 0.0001198 0.03% MLMG::MLRhsNormInf() 6 0.0001179 0.0001179 0.0001179 0.03% Castro::create_source_corrector() 5 8.357e-05 8.357e-05 8.357e-05 0.02% FabArrayBase::FB::FB() 26 5.878e-05 5.878e-05 5.878e-05 0.02% Amr::writeSmallPlotFile() 1 2.989e-05 2.989e-05 2.989e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.874e-05 2.874e-05 2.874e-05 0.01% Castro::swap_state_time_levels() 5 2.456e-05 2.456e-05 2.456e-05 0.01% Castro::initMFs() 1 2.427e-05 2.427e-05 2.427e-05 0.01% makeSFC 30 2.18e-05 2.18e-05 2.18e-05 0.01% DistributionMapping::Distribute() 31 1.031e-05 1.031e-05 1.031e-05 0.00% Amr::initSubcycle() 1 9.44e-06 9.44e-06 9.44e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.933e-06 4.933e-06 4.933e-06 0.00% Castro::retry_advance_ctu() 5 2.447e-06 2.447e-06 2.447e-06 0.00% Gravity::set_mass_offset() 6 1.878e-06 1.878e-06 1.878e-06 0.00% Castro::FluxRegCrseInit 5 1.329e-06 1.329e-06 1.329e-06 0.00% Castro::FluxRegFineAdd() 5 1.253e-06 1.253e-06 1.253e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.097e-06 1.097e-06 1.097e-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 206 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 144 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 1070 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 2056 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 6719 KiB 14 MiB MLMG::prepareForSolve() 361 361 3453 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 195 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 190 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6705 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 24 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3569 B 2048 KiB Gravity::solve_for_phi() 40 40 634 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 29 KiB 2048 KiB BndryData::define() 576 576 318 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 204 KiB 671 KiB Castro::estTimeStep() 10 10 4143 B 480 KiB VisMF::Write(FabArray) 112 112 1369 B 320 KiB Castro::normalize_species() 30 30 8146 B 320 KiB amrex::average_down 469 469 1217 B 257 KiB MLMG::addInterpCorrection() 468 468 1136 B 257 KiB amrex::Dot() 592 592 3263 B 160 KiB FabArray::norminf() 398 398 2341 B 160 KiB check_for_negative_density() 5 5 357 B 160 KiB MultiFab::max() 6 6 79 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 33 B 20 KiB MLPoisson::Fsmooth() 60 60 3348 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 49 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 3892 3892 219 B 9344 B amrex::Copy() 56 56 5911 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B StateData::FillBoundary(geom) 960 960 37 B 3024 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 357 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1284 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 90 KiB 8192 KiB VisMF::Write(FabArray) 120 120 198 KiB 3584 KiB VisMF::Read() 24 24 190 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3348 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 50 B 10 KiB FillBoundary_nowait() 336 336 286 B 9648 B MLCellLinOp::applyBC() 1946 1946 218 B 9328 B amrex::Copy() 56 56 5911 B 8464 B MLCellLinOp::prepareForSolve() 36 36 5 B 7792 B Gravity::get_old_grav_vector() 3 3 2625 B 3072 B StateData::FillBoundary(geom) 960 960 38 B 3024 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 525 B 1296 B amrex::average_down 37 37 220 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 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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-22-gb2052f2d2e5c) finalized