Closed SergeiDBykov closed 3 years ago
Ok, I was just being stupid.
Turns out that the code just calculated DR quite some time. And I thought that it has stuck.
This is because for the message like
In gridlink_mocks_double> Running with [nmesh_x, nmesh_y, nmesh_z] = 8,15,4. Time taken = 0.008 sec
Using AVX kernel
0%.........10%.........20%.........30%.........40%.........50%.........60%.........70%.........80%.........90%.........100% done. Time taken = 0.745 secs
appears only during the first calculation of pairs (when I set verbose = True). The next calling of function does not produce such message, and I though there were problems.
Thanks!
Hi.
===RESOLVED, SEE BELOW ===
I am trying to use Corrfunc on MacOSX 10.15.7 Catalina. I follow the instructions from readme, but modify
common.mk
before compilation as proposed in #172, using clang from anacondaCC=/Users/sdbykov/opt/anaconda3/envs/venv_science/bin/clang
. Everything seems nice, the tests (make tests
) are passed.However there are problems in python. I try example pair counting and it worked fine.
Then I tried this example with pair counting, that's where problems appeared. I run this script, and see this: , after that nothing happens. Kernel is still 'busy'. Interupting the kernel leads for RunTimeError: .
Calling
DDrppi_mocks
separately calculates something but still causes RuntimeError:I also tried using the simple conda installation, the results seem to be the same. As well as pip installation with using appropriate CC (but without compiling).
Any ideas? Thank you.