Closed oliviaellis65 closed 1 month ago
Hi @oliviaellis65, thanks for your question. It looks like there was a build error on ARM computers that we hadn't previously noticed.
The good news is that there's an upcoming change in #131 that will fix this problem as a side effect of making some other performance improvements. That will probably be merged into the main branch within a week or two, but in the mean time you can install a version that will fix your problem with remotes::install_github("bnprks/BPCells/r", ref="bp/bitpacking-perf")
Thank you so much! That fix worked for me. Unrelated question-- do you happen to know how much RAM is required to install BPCells with g++ 11.3? I'm downloading BPCells on a VM and want to use the least amount of RAM as possible, so if you happen to know this spec, that would be very helpful.
Glad that worked for you! And again, it should be fixed in the main branch soon so keep an eye out for #131 to be merged so you can remove the workaround.
In a brief test I saw g++ 13.2.0 use up to about 1.8 GB of RAM while compiling (though you can also set MAKEFLAGS=--jobs=4
or something to 4x the memory usage but also speed up compilation by 4x). So I'd say 2 GB of RAM has a decent chance of working, though you could boost to e.g. 4 GB for safety
Hi! I'm getting a weird error when I try to install BPCells inside of a docker container:
My flags for building were:
I don't get the error when installing BPCells locally. My docker machine has 16GB RAM and 2 CPUs, and I am using g++ 11.4.0.