Closed dforero0896 closed 1 year ago
Do you have the before.npy
and after.npy
files to share?
I don´t see either where bin_edges
is defined.
Hi! thanks for the quick answer. I knew I forgot something. I've added the definition of bin_edges
. As for the files, they are quite big. But since the issue seems quite specific to the data I wouldn't know how to change them. I am downloading them and will upload somewhere ASAP.
Here you may find the data https://drive.google.com/drive/folders/14zU_YqpMIthmFba3GvIGx-PayKmmq6cW?usp=sharing
Can you check which version of CellListMap are you using ? (or perhaps just dump a julia> st
output). Just to anticipate some possible questions.
Here
Status `~/projects/desi-patchy/Project.toml`
[69e1c6dd] CellListMap v0.8.22
[b37e267f] CosmoCorr v0.1.0 `https://github.com/dforero0896/CosmoCorr.jl.git#main`
[a93c6f00] DataFrames v1.6.1
[31c24e10] Distributions v0.25.100
[525bcba6] FITSIO v0.17.1
[f6369f11] ForwardDiff v0.10.36
[bdcacae8] LoopVectorization v0.12.165
[15e1cf62] NPZ v0.4.3
[91a5bcdd] Plots v1.38.17
[37e2e3b7] ReverseDiff v1.15.1
[90137ffa] StaticArrays v1.6.2
[2913bbd2] StatsBase v0.34.0
[e88e6eb3] Zygote v0.6.63
I can reproduce the issue.
I think I found the reason. Doing a histogram of the positions it looks like most of them are 0, which is not expected. This would mean there would just be too many pairs.
Yes, exactly, that's the issue:
(i, cellᵢ.n_particles) = (1, 2579779)
That's the number of particles in the first cell. I don´t think there is any issue specifically besides that.
Thanks a lot!
Hi, I've been using CellListMap to compute some quick two-point functions (2pf). At first it seemed to work well but after some processing of my data, trying to recompute the 2pf hangs at about 70% eternally (apparently, at least more than one night). This is odd since before the processing, for the same number of points the 2pf calculation takes about 3s. After I Ctrl+C the calculation, it seems all Julia is stuck since everything is stuck until I relaunch the REPL. Here I add the relevant parts of my code:
output:
I've checked there is no NaN or infinities in the after array. I've also removed threads and it didn't even show the progress bar. When sending Ctrl+C nothing happened until I had to kill the whole process so no traceback there.
Thanks in advance for your help!