Print

Print


Sorry, this isn't specifically a Fortran question, but I know if
I ask it here I'm much more likely to get helpful responses :-)

I have an extremely expensive calculation whose results I can write
to disk and use repeatedly as long as the 'data' the results are
calculated from doesn't change.  Knowing whether the 'data' matches
the cached results on disk is the problem.  I had thought one could
compute something like the md5 checksum of the data (these would be
Fortran arrays, not a disk file) and include it with the cached
results.  Then all I need to do the compare md5 checksums.  Is this
a reasonable plan?  Is there something better?  What about a free
fortran implementation of md5 checksums?

Thanks!
--
Neil Carlson <[log in to unmask]>