Re: [Libmesh-devel] [Libmesh-users] System::read_serialized_data performance

2012-10-07 Thread Kirk, Benjamin (JSC-EG311)
The file format os secondary at this point - Xdr is already there and gets you platform independent binary files, (as does netcdf for that matter). HDF5 can do the same, and there are other good reasons to support linking to it, but I don't want to get the cart before the horse... Probably the

Re: [Libmesh-devel] [Libmesh-users] System::read_serialized_data performance

2012-10-07 Thread David Knezevic
On 10/07/2012 09:05 AM, Kirk, Benjamin (JSC-EG311) wrote: > The file format os secondary at this point - Xdr is already there and gets > you platform independent binary files, (as does netcdf for that matter). HDF5 > can do the same, and there are other good reasons to support linking to it, >

Re: [Libmesh-devel] [Libmesh-users] System::read_serialized_data performance

2012-10-07 Thread Kirk, Benjamin (JSC-EG311)
Well if they truly have the same size it should be really easy - Ill have some time on a flight Tuesday if you want me to take a shot at it. -Ben On Oct 7, 2012, at 8:11 AM, "David Knezevic" wrote: > > On 10/07/2012 09:05 AM, Kirk, Benjamin (JSC-EG311) wrote: >> The file format os secondar

Re: [Libmesh-devel] [Libmesh-users] System::read_serialized_data performance

2012-10-07 Thread David Knezevic
That'd be awesome, thanks! On 10/07/2012 09:35 AM, Kirk, Benjamin (JSC-EG311) wrote: > Well if they truly have the same size it should be really easy - Ill have > some time on a flight Tuesday if you want me to take a shot at it. > > -Ben > > > > On Oct 7, 2012, at 8:11 AM, "David Knezevic" >

Re: [Libmesh-devel] [Libmesh-users] System::read_serialized_data performance

2012-10-07 Thread Kirk, Benjamin (JSC-EG311)
Just a couple other questions: (1) th coefficients are distributed in the parallel case, right? So they do need to be gathered for serialization? If this is the case and they are all distributed then it'll be easy to reduce the number of mpi calls from nproc*nvec to just nproc, already a huge

Re: [Libmesh-devel] [Libmesh-users] System::read_serialized_data performance

2012-10-07 Thread David Knezevic
On 10/07/2012 10:38 AM, Kirk, Benjamin (JSC-EG311) wrote: > Just a couple other questions: > > (1) th coefficients are distributed in the parallel case, right? So they do > need to be gathered for serialization? Yeah, we just get the coefficients by doing a solve and then copying from system.s

Re: [Libmesh-devel] [Libmesh-users] System::read_serialized_data performance

2012-10-07 Thread Roy Stogner
On Sun, 7 Oct 2012, Kirk, Benjamin (JSC-EG311) wrote: > Well if they truly have the same size it should be really easy Yeah, no kidding - if there's no complicated metadata and no likelihood of format changes then forget what I said about HDF5, reading and writing a bunch of identical vectors to