Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-17-g48b3ec7cb7ad) initialized Starting run at 08:21:09 UTC on 2023-09-18. Successfully read inputs file ... Castro git describe: 23.09-9-g53faa2052 AMReX git describe: 23.09-17-g48b3ec7cb Microphysics git describe: 23.09-9-gdfc865b7 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.050809031 secs. PLOTFILE: file = dustcollapse-restart_plt00000 Write plotfile time = 0.028574282 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.051037038 [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.049268777 [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.074524881 [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.07661025 [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.05890696 [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.050601972 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.058674456 [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.048959435 [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.083437353 [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.081216868 [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.061430567 [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.049364689 secs. PLOTFILE: file = dustcollapse-restart_plt00010 Write plotfile time = 0.028247864 seconds Ending run at 08:21:10 UTC on 2023-09-18. Run time = 0.907148101 Run time without initialization = 0.772969542 Average number of zones advanced per microsecond: 3.391 Average number of zones advanced per microsecond per rank: 3.391 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.9072 ... 0.9072 ... 0.9072 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 10 0.2694 0.2694 0.2694 29.70% VisMF::Write(FabArray) 11 0.2003 0.2003 0.2003 22.08% MLCellLinOp::applyBC() 4433 0.07761 0.07761 0.07761 8.55% MLPoisson::Fsmooth() 3280 0.03351 0.03351 0.03351 3.69% FillBoundary_nowait() 4023 0.03067 0.03067 0.03067 3.38% StateData::FillBoundary(geom) 328 0.02681 0.02681 0.02681 2.96% amrex::Dot() 1114 0.02102 0.02102 0.02102 2.32% Castro::normalize_species() 62 0.01976 0.01976 0.01976 2.18% Castro::computeTemp() 63 0.01597 0.01597 0.01597 1.76% amrex::Copy() 1029 0.01511 0.01511 0.01511 1.67% FabArray::norminf() 743 0.01469 0.01469 0.01469 1.62% FabArray::ParallelCopy_nowait() 861 0.01355 0.01355 0.01355 1.49% FabArray::setVal() 1144 0.01351 0.01351 0.01351 1.49% Castro::enforce_min_density() 62 0.01265 0.01265 0.01265 1.39% StateDataPhysBCFunct::() 41 0.01108 0.01108 0.01108 1.22% MLPoisson::Fapply() 1142 0.01067 0.01067 0.01067 1.18% MLCellLinOp::defineAuxData() 11 0.01038 0.01038 0.01038 1.14% Gravity::fill_multipole_BCs() 11 0.009258 0.009258 0.009258 1.02% FabArray::Saxpy() 813 0.008359 0.008359 0.008359 0.92% FabArray::Xpay() 821 0.008298 0.008298 0.008298 0.91% MLMG::addInterpCorrection() 410 0.006844 0.006844 0.006844 0.75% Castro::estTimeStep() 21 0.006182 0.006182 0.006182 0.68% amrex::average_down 410 0.006169 0.006169 0.006169 0.68% Castro::reset_internal_energy(MultiFab) 63 0.005039 0.005039 0.005039 0.56% Amr::checkPoint() 3 0.004784 0.004784 0.004784 0.53% FabArray::LinComb() 557 0.004638 0.004638 0.004638 0.51% amrex::Add() 164 0.004433 0.004433 0.004433 0.49% BndryData::define() 11 0.003834 0.003834 0.003834 0.42% Castro::construct_new_gravity_source() 10 0.003399 0.003399 0.003399 0.37% Castro::construct_old_gravity_source() 10 0.002912 0.002912 0.002912 0.32% MLCGSolver::bicgstab 82 0.002217 0.002217 0.002217 0.24% Castro::enforce_speed_limit() 62 0.002122 0.002122 0.002122 0.23% Amr::writePlotFile() 2 0.002007 0.002007 0.002007 0.22% check_for_negative_density() 10 0.001912 0.001912 0.001912 0.21% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001767 0.001767 0.001767 0.19% Castro::reset_internal_energy(Fab) 504 0.001623 0.001623 0.001623 0.18% Castro::initData() 1 0.001558 0.001558 0.001558 0.17% Gravity::actual_solve_with_mlmg() 11 0.001523 0.001523 0.001523 0.17% MLCellLinOp::setLevelBC() 11 0.001493 0.001493 0.001493 0.16% FabArray::setDomainBndry() 41 0.001375 0.001375 0.001375 0.15% FabArray::mult() 43 0.001372 0.001372 0.001372 0.15% MLCellLinOp::prepareForSolve() 11 0.00128 0.00128 0.00128 0.14% MultiFab::contains_nan() 20 0.001279 0.001279 0.001279 0.14% MLCellLinOp::smooth() 1640 0.001166 0.001166 0.001166 0.13% MLCellLinOp::compGrad() 11 0.001049 0.001049 0.001049 0.12% MLMG::prepareForSolve() 11 0.0009567 0.0009567 0.0009567 0.11% FabArray::FillBoundary() 4023 0.0008286 0.0008286 0.0008286 0.09% FabArrayBase::getCPC() 1323 0.0008052 0.0008052 0.0008052 0.09% FabArrayBase::CPC::define() 454 0.0006661 0.0006661 0.0006661 0.07% FabArrayBase::getFB() 4023 0.0006437 0.0006437 0.0006437 0.07% Gravity::get_new_grav_vector() 11 0.000592 0.000592 0.000592 0.07% Amr::InitAmr() 1 0.000511 0.000511 0.000511 0.06% Gravity::get_old_grav_vector() 10 0.0004853 0.0004853 0.0004853 0.05% MLCellLinOp::apply() 1142 0.0004518 0.0004518 0.0004518 0.05% Amr::coarseTimeStep() 10 0.0004076 0.0004076 0.0004076 0.04% AmrLevel::FillPatch() 41 0.0003348 0.0003348 0.0003348 0.04% MultiFab::max() 11 0.0003297 0.0003297 0.0003297 0.04% MLCGSolver::ParallelAllReduce 1514 0.0002935 0.0002935 0.0002935 0.03% main() 1 0.000279 0.000279 0.000279 0.03% FabArray::ParallelCopy() 861 0.0002643 0.0002643 0.0002643 0.03% MLCellLinOp::correctionResidual() 492 0.0002292 0.0002292 0.0002292 0.03% MLCellLinOp::defineBC() 11 0.0002257 0.0002257 0.0002257 0.02% FillPatchIterator::Initialize 41 0.0002197 0.0002197 0.0002197 0.02% Castro::subcycle_advance_ctu() 10 0.0002156 0.0002156 0.0002156 0.02% MLMG::mgVcycle() 82 0.0001918 0.0001918 0.0001918 0.02% MLLinOp::defineGrids() 11 0.0001572 0.0001572 0.0001572 0.02% Amr::timeStep() 10 0.000156 0.000156 0.000156 0.02% Gravity::solve_for_phi() 10 0.0001527 0.0001527 0.0001527 0.02% Castro::create_source_corrector() 10 0.0001428 0.0001428 0.0001428 0.02% Castro::advance() 10 0.0001342 0.0001342 0.0001342 0.01% MLMG:computeResOfCorrection() 410 0.0001274 0.0001274 0.0001274 0.01% Gravity::update_max_rhs() 11 0.0001261 0.0001261 0.0001261 0.01% StateData::checkPoint() 12 0.0001193 0.0001193 0.0001193 0.01% Castro::Castro() 1 9.456e-05 9.456e-05 9.456e-05 0.01% FabArrayBase::FB::FB() 56 9.366e-05 9.366e-05 9.366e-05 0.01% MLMG::actualBottomSolve() 82 9.319e-05 9.319e-05 9.319e-05 0.01% MLMG::mgVcycle_down::0 82 8.429e-05 8.429e-05 8.429e-05 0.01% Castro::initialize_advance() 10 8.267e-05 8.267e-05 8.267e-05 0.01% MLMG::mgVcycle_down::1 82 8.004e-05 8.004e-05 8.004e-05 0.01% Castro::do_new_sources() 10 7.959e-05 7.959e-05 7.959e-05 0.01% MLMG::mgVcycle_down::2 82 7.493e-05 7.493e-05 7.493e-05 0.01% Castro::clean_state() 62 7.315e-05 7.315e-05 7.315e-05 0.01% MLMG::solve() 11 7.285e-05 7.285e-05 7.285e-05 0.01% MLMG::mgVcycle_down::4 82 7.231e-05 7.231e-05 7.231e-05 0.01% MLMG::mgVcycle_down::3 82 7.002e-05 7.002e-05 7.002e-05 0.01% Castro::enforce_consistent_e() 1 6.894e-05 6.894e-05 6.894e-05 0.01% AmrLevel::checkPoint() 3 6.77e-05 6.77e-05 6.77e-05 0.01% Castro::finalize_advance() 10 6.387e-05 6.387e-05 6.387e-05 0.01% MLMG::mgVcycle_up::4 82 5.956e-05 5.956e-05 5.956e-05 0.01% Castro::initialize_do_advance() 10 5.928e-05 5.928e-05 5.928e-05 0.01% MLMG::mgVcycle_up::0 82 5.303e-05 5.303e-05 5.303e-05 0.01% MLCellLinOp::solutionResidual() 93 4.98e-05 4.98e-05 4.98e-05 0.01% FillPatchIterator::FillFromLevel0() 41 4.922e-05 4.922e-05 4.922e-05 0.01% MLMG::mgVcycle_up::3 82 4.851e-05 4.851e-05 4.851e-05 0.01% MLMG::oneIter() 82 4.845e-05 4.845e-05 4.845e-05 0.01% Castro::do_advance_ctu() 10 4.776e-05 4.776e-05 4.776e-05 0.01% MLMG::mgVcycle_up::1 82 4.752e-05 4.752e-05 4.752e-05 0.01% MLMG::mgVcycle_up::2 82 4.689e-05 4.689e-05 4.689e-05 0.01% StateData::define() 4 4.433e-05 4.433e-05 4.433e-05 0.00% Castro::construct_new_source() 50 4.387e-05 4.387e-05 4.387e-05 0.00% Castro::finalize_do_advance() 10 4.319e-05 4.319e-05 4.319e-05 0.00% Castro::swap_state_time_levels() 10 3.799e-05 3.799e-05 3.799e-05 0.00% MLMG::mgVcycle_bottom 82 3.485e-05 3.485e-05 3.485e-05 0.00% FillPatchSingleLevel 41 3.403e-05 3.403e-05 3.403e-05 0.00% MLMG::computeResidual() 82 3.316e-05 3.316e-05 3.316e-05 0.00% MLMG::ResNormInf() 93 3.234e-05 3.234e-05 3.234e-05 0.00% Castro::initMFs() 1 3.2e-05 3.2e-05 3.2e-05 0.00% Amr::writeSmallPlotFile() 1 2.715e-05 2.715e-05 2.715e-05 0.00% makeSFC 55 2.504e-05 2.504e-05 2.504e-05 0.00% Castro::buildMetrics() 1 2.494e-05 2.494e-05 2.494e-05 0.00% Castro::construct_new_gravity() 10 2.405e-05 2.405e-05 2.405e-05 0.00% Amr::defBaseLevel() 1 2.405e-05 2.405e-05 2.405e-05 0.00% Gravity::solve_phi_with_mlmg() 11 2.373e-05 2.373e-05 2.373e-05 0.00% Castro::do_old_sources() 10 2.131e-05 2.131e-05 2.131e-05 0.00% MLPoisson::define() 11 2.048e-05 2.048e-05 2.048e-05 0.00% Castro::construct_old_source() 50 1.959e-05 1.959e-05 1.959e-05 0.00% Amr::FinalizeInit() 1 1.913e-05 1.913e-05 1.913e-05 0.00% DistributionMapping::Distribute() 56 1.835e-05 1.835e-05 1.835e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.748e-05 1.748e-05 1.748e-05 0.00% MLLinOp::define() 11 1.483e-05 1.483e-05 1.483e-05 0.00% AmrLevel::AmrLevel(dm) 1 1.337e-05 1.337e-05 1.337e-05 0.00% MLLinOp::makeAgglomeratedDMap 11 1.287e-05 1.287e-05 1.287e-05 0.00% Castro::construct_old_gravity() 10 1.202e-05 1.202e-05 1.202e-05 0.00% Castro::apply_source_to_state() 20 1.14e-05 1.14e-05 1.14e-05 0.00% Castro::check_for_nan() 20 1.113e-05 1.113e-05 1.113e-05 0.00% Amr::initSubcycle() 1 9.903e-06 9.903e-06 9.903e-06 0.00% Castro::post_init() 1 9.584e-06 9.584e-06 9.584e-06 0.00% Gravity::swapTimeLevels() 10 9.39e-06 9.39e-06 9.39e-06 0.00% Castro::post_timestep() 10 8.969e-06 8.969e-06 8.969e-06 0.00% MLMG::computeMLResidual() 11 8.833e-06 8.833e-06 8.833e-06 0.00% MLPoisson::prepareForSolve() 11 7.857e-06 7.857e-06 7.857e-06 0.00% Gravity::actual_multilevel_solve() 1 7.776e-06 7.776e-06 7.776e-06 0.00% Castro::computeNewDt() 9 7.032e-06 7.032e-06 7.032e-06 0.00% MLMG::getGradSolution() 11 6.126e-06 6.126e-06 6.126e-06 0.00% Castro::expand_state() 10 5.588e-06 5.588e-06 5.588e-06 0.00% Castro::retry_advance_ctu() 10 4.838e-06 4.838e-06 4.838e-06 0.00% AmrLevel::checkPointPost() 3 4.833e-06 4.833e-06 4.833e-06 0.00% Amr::InitializeInit() 1 4.689e-06 4.689e-06 4.689e-06 0.00% MLMG::MLRhsNormInf() 11 4.266e-06 4.266e-06 4.266e-06 0.00% Gravity::set_mass_offset() 11 4.216e-06 4.216e-06 4.216e-06 0.00% MLMG::MLResNormInf() 11 3.721e-06 3.721e-06 3.721e-06 0.00% Castro::computeInitialDt() 2 3.156e-06 3.156e-06 3.156e-06 0.00% Amr::init() 1 2.975e-06 2.975e-06 2.975e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.967e-06 2.967e-06 2.967e-06 0.00% Castro::FluxRegCrseInit 10 2.902e-06 2.902e-06 2.902e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.312e-06 2.312e-06 2.312e-06 0.00% Castro::FluxRegFineAdd() 10 2.019e-06 2.019e-06 2.019e-06 0.00% AmrLevel::checkPointPre() 3 1.704e-06 1.704e-06 1.704e-06 0.00% Castro::post_regrid() 1 1.529e-06 1.529e-06 1.529e-06 0.00% Amr::initialInit() 1 1.099e-06 1.099e-06 1.099e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.9072 0.9072 0.9072 100.00% Amr::coarseTimeStep() 10 0.7445 0.7445 0.7445 82.07% Amr::timeStep() 10 0.6405 0.6405 0.6405 70.60% Castro::advance() 10 0.631 0.631 0.631 69.56% Castro::subcycle_advance_ctu() 10 0.6163 0.6163 0.6163 67.93% Castro::do_advance_ctu() 10 0.616 0.616 0.616 67.91% Gravity::solve_phi_with_mlmg() 11 0.2915 0.2915 0.2915 32.13% Gravity::actual_solve_with_mlmg() 11 0.2818 0.2818 0.2818 31.06% Castro::construct_ctu_hydro_source() 10 0.28 0.28 0.28 30.87% Castro::construct_new_gravity() 10 0.2628 0.2628 0.2628 28.96% MLMG::solve() 11 0.2601 0.2601 0.2601 28.68% Gravity::solve_for_phi() 10 0.2468 0.2468 0.2468 27.21% MLMG::oneIter() 82 0.2451 0.2451 0.2451 27.02% MLMG::mgVcycle() 82 0.2414 0.2414 0.2414 26.61% VisMF::Write(FabArray) 11 0.2003 0.2003 0.2003 22.08% Amr::checkPoint() 3 0.1509 0.1509 0.1509 16.63% AmrLevel::checkPoint() 3 0.1461 0.1461 0.1461 16.11% StateData::checkPoint() 12 0.146 0.146 0.146 16.10% Amr::init() 1 0.1335 0.1335 0.1335 14.72% MLCellLinOp::smooth() 1640 0.1182 0.1182 0.1182 13.03% MLCellLinOp::applyBC() 4433 0.1098 0.1098 0.1098 12.11% MLMG::mgVcycle_bottom 82 0.07532 0.07532 0.07532 8.30% MLMG::actualBottomSolve() 82 0.07528 0.07528 0.07528 8.30% MLCGSolver::bicgstab 82 0.07456 0.07456 0.07456 8.22% Amr::writePlotFile() 2 0.05694 0.05694 0.05694 6.28% Castro::clean_state() 62 0.05633 0.05633 0.05633 6.21% Amr::initialInit() 1 0.05402 0.05402 0.05402 5.95% Amr::FinalizeInit() 1 0.04913 0.04913 0.04913 5.42% AmrLevel::FillPatch() 41 0.0478 0.0478 0.0478 5.27% Castro::post_init() 1 0.04766 0.04766 0.04766 5.25% Gravity::multilevel_solve_for_new_phi() 1 0.04514 0.04514 0.04514 4.98% Gravity::actual_multilevel_solve() 1 0.04512 0.04512 0.04512 4.97% FillPatchIterator::Initialize 41 0.04361 0.04361 0.04361 4.81% FillPatchIterator::FillFromLevel0() 41 0.04202 0.04202 0.04202 4.63% FillPatchSingleLevel 41 0.04197 0.04197 0.04197 4.63% StateDataPhysBCFunct::() 41 0.03789 0.03789 0.03789 4.18% MLCellLinOp::apply() 1142 0.03695 0.03695 0.03695 4.07% MLMG::mgVcycle_down::0 82 0.03383 0.03383 0.03383 3.73% MLPoisson::Fsmooth() 3280 0.03351 0.03351 0.03351 3.69% FabArray::FillBoundary() 4023 0.03224 0.03224 0.03224 3.55% FillBoundary_nowait() 4023 0.03141 0.03141 0.03141 3.46% StateData::FillBoundary(geom) 328 0.02681 0.02681 0.02681 2.96% MLMG::mgVcycle_up::0 82 0.02555 0.02555 0.02555 2.82% Castro::computeTemp() 63 0.02263 0.02263 0.02263 2.49% MLCellLinOp::correctionResidual() 492 0.0225 0.0225 0.0225 2.48% Castro::initialize_do_advance() 10 0.0218 0.0218 0.0218 2.40% amrex::Dot() 1114 0.02102 0.02102 0.02102 2.32% MLMG:computeResOfCorrection() 410 0.01981 0.01981 0.01981 2.18% Castro::normalize_species() 62 0.01976 0.01976 0.01976 2.18% Castro::do_old_sources() 10 0.01941 0.01941 0.01941 2.14% Gravity::get_new_grav_vector() 11 0.01798 0.01798 0.01798 1.98% MLPoisson::define() 11 0.01711 0.01711 0.01711 1.89% MLMG::mgVcycle_down::1 82 0.01625 0.01625 0.01625 1.79% Castro::construct_old_gravity() 10 0.01534 0.01534 0.01534 1.69% Gravity::get_old_grav_vector() 10 0.01533 0.01533 0.01533 1.69% amrex::Copy() 1029 0.01511 0.01511 0.01511 1.67% MLMG::mgVcycle_down::2 82 0.01504 0.01504 0.01504 1.66% FabArray::norminf() 743 0.01469 0.01469 0.01469 1.62% MLMG::mgVcycle_down::3 82 0.01467 0.01467 0.01467 1.62% FabArray::ParallelCopy() 861 0.01463 0.01463 0.01463 1.61% MLMG::mgVcycle_down::4 82 0.0145 0.0145 0.0145 1.60% FabArray::ParallelCopy_nowait() 861 0.01437 0.01437 0.01437 1.58% Castro::initialize_advance() 10 0.01405 0.01405 0.01405 1.55% FabArray::setVal() 1144 0.01351 0.01351 0.01351 1.49% Castro::do_new_sources() 10 0.01334 0.01334 0.01334 1.47% Castro::enforce_min_density() 62 0.01265 0.01265 0.01265 1.39% MLCGSolver::ParallelAllReduce 1514 0.01259 0.01259 0.01259 1.39% MLMG::addInterpCorrection() 410 0.01207 0.01207 0.01207 1.33% MLCellLinOp::defineAuxData() 11 0.0118 0.0118 0.0118 1.30% Castro::expand_state() 10 0.01173 0.01173 0.01173 1.29% MLMG::mgVcycle_up::1 82 0.01171 0.01171 0.01171 1.29% MLMG::mgVcycle_up::4 82 0.01171 0.01171 0.01171 1.29% amrex::average_down 410 0.01153 0.01153 0.01153 1.27% MLMG::mgVcycle_up::2 82 0.01143 0.01143 0.01143 1.26% MLMG::mgVcycle_up::3 82 0.01124 0.01124 0.01124 1.24% MLPoisson::Fapply() 1142 0.01067 0.01067 0.01067 1.18% Gravity::fill_multipole_BCs() 11 0.009489 0.009489 0.009489 1.05% Castro::post_timestep() 10 0.00928 0.00928 0.00928 1.02% FabArray::Saxpy() 813 0.008359 0.008359 0.008359 0.92% FabArray::Xpay() 821 0.008298 0.008298 0.008298 0.91% MLCellLinOp::solutionResidual() 93 0.007546 0.007546 0.007546 0.83% Castro::reset_internal_energy(MultiFab) 63 0.006661 0.006661 0.006661 0.73% MLMG::computeResidual() 82 0.006271 0.006271 0.006271 0.69% Castro::estTimeStep() 21 0.006182 0.006182 0.006182 0.68% MLCellLinOp::defineBC() 11 0.005054 0.005054 0.005054 0.56% MLMG::prepareForSolve() 11 0.005014 0.005014 0.005014 0.55% Amr::InitializeInit() 1 0.004886 0.004886 0.004886 0.54% Amr::defBaseLevel() 1 0.004881 0.004881 0.004881 0.54% BndryData::define() 11 0.004829 0.004829 0.004829 0.53% FabArray::LinComb() 557 0.004638 0.004638 0.004638 0.51% amrex::Add() 164 0.004433 0.004433 0.004433 0.49% Castro::initData() 1 0.004213 0.004213 0.004213 0.46% Castro::construct_new_source() 50 0.003442 0.003442 0.003442 0.38% Castro::construct_new_gravity_source() 10 0.003399 0.003399 0.003399 0.37% Castro::construct_old_source() 50 0.002931 0.002931 0.002931 0.32% Castro::construct_old_gravity_source() 10 0.002912 0.002912 0.002912 0.32% Castro::computeNewDt() 9 0.002757 0.002757 0.002757 0.30% Castro::finalize_do_advance() 10 0.002369 0.002369 0.002369 0.26% MLMG::ResNormInf() 93 0.002162 0.002162 0.002162 0.24% Castro::enforce_speed_limit() 62 0.002122 0.002122 0.002122 0.23% check_for_negative_density() 10 0.001912 0.001912 0.001912 0.21% Castro::apply_source_to_state() 20 0.001853 0.001853 0.001853 0.20% FabArray::setVal(val, thecmd, scomp, ncomp) 462 0.001767 0.001767 0.001767 0.19% Castro::reset_internal_energy(Fab) 504 0.001623 0.001623 0.001623 0.18% MLMG::getGradSolution() 11 0.001538 0.001538 0.001538 0.17% MLCellLinOp::compGrad() 11 0.001532 0.001532 0.001532 0.17% MLCellLinOp::setLevelBC() 11 0.001493 0.001493 0.001493 0.16% FabArrayBase::getCPC() 1323 0.001471 0.001471 0.001471 0.16% FabArray::setDomainBndry() 41 0.001375 0.001375 0.001375 0.15% FabArray::mult() 43 0.001372 0.001372 0.001372 0.15% MLMG::computeMLResidual() 11 0.001317 0.001317 0.001317 0.15% Castro::check_for_nan() 20 0.00129 0.00129 0.00129 0.14% MLPoisson::prepareForSolve() 11 0.001288 0.001288 0.001288 0.14% MLCellLinOp::prepareForSolve() 11 0.00128 0.00128 0.00128 0.14% MultiFab::contains_nan() 20 0.001279 0.001279 0.001279 0.14% Castro::post_regrid() 1 0.001168 0.001168 0.001168 0.13% Castro::computeInitialDt() 2 0.00111 0.00111 0.00111 0.12% Gravity::update_max_rhs() 11 0.001005 0.001005 0.001005 0.11% FabArrayBase::getFB() 4023 0.0007373 0.0007373 0.0007373 0.08% FabArrayBase::CPC::define() 454 0.0006661 0.0006661 0.0006661 0.07% Castro::finalize_advance() 10 0.000597 0.000597 0.000597 0.07% Castro::Castro() 1 0.0005823 0.0005823 0.0005823 0.06% Amr::InitAmr() 1 0.0005209 0.0005209 0.0005209 0.06% Gravity::swapTimeLevels() 10 0.0004419 0.0004419 0.0004419 0.05% MLMG::MLResNormInf() 11 0.0003316 0.0003316 0.0003316 0.04% MultiFab::max() 11 0.0003297 0.0003297 0.0003297 0.04% Castro::buildMetrics() 1 0.0002853 0.0002853 0.0002853 0.03% MLLinOp::define() 11 0.0002295 0.0002295 0.0002295 0.03% MLMG::MLRhsNormInf() 11 0.0002237 0.0002237 0.0002237 0.02% MLLinOp::defineGrids() 11 0.0002146 0.0002146 0.0002146 0.02% Castro::create_source_corrector() 10 0.0001428 0.0001428 0.0001428 0.02% FabArrayBase::FB::FB() 56 9.366e-05 9.366e-05 9.366e-05 0.01% Castro::enforce_consistent_e() 1 6.894e-05 6.894e-05 6.894e-05 0.01% AmrLevel::AmrLevel(dm) 1 5.771e-05 5.771e-05 5.771e-05 0.01% MLLinOp::makeAgglomeratedDMap 11 5.511e-05 5.511e-05 5.511e-05 0.01% StateData::define() 4 4.433e-05 4.433e-05 4.433e-05 0.00% makeSFC 55 4.224e-05 4.224e-05 4.224e-05 0.00% Castro::swap_state_time_levels() 10 3.799e-05 3.799e-05 3.799e-05 0.00% Castro::initMFs() 1 3.2e-05 3.2e-05 3.2e-05 0.00% Amr::writeSmallPlotFile() 1 2.715e-05 2.715e-05 2.715e-05 0.00% DistributionMapping::Distribute() 56 1.835e-05 1.835e-05 1.835e-05 0.00% Amr::initSubcycle() 1 9.903e-06 9.903e-06 9.903e-06 0.00% Castro::retry_advance_ctu() 10 4.838e-06 4.838e-06 4.838e-06 0.00% AmrLevel::checkPointPost() 3 4.833e-06 4.833e-06 4.833e-06 0.00% Gravity::set_mass_offset() 11 4.216e-06 4.216e-06 4.216e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.119e-06 4.119e-06 4.119e-06 0.00% Castro::FluxRegCrseInit 10 2.902e-06 2.902e-06 2.902e-06 0.00% MLLinOp::makeSubCommunicator() 11 2.312e-06 2.312e-06 2.312e-06 0.00% Castro::FluxRegFineAdd() 10 2.019e-06 2.019e-06 2.019e-06 0.00% AmrLevel::checkPointPre() 3 1.704e-06 1.704e-06 1.704e-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 92 MiB 9042 MiB Castro::construct_ctu_hydro_source() 2880 2880 139 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 1021 KiB 39 MiB Castro::initialize_do_advance() 80 80 26 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 16 16 1766 KiB 28 MiB Castro::initialize_advance() 80 80 16 MiB 23 MiB Castro::buildMetrics() 32 32 15 MiB 15 MiB Castro::Castro() 48 48 7617 KiB 14 MiB MLMG::prepareForSolve() 660 660 3527 KiB 12 MiB Gravity::get_new_grav_vector() 91 91 205 KiB 10 MiB Gravity::get_old_grav_vector() 80 80 173 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 7518 KiB 7586 KiB Gravity::fill_multipole_BCs() 154 154 18 KiB 2053 KiB Gravity::update_max_rhs() 88 88 2148 B 2048 KiB Gravity::solve_for_phi() 80 80 556 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 101 KiB 2048 KiB BndryData::define() 1056 1056 322 KiB 1095 KiB MLCellLinOp::defineAuxData() 1716 1716 205 KiB 671 KiB Castro::estTimeStep() 21 21 3324 B 480 KiB VisMF::Write(FabArray) 656 656 3366 B 320 KiB Castro::normalize_species() 62 62 7094 B 320 KiB amrex::average_down 1067 1067 1275 B 257 KiB MLMG::addInterpCorrection() 1066 1066 1135 B 257 KiB amrex::Dot() 1360 1360 3420 B 160 KiB FabArray::norminf() 907 907 2397 B 160 KiB check_for_negative_density() 10 10 313 B 160 KiB Castro::initData() 1 1 50 B 160 KiB MultiFab::max() 11 11 56 B 160 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MultiFab::contains_nan() 20 20 28 B 20 KiB MLPoisson::Fsmooth() 132 132 3443 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 296 B 9648 B MLCellLinOp::applyBC() 8866 8866 220 B 9344 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B StateData::FillBoundary(geom) 1992 1992 42 B 2688 B FabArray::setVal(val, thecmd, scomp, ncomp) 132 132 1 B 1616 B MLCGSolver::bicgstab 738 738 119 B 1472 B MLCellLinOp::defineBC() 66 66 363 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ----------------------------------------------------------------- Name Nalloc Nfree AvgMem MaxMem ----------------------------------------------------------------- The_Managed_Arena::Initialize() 1 1 602 B 8192 KiB ----------------------------------------------------------------- Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 65 KiB 8192 KiB VisMF::Write(FabArray) 744 744 502 KiB 3584 KiB FabArray::setVal() 106 106 21 KiB 26 KiB MLPoisson::Fsmooth() 132 132 3443 B 12 KiB FabArray::ParallelCopy_nowait() 861 861 44 B 10 KiB FillBoundary_nowait() 760 760 296 B 9648 B MLCellLinOp::applyBC() 4433 4433 218 B 9328 B MLCellLinOp::prepareForSolve() 66 66 3 B 7792 B amrex::Copy() 100 100 3912 B 6144 B Gravity::get_new_grav_vector() 3 3 2891 B 3072 B Gravity::fill_multipole_BCs() 33 33 3 B 2832 B StateData::FillBoundary(geom) 1992 1992 43 B 2784 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 293 B 1024 B MLCellLinOp::setLevelBC() 66 66 0 B 768 B amrex::Dot() 1360 1360 24 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-17-g48b3ec7cb7ad) finalized Initializing CUDA... CUDA initialized with 1 device. AMReX (23.09-17-g48b3ec7cb7ad) initialized Starting run at 08:21:11 UTC on 2023-09-18. Successfully read inputs file ... Castro git describe: 23.09-9-g53faa2052 AMReX git describe: 23.09-17-g48b3ec7cb Microphysics git describe: 23.09-9-gdfc865b7 reading extern runtime parameters ... 3 Species: C12 O16 Mg24 restarting calculation from file: dustcollapse-restart_chk00005 Successfully read inputs file ... read CPU time: 0.495149133 Restart time = 0.049963885 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.057516475 [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.064531502 [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.081800477 [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.073585042 [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.055815404 [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.036404697 seconds Ending run at 08:21:11 UTC on 2023-09-18. Run time = 0.420667157 Run time without initialization = 0.370114742 Average number of zones advanced per microsecond: 3.541 Average number of zones advanced per microsecond per rank: 3.541 CPU(0): Heap Space (bytes) used by Coalescing FAB Arena: 9481961472 TinyProfiler total time across processes [min...avg...max]: 0.4207 ... 0.4207 ... 0.4207 -------------------------------------------------------------------------------------------- Name NCalls Excl. Min Excl. Avg Excl. Max Max % -------------------------------------------------------------------------------------------- Castro::construct_ctu_hydro_source() 5 0.1404 0.1404 0.1404 33.38% VisMF::Read() 3 0.03862 0.03862 0.03862 9.18% MLCellLinOp::applyBC() 1946 0.03388 0.03388 0.03388 8.05% VisMF::Write(FabArray) 1 0.02831 0.02831 0.02831 6.73% MLPoisson::Fsmooth() 1440 0.01431 0.01431 0.01431 3.40% StateData::FillBoundary(geom) 160 0.01315 0.01315 0.01315 3.13% FillBoundary_nowait() 1766 0.0128 0.0128 0.0128 3.04% Castro::normalize_species() 30 0.01099 0.01099 0.01099 2.61% amrex::Dot() 484 0.009031 0.009031 0.009031 2.15% Amr::writePlotFile() 1 0.007921 0.007921 0.007921 1.88% Castro::computeTemp() 30 0.007369 0.007369 0.007369 1.75% amrex::Copy() 463 0.007269 0.007269 0.007269 1.73% FabArray::setVal() 537 0.006553 0.006553 0.006553 1.56% FabArray::norminf() 326 0.006443 0.006443 0.006443 1.53% FabArray::ParallelCopy_nowait() 380 0.006116 0.006116 0.006116 1.45% Castro::enforce_min_density() 30 0.005881 0.005881 0.005881 1.40% MLCellLinOp::defineAuxData() 6 0.005624 0.005624 0.005624 1.34% Gravity::fill_multipole_BCs() 6 0.00546 0.00546 0.00546 1.30% Amr::restart() 1 0.004731 0.004731 0.004731 1.12% MLPoisson::Fapply() 500 0.004605 0.004605 0.004605 1.09% StateDataPhysBCFunct::() 20 0.004167 0.004167 0.004167 0.99% FabArray::Saxpy() 355 0.003785 0.003785 0.003785 0.90% Castro::estTimeStep() 10 0.003665 0.003665 0.003665 0.87% FabArray::Xpay() 361 0.0036 0.0036 0.0036 0.86% MLMG::addInterpCorrection() 180 0.003116 0.003116 0.003116 0.74% amrex::average_down 180 0.00271 0.00271 0.00271 0.64% FabArray::LinComb() 242 0.002288 0.002288 0.002288 0.54% BndryData::define() 6 0.002128 0.002128 0.002128 0.51% Castro::reset_internal_energy(MultiFab) 30 0.002086 0.002086 0.002086 0.50% amrex::Add() 72 0.001911 0.001911 0.001911 0.45% Castro::construct_new_gravity_source() 5 0.001713 0.001713 0.001713 0.41% Castro::construct_old_gravity_source() 5 0.00151 0.00151 0.00151 0.36% MLCGSolver::bicgstab 36 0.0009703 0.0009703 0.0009703 0.23% Castro::reset_internal_energy(Fab) 240 0.0009635 0.0009635 0.0009635 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009566 0.0009566 0.0009566 0.23% Castro::enforce_speed_limit() 30 0.0009491 0.0009491 0.0009491 0.23% check_for_negative_density() 5 0.000909 0.000909 0.000909 0.22% Gravity::actual_solve_with_mlmg() 6 0.000833 0.000833 0.000833 0.20% MLCellLinOp::setLevelBC() 6 0.0008137 0.0008137 0.0008137 0.19% Castro::do_old_sources() 5 0.0008034 0.0008034 0.0008034 0.19% Castro::initialize_do_advance() 5 0.0008032 0.0008032 0.0008032 0.19% MLCellLinOp::prepareForSolve() 6 0.0007239 0.0007239 0.0007239 0.17% FabArray::setDomainBndry() 20 0.0006849 0.0006849 0.0006849 0.16% FabArray::mult() 22 0.0006811 0.0006811 0.0006811 0.16% MultiFab::contains_nan() 10 0.0006539 0.0006539 0.0006539 0.16% MLCellLinOp::compGrad() 6 0.0005915 0.0005915 0.0005915 0.14% MLMG::prepareForSolve() 6 0.0005459 0.0005459 0.0005459 0.13% MLCellLinOp::smooth() 720 0.0004889 0.0004889 0.0004889 0.12% FabArrayBase::CPC::define() 244 0.0004337 0.0004337 0.0004337 0.10% Amr::InitAmr() 1 0.0004138 0.0004138 0.0004138 0.10% FabArrayBase::getCPC() 632 0.0003788 0.0003788 0.0003788 0.09% FabArray::FillBoundary() 1766 0.0003714 0.0003714 0.0003714 0.09% Gravity::get_old_grav_vector() 5 0.0003045 0.0003045 0.0003045 0.07% FabArrayBase::getFB() 1766 0.00027 0.00027 0.00027 0.06% main() 1 0.0002557 0.0002557 0.0002557 0.06% Gravity::get_new_grav_vector() 5 0.0002377 0.0002377 0.0002377 0.06% MLCellLinOp::apply() 500 0.0002036 0.0002036 0.0002036 0.05% MultiFab::max() 6 0.0002031 0.0002031 0.0002031 0.05% Amr::coarseTimeStep() 5 0.0001998 0.0001998 0.0001998 0.05% AmrLevel::FillPatch() 20 0.0001675 0.0001675 0.0001675 0.04% MLCGSolver::ParallelAllReduce 659 0.0001315 0.0001315 0.0001315 0.03% MLCellLinOp::defineBC() 6 0.0001189 0.0001189 0.0001189 0.03% FabArray::ParallelCopy() 380 0.0001175 0.0001175 0.0001175 0.03% Castro::construct_new_source() 25 0.0001106 0.0001106 0.0001106 0.03% FillPatchIterator::Initialize 20 0.0001095 0.0001095 0.0001095 0.03% MLLinOp::defineGrids() 6 0.000108 0.000108 0.000108 0.03% MLCellLinOp::correctionResidual() 216 9.716e-05 9.716e-05 9.716e-05 0.02% MLMG::mgVcycle() 36 9.471e-05 9.471e-05 9.471e-05 0.02% Castro::do_new_sources() 5 9.455e-05 9.455e-05 9.455e-05 0.02% Amr::timeStep() 5 8.268e-05 8.268e-05 8.268e-05 0.02% Castro::create_source_corrector() 5 8.111e-05 8.111e-05 8.111e-05 0.02% AmrLevel::restart() 1 7.054e-05 7.054e-05 7.054e-05 0.02% Castro::subcycle_advance_ctu() 5 6.939e-05 6.939e-05 6.939e-05 0.02% StateData::restartDoit() 4 6.453e-05 6.453e-05 6.453e-05 0.02% Gravity::update_max_rhs() 6 6.395e-05 6.395e-05 6.395e-05 0.02% Castro::finalize_do_advance() 5 6.253e-05 6.253e-05 6.253e-05 0.01% FabArrayBase::FB::FB() 26 6.018e-05 6.018e-05 6.018e-05 0.01% Gravity::solve_for_phi() 5 5.755e-05 5.755e-05 5.755e-05 0.01% MLMG:computeResOfCorrection() 180 5.437e-05 5.437e-05 5.437e-05 0.01% Castro::advance() 5 5.402e-05 5.402e-05 5.402e-05 0.01% Castro::construct_old_source() 25 5.212e-05 5.212e-05 5.212e-05 0.01% MLMG::actualBottomSolve() 36 4.254e-05 4.254e-05 4.254e-05 0.01% MLMG::mgVcycle_down::0 36 3.713e-05 3.713e-05 3.713e-05 0.01% Castro::initialize_advance() 5 3.605e-05 3.605e-05 3.605e-05 0.01% MLMG::solve() 6 3.509e-05 3.509e-05 3.509e-05 0.01% Castro::clean_state() 30 3.477e-05 3.477e-05 3.477e-05 0.01% MLMG::mgVcycle_down::1 36 3.332e-05 3.332e-05 3.332e-05 0.01% MLMG::mgVcycle_down::2 36 3.134e-05 3.134e-05 3.134e-05 0.01% MLMG::mgVcycle_down::4 36 3.078e-05 3.078e-05 3.078e-05 0.01% Amr::writeSmallPlotFile() 1 2.952e-05 2.952e-05 2.952e-05 0.01% Castro::post_restart() 1 2.941e-05 2.941e-05 2.941e-05 0.01% MLMG::mgVcycle_down::3 36 2.918e-05 2.918e-05 2.918e-05 0.01% Castro::finalize_advance() 5 2.874e-05 2.874e-05 2.874e-05 0.01% MLMG::mgVcycle_up::4 36 2.682e-05 2.682e-05 2.682e-05 0.01% Castro::buildMetrics() 1 2.605e-05 2.605e-05 2.605e-05 0.01% Castro::do_advance_ctu() 5 2.434e-05 2.434e-05 2.434e-05 0.01% Castro::swap_state_time_levels() 5 2.433e-05 2.433e-05 2.433e-05 0.01% Castro::initMFs() 1 2.4e-05 2.4e-05 2.4e-05 0.01% MLMG::oneIter() 36 2.382e-05 2.382e-05 2.382e-05 0.01% MLMG::mgVcycle_bottom 36 2.369e-05 2.369e-05 2.369e-05 0.01% FillPatchIterator::FillFromLevel0() 20 2.298e-05 2.298e-05 2.298e-05 0.01% MLMG::mgVcycle_up::0 36 2.226e-05 2.226e-05 2.226e-05 0.01% MLMG::mgVcycle_up::3 36 2.149e-05 2.149e-05 2.149e-05 0.01% MLMG::mgVcycle_up::2 36 2.058e-05 2.058e-05 2.058e-05 0.00% MLCellLinOp::solutionResidual() 42 2.033e-05 2.033e-05 2.033e-05 0.00% MLMG::mgVcycle_up::1 36 1.988e-05 1.988e-05 1.988e-05 0.00% Gravity::multilevel_solve_for_new_phi() 1 1.691e-05 1.691e-05 1.691e-05 0.00% MLMG::ResNormInf() 42 1.669e-05 1.669e-05 1.669e-05 0.00% FillPatchSingleLevel 20 1.575e-05 1.575e-05 1.575e-05 0.00% MLMG::computeResidual() 36 1.359e-05 1.359e-05 1.359e-05 0.00% Gravity::solve_phi_with_mlmg() 6 1.35e-05 1.35e-05 1.35e-05 0.00% makeSFC 30 1.338e-05 1.338e-05 1.338e-05 0.00% MLPoisson::define() 6 1.298e-05 1.298e-05 1.298e-05 0.00% Castro::construct_new_gravity() 5 1.184e-05 1.184e-05 1.184e-05 0.00% DistributionMapping::Distribute() 31 1.028e-05 1.028e-05 1.028e-05 0.00% MLLinOp::define() 6 1.004e-05 1.004e-05 1.004e-05 0.00% Amr::initSubcycle() 1 8.909e-06 8.909e-06 8.909e-06 0.00% Gravity::actual_multilevel_solve() 1 8.669e-06 8.669e-06 8.669e-06 0.00% MLLinOp::makeAgglomeratedDMap 6 7.32e-06 7.32e-06 7.32e-06 0.00% Castro::construct_old_gravity() 5 7.184e-06 7.184e-06 7.184e-06 0.00% Castro::check_for_nan() 10 6.384e-06 6.384e-06 6.384e-06 0.00% Castro::apply_source_to_state() 10 5.875e-06 5.875e-06 5.875e-06 0.00% Gravity::swapTimeLevels() 5 4.363e-06 4.363e-06 4.363e-06 0.00% MLMG::computeMLResidual() 6 4.228e-06 4.228e-06 4.228e-06 0.00% Castro::post_timestep() 5 4.114e-06 4.114e-06 4.114e-06 0.00% MLPoisson::prepareForSolve() 6 4.108e-06 4.108e-06 4.108e-06 0.00% Castro::computeNewDt() 5 3.697e-06 3.697e-06 3.697e-06 0.00% MLMG::getGradSolution() 6 3.011e-06 3.011e-06 3.011e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 2.837e-06 2.837e-06 2.837e-06 0.00% Castro::expand_state() 5 2.708e-06 2.708e-06 2.708e-06 0.00% MLMG::MLResNormInf() 6 2.647e-06 2.647e-06 2.647e-06 0.00% MLMG::MLRhsNormInf() 6 2.483e-06 2.483e-06 2.483e-06 0.00% Castro::retry_advance_ctu() 5 2.097e-06 2.097e-06 2.097e-06 0.00% Gravity::set_mass_offset() 6 2.048e-06 2.048e-06 2.048e-06 0.00% Castro::FluxRegCrseInit 5 1.442e-06 1.442e-06 1.442e-06 0.00% Castro::FluxRegFineAdd() 5 1.339e-06 1.339e-06 1.339e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.173e-06 1.173e-06 1.173e-06 0.00% Amr::init() 1 1.059e-06 1.059e-06 1.059e-06 0.00% -------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- Name NCalls Incl. Min Incl. Avg Incl. Max Max % -------------------------------------------------------------------------------------------- main() 1 0.4207 0.4207 0.4207 100.00% Amr::coarseTimeStep() 5 0.3334 0.3334 0.3334 79.26% Amr::timeStep() 5 0.3312 0.3312 0.3312 78.73% Castro::advance() 5 0.3264 0.3264 0.3264 77.60% Castro::subcycle_advance_ctu() 5 0.3184 0.3184 0.3184 75.68% Castro::do_advance_ctu() 5 0.3183 0.3183 0.3183 75.67% Castro::construct_ctu_hydro_source() 5 0.1465 0.1465 0.1465 34.82% Castro::construct_new_gravity() 5 0.133 0.133 0.133 31.60% Gravity::solve_phi_with_mlmg() 6 0.1309 0.1309 0.1309 31.12% Gravity::solve_for_phi() 5 0.1254 0.1254 0.1254 29.80% Gravity::actual_solve_with_mlmg() 6 0.1252 0.1252 0.1252 29.76% MLMG::solve() 6 0.1133 0.1133 0.1133 26.93% MLMG::oneIter() 36 0.1059 0.1059 0.1059 25.17% MLMG::mgVcycle() 36 0.1043 0.1043 0.1043 24.80% MLCellLinOp::smooth() 720 0.05063 0.05063 0.05063 12.04% Amr::init() 1 0.05003 0.05003 0.05003 11.89% Amr::restart() 1 0.05003 0.05003 0.05003 11.89% MLCellLinOp::applyBC() 1946 0.04738 0.04738 0.04738 11.26% AmrLevel::restart() 1 0.03896 0.03896 0.03896 9.26% StateData::restartDoit() 4 0.03889 0.03889 0.03889 9.24% VisMF::Read() 3 0.03862 0.03862 0.03862 9.18% Amr::writePlotFile() 1 0.0365 0.0365 0.0365 8.68% MLMG::mgVcycle_bottom 36 0.03279 0.03279 0.03279 7.80% MLMG::actualBottomSolve() 36 0.03277 0.03277 0.03277 7.79% MLCGSolver::bicgstab 36 0.03246 0.03246 0.03246 7.72% VisMF::Write(FabArray) 1 0.02831 0.02831 0.02831 6.73% Castro::clean_state() 30 0.02828 0.02828 0.02828 6.72% AmrLevel::FillPatch() 20 0.02227 0.02227 0.02227 5.29% FillPatchIterator::Initialize 20 0.02018 0.02018 0.02018 4.80% FillPatchIterator::FillFromLevel0() 20 0.01939 0.01939 0.01939 4.61% FillPatchSingleLevel 20 0.01937 0.01937 0.01937 4.60% StateDataPhysBCFunct::() 20 0.01732 0.01732 0.01732 4.12% MLCellLinOp::apply() 500 0.01608 0.01608 0.01608 3.82% MLMG::mgVcycle_down::0 36 0.0145 0.0145 0.0145 3.45% MLPoisson::Fsmooth() 1440 0.01431 0.01431 0.01431 3.40% FabArray::FillBoundary() 1766 0.0135 0.0135 0.0135 3.21% StateData::FillBoundary(geom) 160 0.01315 0.01315 0.01315 3.13% FillBoundary_nowait() 1766 0.01313 0.01313 0.01313 3.12% Castro::initialize_do_advance() 5 0.01148 0.01148 0.01148 2.73% Castro::normalize_species() 30 0.01099 0.01099 0.01099 2.61% MLMG::mgVcycle_up::0 36 0.01089 0.01089 0.01089 2.59% Castro::computeTemp() 30 0.01042 0.01042 0.01042 2.48% Castro::do_old_sources() 5 0.009719 0.009719 0.009719 2.31% MLCellLinOp::correctionResidual() 216 0.009666 0.009666 0.009666 2.30% MLPoisson::define() 6 0.009398 0.009398 0.009398 2.23% amrex::Dot() 484 0.009031 0.009031 0.009031 2.15% MLMG:computeResOfCorrection() 180 0.008503 0.008503 0.008503 2.02% Castro::construct_old_gravity() 5 0.007833 0.007833 0.007833 1.86% Gravity::get_old_grav_vector() 5 0.007826 0.007826 0.007826 1.86% Castro::initialize_advance() 5 0.007687 0.007687 0.007687 1.83% Castro::do_new_sources() 5 0.007672 0.007672 0.007672 1.82% Gravity::get_new_grav_vector() 5 0.007452 0.007452 0.007452 1.77% amrex::Copy() 463 0.007269 0.007269 0.007269 1.73% MLMG::mgVcycle_down::1 36 0.007077 0.007077 0.007077 1.68% FabArray::ParallelCopy() 380 0.006637 0.006637 0.006637 1.58% FabArray::setVal() 537 0.006553 0.006553 0.006553 1.56% FabArray::ParallelCopy_nowait() 380 0.00652 0.00652 0.00652 1.55% MLMG::mgVcycle_down::2 36 0.006472 0.006472 0.006472 1.54% FabArray::norminf() 326 0.006443 0.006443 0.006443 1.53% MLCellLinOp::defineAuxData() 6 0.006418 0.006418 0.006418 1.53% MLMG::mgVcycle_down::3 36 0.006296 0.006296 0.006296 1.50% MLMG::mgVcycle_down::4 36 0.006242 0.006242 0.006242 1.48% Castro::post_restart() 1 0.006159 0.006159 0.006159 1.46% Castro::enforce_min_density() 30 0.005881 0.005881 0.005881 1.40% Gravity::multilevel_solve_for_new_phi() 1 0.005791 0.005791 0.005791 1.38% Gravity::actual_multilevel_solve() 1 0.005774 0.005774 0.005774 1.37% Castro::expand_state() 5 0.005609 0.005609 0.005609 1.33% Gravity::fill_multipole_BCs() 6 0.005592 0.005592 0.005592 1.33% MLCGSolver::ParallelAllReduce 659 0.005469 0.005469 0.005469 1.30% MLMG::addInterpCorrection() 180 0.005399 0.005399 0.005399 1.28% MLMG::mgVcycle_up::4 36 0.005103 0.005103 0.005103 1.21% MLMG::mgVcycle_up::1 36 0.005049 0.005049 0.005049 1.20% amrex::average_down 180 0.005028 0.005028 0.005028 1.20% MLMG::mgVcycle_up::2 36 0.004964 0.004964 0.004964 1.18% MLMG::mgVcycle_up::3 36 0.004854 0.004854 0.004854 1.15% Castro::post_timestep() 5 0.00469 0.00469 0.00469 1.11% MLPoisson::Fapply() 500 0.004605 0.004605 0.004605 1.09% FabArray::Saxpy() 355 0.003785 0.003785 0.003785 0.90% Castro::estTimeStep() 10 0.003665 0.003665 0.003665 0.87% FabArray::Xpay() 361 0.0036 0.0036 0.0036 0.86% MLCellLinOp::solutionResidual() 42 0.003462 0.003462 0.003462 0.82% Castro::reset_internal_energy(MultiFab) 30 0.00305 0.00305 0.00305 0.72% MLCellLinOp::defineBC() 6 0.002818 0.002818 0.002818 0.67% MLMG::prepareForSolve() 6 0.002774 0.002774 0.002774 0.66% MLMG::computeResidual() 36 0.002708 0.002708 0.002708 0.64% BndryData::define() 6 0.002699 0.002699 0.002699 0.64% FabArray::LinComb() 242 0.002288 0.002288 0.002288 0.54% Castro::computeNewDt() 5 0.002026 0.002026 0.002026 0.48% amrex::Add() 72 0.001911 0.001911 0.001911 0.45% Castro::construct_new_source() 25 0.001823 0.001823 0.001823 0.43% Castro::construct_new_gravity_source() 5 0.001713 0.001713 0.001713 0.41% Castro::finalize_do_advance() 5 0.001705 0.001705 0.001705 0.41% Castro::construct_old_source() 25 0.001562 0.001562 0.001562 0.37% Castro::construct_old_gravity_source() 5 0.00151 0.00151 0.00151 0.36% MLMG::ResNormInf() 42 0.0009892 0.0009892 0.0009892 0.24% Castro::reset_internal_energy(Fab) 240 0.0009635 0.0009635 0.0009635 0.23% Castro::apply_source_to_state() 10 0.0009629 0.0009629 0.0009629 0.23% FabArray::setVal(val, thecmd, scomp, ncomp) 252 0.0009566 0.0009566 0.0009566 0.23% Castro::enforce_speed_limit() 30 0.0009491 0.0009491 0.0009491 0.23% check_for_negative_density() 5 0.000909 0.000909 0.000909 0.22% MLMG::getGradSolution() 6 0.0008663 0.0008663 0.0008663 0.21% MLCellLinOp::compGrad() 6 0.0008633 0.0008633 0.0008633 0.21% MLCellLinOp::setLevelBC() 6 0.0008137 0.0008137 0.0008137 0.19% FabArrayBase::getCPC() 632 0.0008125 0.0008125 0.0008125 0.19% MLMG::computeMLResidual() 6 0.0007716 0.0007716 0.0007716 0.18% MLPoisson::prepareForSolve() 6 0.000728 0.000728 0.000728 0.17% MLCellLinOp::prepareForSolve() 6 0.0007239 0.0007239 0.0007239 0.17% Gravity::update_max_rhs() 6 0.0007065 0.0007065 0.0007065 0.17% FabArray::setDomainBndry() 20 0.0006849 0.0006849 0.0006849 0.16% FabArray::mult() 22 0.0006811 0.0006811 0.0006811 0.16% Castro::check_for_nan() 10 0.0006603 0.0006603 0.0006603 0.16% MultiFab::contains_nan() 10 0.0006539 0.0006539 0.0006539 0.16% FabArrayBase::CPC::define() 244 0.0004337 0.0004337 0.0004337 0.10% Amr::InitAmr() 1 0.0004227 0.0004227 0.0004227 0.10% FabArrayBase::getFB() 1766 0.0003302 0.0003302 0.0003302 0.08% Castro::finalize_advance() 5 0.0003 0.0003 0.0003 0.07% Gravity::swapTimeLevels() 5 0.0002312 0.0002312 0.0002312 0.05% MultiFab::max() 6 0.0002031 0.0002031 0.0002031 0.05% MLMG::MLResNormInf() 6 0.0001875 0.0001875 0.0001875 0.04% Castro::buildMetrics() 1 0.0001497 0.0001497 0.0001497 0.04% MLLinOp::define() 6 0.0001489 0.0001489 0.0001489 0.04% MLLinOp::defineGrids() 6 0.0001389 0.0001389 0.0001389 0.03% MLMG::MLRhsNormInf() 6 0.0001187 0.0001187 0.0001187 0.03% Castro::create_source_corrector() 5 8.111e-05 8.111e-05 8.111e-05 0.02% FabArrayBase::FB::FB() 26 6.018e-05 6.018e-05 6.018e-05 0.01% MLLinOp::makeAgglomeratedDMap 6 2.964e-05 2.964e-05 2.964e-05 0.01% Amr::writeSmallPlotFile() 1 2.952e-05 2.952e-05 2.952e-05 0.01% Castro::swap_state_time_levels() 5 2.433e-05 2.433e-05 2.433e-05 0.01% Castro::initMFs() 1 2.4e-05 2.4e-05 2.4e-05 0.01% makeSFC 30 2.232e-05 2.232e-05 2.232e-05 0.01% DistributionMapping::Distribute() 31 1.028e-05 1.028e-05 1.028e-05 0.00% Amr::initSubcycle() 1 8.909e-06 8.909e-06 8.909e-06 0.00% DistributionMapping::SFCProcessorMapDoIt() 1 4.181e-06 4.181e-06 4.181e-06 0.00% Castro::retry_advance_ctu() 5 2.097e-06 2.097e-06 2.097e-06 0.00% Gravity::set_mass_offset() 6 2.048e-06 2.048e-06 2.048e-06 0.00% Castro::FluxRegCrseInit 5 1.442e-06 1.442e-06 1.442e-06 0.00% Castro::FluxRegFineAdd() 5 1.339e-06 1.339e-06 1.339e-06 0.00% MLLinOp::makeSubCommunicator() 6 1.173e-06 1.173e-06 1.173e-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 196 MiB 9042 MiB Castro::construct_ctu_hydro_source() 1440 1440 147 MiB 692 MiB Castro::initMFs() 48 48 60 MiB 68 MiB Castro::swap_state_time_levels() 32 32 48 MiB 55 MiB StateData::restartDoit() 32 32 53 MiB 55 MiB FillPatchIterator::Initialize 160 160 1040 KiB 39 MiB Castro::initialize_do_advance() 40 40 29 MiB 39 MiB ResizeRandomSeed 1 1 30 MiB 30 MiB Amr::writePlotFile() 8 8 1990 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 6778 KiB 14 MiB MLMG::prepareForSolve() 361 361 3305 KiB 12 MiB Gravity::get_old_grav_vector() 43 43 192 KiB 10 MiB Gravity::get_new_grav_vector() 40 40 181 KiB 10 MiB Gravity::multilevel_solve_for_new_phi() 24 24 6765 KiB 7586 KiB Gravity::fill_multipole_BCs() 84 84 22 KiB 2053 KiB Gravity::update_max_rhs() 48 48 3336 B 2048 KiB Gravity::solve_for_phi() 40 40 609 KiB 2048 KiB Gravity::actual_multilevel_solve() 8 8 28 KiB 2048 KiB BndryData::define() 576 576 304 KiB 1095 KiB MLCellLinOp::defineAuxData() 936 936 195 KiB 671 KiB Castro::estTimeStep() 10 10 4174 B 480 KiB VisMF::Write(FabArray) 112 112 1311 B 320 KiB Castro::normalize_species() 30 30 8511 B 320 KiB amrex::average_down 469 469 1172 B 257 KiB MLMG::addInterpCorrection() 468 468 1086 B 257 KiB amrex::Dot() 592 592 3158 B 160 KiB FabArray::norminf() 398 398 2261 B 160 KiB check_for_negative_density() 5 5 344 B 160 KiB MultiFab::max() 6 6 75 B 160 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MultiFab::contains_nan() 10 10 31 B 20 KiB MLPoisson::Fsmooth() 60 60 3205 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 3892 3892 209 B 9344 B amrex::Copy() 56 56 5915 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B StateData::FillBoundary(geom) 960 960 36 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 1 B 1616 B MLCGSolver::bicgstab 324 324 112 B 1472 B MLCellLinOp::defineBC() 36 36 342 B 1248 B ------------------------------------------------------------------------------ Managed Memory Usage: ------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------ The_Managed_Arena::Initialize() 1 1 1147 B 8192 KiB ------------------------------------------------------------------ Pinned Memory Usage: ------------------------------------------------------------------------------ Name Nalloc Nfree AvgMem MaxMem ------------------------------------------------------------------------------ The_Pinned_Arena::Initialize() 1 1 84 KiB 8192 KiB VisMF::Write(FabArray) 120 120 194 KiB 3584 KiB VisMF::Read() 24 24 177 KiB 3000 KiB FabArray::setVal() 66 66 18 KiB 23 KiB MLPoisson::Fsmooth() 60 60 3205 B 12 KiB FabArray::ParallelCopy_nowait() 380 380 46 B 10 KiB FillBoundary_nowait() 336 336 264 B 9648 B MLCellLinOp::applyBC() 1946 1946 208 B 9328 B amrex::Copy() 56 56 5915 B 8464 B MLCellLinOp::prepareForSolve() 36 36 4 B 7792 B Gravity::get_old_grav_vector() 3 3 2654 B 3072 B Gravity::fill_multipole_BCs() 18 18 4 B 2832 B StateData::FillBoundary(geom) 960 960 37 B 2592 B FabArray::setVal(val, thecmd, scomp, ncomp) 72 72 2 B 1616 B MLMG::prepareForSolve() 7 7 515 B 1296 B amrex::average_down 37 37 222 B 1296 B MLMG::addInterpCorrection() 36 36 2 B 1024 B MLCellLinOp::setLevelBC() 36 36 0 B 768 B amrex::Dot() 592 592 23 B 400 B FabArray::norminf() 398 398 16 B 272 B Castro::estTimeStep() 10 10 0 B 32 B check_for_negative_density() 5 5 0 B 16 B MultiFab::max() 6 6 0 B 16 B MultiFab::contains_nan() 10 10 0 B 16 B Castro::normalize_species() 30 30 0 B 16 B ------------------------------------------------------------------------------ Total GPU global memory (MB): 12056 Free GPU global memory (MB): 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-17-g48b3ec7cb7ad) finalized