Dear George Ostrouchov,I am using your package R-pbd (PBDDmat in this case) to distributed a matrix of about 9.68 GB with 2302607280 elements. Then, I had error in allocating memory when I try to distribute that matrix to apply colSums function on that.Here are my codes:library(pbdDMAT,quiet = T)pr <- 2 # rowpc <- 2 # columninit.grid (NPROW = pr, NPCOL = pc)M <- readRDS("../../datal/pfizer_vs_hs_9_9_metahit_raw_smart_shared_reads_rounded.rda")sM <- as.matrix(M)dM <- distribute(sM, bldim = c(256,256))rs <- colSums(dM)comm.print(rs)finalize()and implemented on our server of 10 cores with 128 GB RAM running on CentOS 6.7I posted on R-pbd google group with no answer and I've already read the post "problem with distributing a 50kx50k matrix" but I really did not get main idea of that post.So, could you show me more details how to distributed such a huge matrix like that with R-pbd package?Thanks in advanced,Best regards,MinhDQ--------------------------------------------------------------
Msc Dao Quang Minh (Mr.)
---------------Contact Imformation------------------
- Mobile: +84 9 04 32 47 27 | +84 9 36 03 02 86
- Home phone: +84 4 38 43 10 70
- Office phone: +84 4 38 68 23 55- France phone: +33 6 52 90 35 22
- Website: http://hpcc.hust.edu.vn/~minhdq
- Email: minh.d...@hust.edu.vn
--------------------------------------------------------------
xxmr2d:out of memory
Error in base.rpdgemr2d(x = dx@Data, descx = descx, descy = descy) :
exit mr2d_malloc
Calls: distribute -> dmat.reblock -> base.rpdgemr2d