1. 21 Nov, 2021 4 commits
  2. 19 Nov, 2021 9 commits
  3. 18 Nov, 2021 20 commits
  4. 17 Nov, 2021 3 commits
  5. 16 Nov, 2021 4 commits
    • Goran Jelic-Cizmek's avatar
      Fixed some pylint warnings in pytests · d4cf158b
      Goran Jelic-Cizmek authored
      d4cf158b
    • Goran Jelic-Cizmek's avatar
      448f850b
    • Goran Jelic-Cizmek's avatar
      Added `integration_sampling` property · bf8add0e
      Goran Jelic-Cizmek authored
      bf8add0e
    • Goran Jelic-Cizmek's avatar
      Removed Cuba parallellization in interface · 339524b3
      Goran Jelic-Cizmek authored
      Leaving in the paralellization causes the code to hand when running the OpenMP
      loops, so that one has to be disabled then.  Running some tests, it seems the
      parallel multidimensional sampling is actually slower than just using OpenMP,
      so it'd be ideal to disable Cuba paralellization, which is what this commit
      achieves by just setting the `CUBACORES` environmental variable to 0, which
      works.
      Strangely enough, if I directly call `cubacores` from the C code, and set
      `CUBACORES` to 0, which should have the same effect, it crashes the Cython code
      with a very strange error:
      
      python3.7: ./src/common/Fork.c:100: cubafork: Assertion `socketpair(AF_LOCAL,
      SOCK_STREAM, 0, fd) != -1 && (pid = fork()) != -1' failed.
      
      I've tried experimenting with the Cython `nogil` option, but to no avail, so
      this is more of a hack than anything (that works!).
      339524b3