Hi I am using the attached code to convert a matrix from a rather inefficient ascii format (each line is a row and contains a series of idx:val pairs) to the PETSc binary format. Some of the matrices that I am working with are rather huge (50GB ascii file) and cannot be assembled on a single processor. When I use the attached code the matrix assembly across machines seems to be fairly fast. However, dumping the assembled matrix out to disk seems to be painfully slow. Any suggestions on how to speed things up will be deeply appreciated.
vishy -------------- next part -------------- A non-text attachment was scrubbed... Name: libsvm-to-binary.cpp Type: application/octet-stream Size: 15762 bytes Desc: not available URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110421/6a12badf/attachment-0001.obj>
