MCDC icon indicating copy to clipboard operation
MCDC copied to clipboard

Update geometry

Open ilhamv opened this issue 1 year ago • 1 comments

  • Implement universe cell
  • Reimplement the continuously moving surface. Verified on moving planar surfaces. Need verification for quadratic surfaces (next PR).
    • The user interface changes: see C5G7-TDX in examples and moving pellet test in test/regression interface (next PR will update the docs)
    • The new implementation supports moving quadric surfaces too (still need verification).
  • Major refactoring on geometry-related functions.
  • Temporarily remove caching. The current Numba caching mechanics does not work with the refactoring of kernel functions into submodules. We had a plan to reimplement more robust caching mechanics. So, rather than trying to fix the caching mechanics that were soon to be replaced, we removed the caching option altogether and will work on the plan in the next PR.

ilhamv avatar Oct 04 '24 08:10 ilhamv

The iQMC Numba tests failed... But they passed on my local machine... Can you please check if they pass on your end, @clemekay? Thanks!

ilhamv avatar Oct 12 '24 01:10 ilhamv

I cloned your update-geometry branch on Dane, created a fresh MC/DC install from it, checked out an interactive node, and executed python run.py --mode=numba from MCDC/test/regression/. The four iqmc tests that failed on github (iqmc_cooper2, iqmc_kornreich_pi, iqmc_reed, and iqmc_sood_pi) also failed for me with a Segmentation fault.

Interestingly, I originally accidentally ran the tests before executing bash patch_numba.sh and test iqmc_sood_pi passed, but it failed after patching numba. This is my pip list, do all of these versions match what you've got locally?

Screenshot 2024-10-14 at 12 06 19 PM

clemekay avatar Oct 14 '24 19:10 clemekay

The recent merge of dev has the planned caching capabilities per #250.

ilhamv avatar Nov 05 '24 19:11 ilhamv

Looks like loosening the coincidence tolerance from 1E-12 to 1E-10 causes inf_shem361_td to fail.

ilhamv avatar Nov 10 '24 22:11 ilhamv

I just reran the test, and the failing MPI-Python test went away...

ilhamv avatar Nov 13 '24 02:11 ilhamv

Merging it now as discussed in the dev meeting on 11/12/2024.

ilhamv avatar Nov 13 '24 02:11 ilhamv