Just posting an alternative to disabling epsilon.h5 output: adding a
filename prefix based on parameters:

You can change the name by setting the "filename-prefix"
variable.
ex:
(set! filename-prefix "fromH5-mesh_size_3-")

Then you can build filename prefixes based on parameters using
"string-append" and "number->string":
(define a 42)
(set! filename-prefix (string-append "foo" (number->string a)))


On 04/10/13 17:48, Mike Taverne wrote:
> Hi,
> 
> I'm running an MPB script multiple times in parallel, using different
> parameters, but always outputting in the same common directory (writing
> results to separate files).
> This means a single epsilon.h5 file gets written to by multiple jobs.
> 
> It seems to work fine so far, except for a few crashes, which I now
> attribute to this simultaneous writing.
> 
> Do MPB runs still use the epsilon.h5 file once it has been written or
> not? i.e. could one job affect the results of another one due to
> changing the epsilon.h5 file?
> 
> Otherwise, is there a way to disable the epsilon.h5 output or specify a
> different filename/directory?
> 
> Regards,
> Mike
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mpb-discuss mailing list
mpb-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to