Open tagordon opened 3 years ago
I think this is the same issue as https://github.com/exoplanet-dev/celerite2/issues/3 and the problem is that the compilation uses an unreasonable amount of memory because of how it's handling fixed size matrices.
A temporary fix would probably be to replace lines 27-107 in python/celerite2/driver.hpp with something like:
#define UNWRAP_CASES_FEW \
switch (J) { \
case 1: FIXED_SIZE_MAP(1); break; \
case 2: FIXED_SIZE_MAP(2); break; \
default: FIXED_SIZE_MAP(Eigen::Dynamic); \
}
#define UNWRAP_CASES UNWRAP_CASES_FEW
#define UNWRAP_CASES_MOST UNWRAP_CASES_FEW
I have plans for better fixes but I have plans for lots of things…
So, making that substitution didn't seem to change anything but I was able to install it by increasing my memory allocation on the cluster, which must mean that you diagnosed the problem correctly. Thanks!
Bizarre that that isn't the source of the problem though… Thanks for the update!
Hi,
I'm trying to install from source following the directions here. The reason I'm installing from source rather than the pre-compiled binaries is that I'm hoping to try out the Kronecker functionality. It works fine on my mac, but when I try to install on the cluster I get the error:
This happens regardless of whether I'm install from the kron branch or not. Any help is appreciated!
Thanks, Tyler